I have read success reports that using "--create" on an array that
already exists should preserve the disk data.
So to upgrade the superblock version one can simply do a --create with
newer version requested?
What exactly happens to the partition and filesystem on the disk when
one does mdadm --create or --zero-superblock?
Does it get altered at all?
Citando Vasco Névoa <vasco.nevoa@xxxxxxx>:
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
--
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