Tuesday, January 29, 2008

raid 1 loses a disk how to add back in

cat /proc/mdstat
Personalities : [raid1]
md6 : active raid1 sda1[1]
488383936 blocks [2/1] [_U]

unused devices:

what to do?
if can find the drive on line
(fdisk -l )
then do
mdadm /dev/md6 -r /dev/sdb1

mdadm /dev/md6 -a /dev/sdb1

to add back in and then monitor with
c
at /proc/mdstat2:/home/wustl# cat /proc/mdstat
Personalities : [raid1]
md6 : active raid1 sdb1[1] sda1[0]
488383936 blocks [2/1] [U_]
[>....................] recovery = 0.0% (279680/488383936) finish=145.4min speed=55936K/sec

unused devices:

No comments: