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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]





On Thu, 10 Aug 2006, Philip Reynolds wrote:

On 8/10/06, "Petr \"Qaxi\" Klíma" <qaxi@xxxxxxxxx> 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@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


-A is for assemble.

# mdadm -a /dev/md3 /dev/sdd1
mdadm: added /dev/sdd1
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux