upgrading the superblock version

upgrading the superblock version

am 21.07.2011 11:06:00 von vasco.nevoa

Hello.

I'd like to know if it is possible to upgrade the superblock model
version of an array, from 0.9 to 1.0 for example.

Theoretically it should be possible, I think. What would be the safe
steps to do it?

I imagine something like:
- zeroing the current superblocks in all the array disks;
- (optionally) assembling the array in "build" mode, ignoring superblocks;
- updating the superblocks using the desired version.

If that isn't possible, then:
- zeroing the current superblocks in all the array disks;
- creating a new array with those disks, using the desired superblock
version and --assume-clean;
- would this lead to the loss of the partition table inside the array?

Has anyone done such a thing?
How should I proceed?

Thanks,
Vasco.
--
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

Re: upgrading the superblock version

am 31.07.2011 06:47:52 von Simon Matthews

Vasco,

2011/7/21 Vasco N=E9voa :
>
> Hello.
>
> I'd like to know if it is possible to upgrade the superblock model ve=
rsion
> of an array, from 0.9 to 1.0 for example.

See the discussion with the subject "Can't start array and Negative
"Used Dev Size" in this mailing list. You will see that I was advised
to do this very thing and given instructions on how to do it. 0.9 to
1.0 is possible, but not to 1.1 or 1.2

Simon
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" i=
n
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html