- Raja



On Tue, Apr 21, 2009 at 9:31 PM, Arun Khan <[email protected]> wrote:
> However, I don't see any resync between /dev/sdb3
> to /dev/sda3.  Instead, I see sda3[1](S)  what is the meaning of S
> against sda3?  A single U and the lack of a progress bar in mdstat
> indicates something is not quite right
....
> # cat /proc/mdstat
> Personalities : [raid1]
> md0 : active raid1 sdb3[0] sda3[1](S)
>      89827328 blocks [1/1] [U]
                       ^^^^^

You created a RAID1 disk set with a single device,
and therefore ended up adding sda3 as a spare disk
for md0.  S == spare.

Recreate md0 like this:
mdadm --create /dev/md0 -l 1 -n 2 /dev/sdb3 missing

This creates a RAID1 device with 2 disks, but it's created
in *degraded mode*.  Now when add sda3 later, md0
will resync as expected.

Ensure you have backed up your data before playing with
mdadm!!

- Raja
_______________________________________________
To unsubscribe, email [email protected] with
"unsubscribe <password> <address>"
in the subject or body of the message.
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to