[CentOS] MD raid tools ... did i missed something?

Philip Reynolds philip.reynolds at gmail.com
Thu Aug 10 09:29:20 UTC 2006


On 8/10/06, "Petr \"Qaxi\" Klíma" <qaxi at 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-STORAGE-RAID-DAY2DAY
>   (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.



More information about the CentOS mailing list