Re: software raid1 syncing

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



Steven Vishoot wrote:
> hello all,
> 
> I have a setup that is raid 1 and put the mirrored drive back in and now it is still showing as degraded saying: raid1: raid set md6 active with 1 out of 2 mirrors with this message on all the raids.i know i am wrong by saying this but i thought putting in the driving and rebooting would start the re syncing itself. what do i have to do to add this back in, i am so confused with this process.

A 'cat /proc/mdstat' will show which partitions are active in each md set.  Use 
'mdadm --add /dev/md_device /dev/partition_device'
to add back the missing partitions, being careful to match up the right device 
names for the raid sets and partitions.  This will start a sync with the newly 
added and you can watch the progress with 'cat /proc/mdstat'.  I'm not sure 
exactly what conditions trigger an automatic sync and what requires the manual 
one but if the system goes down cleanly they will pair up at reboot as long as 
the partition type is FD.

-- 
   Les Mikesell
    lesmikesell@xxxxxxxxx


_______________________________________________
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