Bryan Phinney wrote:
On Tuesday 11 October 2005 04:40 pm, Guy Rouillier wrote:


However, when I reboot, I get a message that the superblock is
corrupted.  If I drop into repair mode and comment out the line in
/etc/fstab, I can boot.  Then I have to start the RAID creation all over
again.

What step am I missing?  I found a post just like this one in the
archives, but no solution was ever provided.  Thanks for any pointers.


My guess would be that going through the process of creating the raid setup with diskdrake is causing a kernel module to be loaded that, upon reboot, is no longer present in your setup. And that causes the raid device to fail at mount.

Bryan, thank your for the help, you identified the exact problem. raid5 and xor were loaded by DiskDrake, but were not present on reboot. I manually modprobe'd them, but could still not simply mount my RAID array. Instead, I had to use mdadm --assemble to recreate the array; all the files on the array were intact.

Finally, (and I realize you know this, I'm writing it so those who might search in the future can find the answer), I set up the following which allowed the array to come up automatically on reboot. I'm not sure both of these are necessary, but I wanted to play it safe:

(1) Add xor and raid5 to /etc/modules so they are loaded on reboot.
(2) Added a DEVICE and ARRAY lines to /etc/mdadm.conf describing the array. Per the man page for mdadm, "mdadm --detail --brief" will generate output suitable for adding to the mdadm.conf file.

--
Guy Rouillier

____________________________________________________
Want to buy your Pack or Services from Mandriva? 
Go to http://store.mandriva.com
Join the Club : http://www.mandrivaclub.com
____________________________________________________

Reply via email to