Hi,

What exactly is the command to recover a raid array after system crash? I
created a raid5 array with 3 disks.  After system crash, one disk is out
of sync, so I tried the command

mdadm --assemble --run --force --update=resync /dev/md2 /dev/sbd3  /dev/sbd4 
/dev/sbd5

However, I still saw that raid array was started with 2 disks:
mdadm: /dev/md/2 has been started with 2 drives (out of 3).

cat /proc/mdstat still shows that /dev/sbd5 is inactive.
Personalities : [raid5]
md2 : active raid5 sbd3[0] sbd4[1]
      3968 blocks level 5, 64k chunk, algorithm 2 [3/2] [UU_]

If --update=resync isn't the right option to sync a raid array, what
command am I supposed to use?

Thanks a lot,
-Junfeng

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to