Arthur Britto wrote:
Hi,
I have a RAID 5 with 6 components. The 4-port SATA controller died and
left the RAID in an inconsistent state. 2 of the 6 components have a
more recent event stamp than the others.
What command should I issue to re-assemble the RAID?
In particular, I don't want to force the RAID to be assembled with the
components in the wrong order. Especially as the order given
by /dev/sd?? does not match the component order.
Thanks in advance,
Might I suggest that you
- back up your mdadm.conf file
- replace the list of components in the ARRAY description with the UUID
of the array
- change configure to use PARTITIONS and try them all
- try the assemble with mdadm figuring out what goes where
Your chances of getting something drastically wrong are lower. You may
have to use --force to get the assembly, and should run fsck *with the
-n option* first to see what you have.
--
Bill Davidsen <davidsen@xxxxxxx>
"Woe unto the statesman who makes war without a reason that will still
be valid when the war is over..." Otto von Bismark
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html