Re: upgrading the superblock version

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=E9voa <vasco.nevoa [at] sapo.pt>:

>
> 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 superbl=
ocks;
> - 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 [at] vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>


--
To unsubscribe from this list: send the line "unsubscribe linux-raid" i=
n
the body of a message to majordomo [at] vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
vasco.nevoa [ Do, 21 Juli 2011 17:44 ] [ ID #2062330 ]
Linux » gmane.linux.raid » Re: upgrading the superblock version

Vorheriges Thema: Re: linux-next: Tree for July 21 (drivers/md/dm-raid)
Nächstes Thema: Raid5 boot failure after grow