RAID 1 ... everyime I reboot, /dev/md0 is broken...
Hello all :)
Just got done adding a 2nd harddisk to my server that already has a huge chunk of date on the first disk. The idea is to turn the two disks into a RADI 1 array. I started out by editing my /etc/raidtab file to configure a simple RAID1 device called /dev/md0, mad up from /dev/hda and /dev/hdb. Next I ran mkraid /dev/md0 and that process took about an hour to finish. Then I checked with cat /proc/mdstat that my /dev/md0 was working, and it was. I also checked with fdisk -l /dev/hda and fdisk -l /dev/hdb that both devices apeared to have the same partition scheme, and they did. So, I assumed that my /dev/md0 is ready to use, but as soon as I rebooted the server, the RAID array didin't initialize and I saw a message during bootup, that somethin regarding RAID was skipped. Needless to say, as soon as the machine came up again, I ran cat /proc/mdstat only to see that there was no /dev/md0. My my question is: what must I do to have a RAID 1 array that will be available even after reboot? What am I missing? |
|
All times are GMT -5. The time now is 01:54 PM. |