Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Q: I've set up /etc/mdtab using mdcreate, I've mdadd'ed, mdrun and
fsck'ed my two /dev/mdX partitions. Everything looks okay before a
reboot. As soon as I reboot, I get an fsck error on both
partitions: fsck.ext2: Attempt to read block from filesystem
resulted in short read while trying too open /dev/md0. Why?! How
do I fix it?!
A: During the boot process, the RAID partitions must be
started before they can be fsck'ed. This must be done in
one of the boot scripts. For some distributions, fsck is
called from /etc/rc.d/rc.S, for others, it is called from
/etc/rc.d/rc.sysinit. Change this file to mdadd -ar *before*
fsck -A is executed. Better yet, it is suggested that
ckraid be run if mdadd returns with an error. How do do
this is discussed in greater detail in question 14 of the
section ''Error Recovery''.
Those are the only references I have found regarding that error..