Re: Wrong array size detected after reboot

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

 



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

Attachment: signature.asc
Description: PGP signature


[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