Skip to contentSkip to conversation

mdadm and superblock format > 1

DISCUSSION Michal Soltys 2 participants 2 messages Aug 7, 2007 MD RAID

lore
Share & tools
lore
#0 lore raw

I've noticed, that whenever I use 1.1 or 1.2 superblock format, mdadm will always report version 1, when i.e. mdadm -E --scan is issued.

Also, in these two cases, mdadm -A --scan won't work, unless proper ARRAY line is present in mdadm.conf (and if metadata is part of the description, it must be either 1.1 or 1.2).

#1 lore raw
Quoted 6 lines · On Tuesday August 7, [email protected] wrote:

I've noticed, that whenever I use 1.1 or 1.2 superblock format, mdadm will always report version 1, when i.e. mdadm -E --scan is issued.

Also, in these two cases, mdadm -A --scan won't work, unless proper ARRAY line is present in mdadm.conf (and if metadata is part of the description, it must be either 1.1 or 1.2).

This is fixed in the current git repository. It will be in the next release whenever I get around to making one.

This is that patch that fixes it.

http://neil.brown.name/git?p=mdadm;a=commitdiff;h=a17a3de364806681fc7c1395364d11061a638ff3

NeilBrown