Re: Wrong array size detected after reboot

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

 



Hi Neil,

For the record:

It worked!

I grew to "--size max", sync kicked in, but I'm able to mount the
volumes and the data's all there.

Thanks for the help guys!

Cheers,
Markus


On Thu, Sep 20, 2012 at 1:39 PM, NeilBrown <neilb@xxxxxxx> wrote:
> On Thu, 20 Sep 2012 11:53:04 +0200 Markus Irle <tha.bear@xxxxxxxxx> wrote:
>
>> Hi Neil,
>>
>> On Thu, Sep 20, 2012 at 1:11 AM, NeilBrown <neilb@xxxxxxx> wrote:
>> >
>> > Yes, the metadata has lots the most-significant-bit of the 'size'.
>> >
>> > So it should be sufficient to:
>> >   mdadm -G /dev/md2 --size 2930266432
>> >
>> > where the size is calculated as the current "used device size" plus 2^31.
>> > You could probably just do "--size max"
>> >
>> > This will cause a resync of the 2G of data which is probably unnecessary, but
>> > is awkward to avoid.
>>
>> Thanks, will try.
>>
>> Resyncing won't overwrite the existing data, will it?
>
> No, it won't.  It'll just check all the parity blocks are correct.
>
>> Sorry for being overly cautious...
>
> Not something to apologise for ....
>
> NeilBrown
>
>>
>> Cheers,
>> Markus
>
--
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