[CentOS] Linux RAID

Aleksandar Milivojevic alex at milivojevic.org
Mon Mar 13 19:09:15 UTC 2006

Quoting Peter Kitchener <peter at registriesltd.com.au>:

> How does one fix an array that has come up as degraded?

Let say "cat /proc/mdstat" states /dev/sda1 in /dev/md0 is the one that 
failed.  You'd remove it from array with "mdadm /dev/md0 -r /dev/sda1". 
  After you replace failed drive and partition it, you'd use "mdadm 
/dev/md0 -a /dev/sda1" to add it back.  If you had more that one 
partittion on /dev/sda (belonging to different arrays), you'd repeat 
above mdadm commands for each of them.

See Ya' later, alligator!

This message was sent using IMP, the Internet Messaging Program.

More information about the CentOS mailing list