Re: Rebuilding Raid 1

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



On Mon, 2006-05-01 at 23:18, Mace Eliason wrote:
> Personalities : [raid1]
> md1 : active raid1 sdb2[0]
>           2048192 blocks [2/1] [U_]
> md2:  active raid1 sdb3[0]
>           15623104 blocks [2/1] [U_]
> md0:  active raid1 sda1[1]
>           104320 blocks [2/1] [_U]

That tells you that your raid devices were built with
2 partitions and now only have one active.  It shows
which member is active - note that they aren't all
on the same drive.  Assuming you have matching
partitions on the other drive (do an 'fdisk -l' to
make sure) and are sure the correct version is
running now:

mdadm --add /dev/md0 /dev/sdb1
mdadm --add /dev/md1 /dev/sda2
mdadm --add /dev/md2 /dev/sda3

'cat /proc/mdstat' will show the re-sync progress. Don't
reboot until the resync is complete and you see [UU] on
all devices.  When they have all completed, if you
reboot cleanly the md devices will come up with both
partitions active (but you don't have to reboot unless
you want to test it).

-- 
  Les Mikesell
   lesmikesell@xxxxxxxxx



[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