On 8/10/06, "Petr "Qaxi" KlĂma" qaxi@seznam.cz wrote:
Hi
I have a degraded array /dev/md2
$ mdadm -D /dev/md2
[...]
I need to add the 3rd partition, so I open documentation http://www.centos.org/docs/4/html/rhel-isa-en-4/s1-storage-rhlspec.html#S2-S... (I know the RTFM ;-)
[...]
How can I repair the MD device?
Hi Petr,
use mdadm to rebuild the device. raidtools isn't included in CentOS 4.x anymore.
raidhotadd /dev/mdX /dev/${partition}
should be equivalent to
mdadm -A /dev/mdX /dev/${partition}
http://www.devil-linux.org/documentation/1.0.x/ch01s05.html
Regards,
Phil.