LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   RAID 1 ... everyime I reboot, /dev/md0 is broken... (https://www.linuxquestions.org/questions/red-hat-31/raid-1-everyime-i-reboot-dev-md0-is-broken-246898/)

rrohde 10-24-2004 07:58 PM

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?

trickykid 10-26-2004 02:03 PM

Try following the steps in this howto:

http://www.tldp.org/HOWTO/Software-R...O-5.html#ss5.1


All times are GMT -5. The time now is 01:54 PM.