Re: can metadata type be changed for an active array?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, February 27, 2009 4:10 pm, PGNet wrote:
> hi,
>
> On Thu, Feb 26, 2009 at 8:57 PM, NeilBrown <neilb@xxxxxxx> wrote:
>> However the 1.0 metadata uses less space than the 0.90 metadata so
>> it is fairly safe to simply stop the array and then create it with 1.0
>> metadata.  All your data will still be there.
>
> curious, is that also true for 1.0 -> 1.2 ?

No.
The difference between 1.0, 1.1, and 1.2 is where the metadata lives.
1.0 uses a similar location to 0.90.
1.1 and 1.2 use locations near the start of the device.


>
>> The bitmap could get written at a different place, and could over-write
>> data.  So to be safe:
>
> got it.
>
>>  mdadm --assemble /dev/md5 --metadata=1.0 --update=metadata
>> /dev/sd[ab]2
>
> fair enough.
>
> thanks!
>

--
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

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux