On Saturday April 22, molle.bestefich@xxxxxxxxx wrote: > Jonathan wrote: > > # mdadm -C /dev/md0 -n 4 -l 5 missing /dev/etherd/e0.[023] > > I think you should have tried "mdadm --assemble --force" first, as I > proposed earlier. > > By doing the above, you have effectively replaced your version 0.9.0 > superblocks with version 0.9.2. I don't know if version 0.9.2 > superblocks are larger than 0.9.0, Neil hasn't responded to that yet. > Potentially hazardous, who knows. There is no difference in the superblock between 0.90.0 and 0.90.2. md has always used version numbers, but always in a confusing way. There should be two completely separate version numbers: the version for the format of the superblock, and the version for the software implementation. md confuses these two. To try to sort it out, I have decided that: - The 'major' version number is the overall choice of superblock This is currently 0 or 1 - The 'minor' version encodes minor variation in the superblock. For version 1, this is different locations (there are other bits in the superblock to allow new fields to be added) For version 0, it is currently only used to make sure old software doesn't try to assemble an array which is undergoing a shape, as that would confuse it totals. - The 'patchlevel' is used to indicate feature availability in the implementation. It really should be stored in the superblock, but it is for historical reasons. It is not checked when validating a superblock. To quote from md.h /* * MD_PATCHLEVEL_VERSION indicates kernel functionality. * >=1 means different superblock formats are selectable using SET_ARRAY_INFO * and major_version/minor_version accordingly * >=2 means that Internal bitmaps are supported by setting MD_SB_BITMAP_PRESENT * in the super status byte * >=3 means that bitmap superblock version 4 is supported, which uses * little-ending representation rather than host-endian */ Hope that helps. NeilBrown - 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