On 07:01, NeilBrown wrote:
quoted
Wrong lesson. The correct lesson to gather from this is to prefer
version 1.1 or 1.2 superblocks wherever possible. Superblocks at the
beginning of the device disappear when there is no partition table,
superblocks at the end can be confused for superblocks belonging to
the whole device when there is no partition table.
1.0 also protects from this problem. The 1.x metadata stores the
offset of the superblock from the start of the device. That will appear
to be wrong if you find a partition-superblock when reading from a
whole-device, so mdadm will reject the device as not having a valid
superblock.
BTW: Why are new arrays still created with 0.90 metadata format by
default?
Andre
--
The only person who always got his work done by Friday was Robinson Crusoe