Re: failed raid re-create changed dev size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 11 Dec 2012, Andris Berzins wrote:

I found on internet that this can be fixed if I re-create raid with the same configuration, but with dead drive set as 'missing'.

This is extremely dangerous. You would have been better off by first trying --assemble --force.

However, I can not mount md1 and looks like it contains random data. The order is correct. However, I noticed that new raid device size is different from old one.

Your data offset is different, most likely you're not using the same mdadm version as was initially used to create the raid. Mdadm defaults have changed over time regarding chink size, data offset and others.

I don't know off the top of my head how to change the mdadm data offset unfortunately.

--
Mikael Abrahamsson    email: swmike@xxxxxxxxx
--
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


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux