Missing /proc/mdstat

Guillaume Yziquel guillaume.yziquel at bluebottle.com
Sun Jan 6 06:58:11 UTC 2008


Hello, list.

I had an email, tonight, from a cron job. Cron launched the following:

[ -x /usr/share/mdadm/checkarray ] && [ $(date
+%d) -le 7 ] && /usr/share/mdadm/checkarray --cron --all --quiet

which reported:

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

It happens to be that I do not have the /proc/mdstat file on my system.
Moreover, the wiki[1] says:

> If your system has RAID support, you should have a file called /proc/mdstat. Remember it, that file is your friend. If you do not have that file, maybe your kernel does not have RAID support.

I'd therefore like to understand this in more detail, and I'd like to
know if I should be having this /proc/mdstat file or not on my system.

Wishing you all the best,
Guillaume.


[1] http://linux-raid.osdl.org/index.php/RAID_setup

----------------------------------------------------------------------
Get a free email account with anti spam protection.
http://www.bluebottle.com/tag/2




More information about the pkg-mdadm-devel mailing list