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

Thu Aug 10 13:03:31 UTC 2006
Justin Piszcz <jpiszcz at lucidpixels.com>


On Thu, 10 Aug 2006, Philip Reynolds wrote:

> 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.
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

-A is for assemble.

# mdadm -a /dev/md3 /dev/sdd1
mdadm: added /dev/sdd1