Re: Need help with my raid5
From: Roger Heflin <hidden>
Date: 2013-03-22 15:37:47
On Fri, Mar 22, 2013 at 7:53 AM, Mirko [off-list ref] wrote:
quoted
According to the above you removed device 3 not device 7....device 3 is missing...device 7 is still there and is a spare.Thats right.quoted
Put what you though was 7 backThis device no longer exists.
What do you mean no longer exists? If so, then you are likely restoring from backups as device 7 failed and device 3 was otherwise was removed and is now no longer viable. You may be able to do add a -f on the mdadm and force it online...typically it will force a previously declared missing/spare device to be re-evaluated and reused if it is good enough or failed for some reasons.
quoted
...note that properly determining which device is which is pretty difficult unless you have a commercial grade wired enclosure from a tier 1 vendor that is actually labeled and wired correctly (don't always count on that).I thought, every device has its fixed device number in the raid: mdadm -E /dev/sd[a-f]1 | grep Role Device Role : Active device 1 Device Role : Active device 5 Device Role : spare Device Role : Active device 0 Device Role : Active device 4 Device Role : Active device 2 -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html