Re: Wrong array size detected after reboot

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

 



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?
Sorry for being overly cautious...

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