Re: Why does MD overwrite the superblock upon temporary disconnect?
From: Richard Scobie <hidden>
Date: 2010-09-21 03:34:54
From: Richard Scobie <hidden>
Date: 2010-09-21 03:34:54
Jim Schatzman wrote:
I have seen quite a number of people writing about what happens to their SATA RAID5 arrays when several drives get accidentally unplugged. Especially with port multipliers and external drive boxes with eSata cables, this can happen rather easily.
In this scenario, if you are using md UUIDs in your mdadm.conf, an "mdadm -A --force /dev/mdX", has worked fine for me on a number of occasions. Quoting the man page: "An array which requires --force to be started may contain data corruption. Use it carefully." Therefore a fsck is a good idea afterwards. Regards, Richard