cron job checkarray - checkarray: E: MD subsystem not loaded, or /proc unavailable.

  • Hi,

    Fresh installation of OMV on PI4, NO RAID whatsoever (2 USB3 external drives are mounted, shared, and everything works as expected).

    When monitoring is enabled, I get error messages from periodic cronjob.

    The job itself is:

    Code
    if [ -x /usr/share/mdadm/checkarray ] && [ $(date +%d) -le 7 ]; then /usr/share/mdadm/checkarray --cron --all --idle --quiet; fi

    error message is:

    Code
    checkarray: E: MD subsystem not loaded, or /proc unavailable.


    I wholeheartedly agree with the statement "MD subsystem not loaded", as there is no RAID in the system.


    Question -


    Monitoring system is for RAID only, and it doesn't make sense to activate it without RAID, or I should somehow configure it to skip checking RAID, or what ?

    10x

  • I have disabled the notification for "Software Raid", but I still get the notification

    "checkarray: E: MD subsystem not loaded, or /proc unavailable"

    once a month.



    Is there something else I have to do to disable this notification?

    • Offizieller Beitrag

    The notification is not from OMV but from Debian.


    If you are not using RAID move or delete the file


    /etc/cron.d/mdadm

  • If you are not using RAID move or delete the file


    /etc/cron.d/mdadm

    Will it be recreated if one does decide to use raid later? 🤔 could be one of those things one easily forgets about … well maybe rather rename it to .bak at least.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!