Re: Unable to add write-intent bitmap

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

 



On Saturday April 22, ahbritto@xxxxxxx wrote:
> Hi,
> 
> I am unable to add a write-intent bitmap to an existing array.  The man
> page indicates:
> 
> >When using an internal bitmap, the chunksize is automatically
> >determined to make best use of available space.
> 
> Yet, it appears that bitmap being created is too large and goes past the
> end of the partitions provided to the array.
> 
> How can I add a write-intent bitmap to this array or will I need to
> re-create this array?

You don't need to recreate the array.
There seems to be some confusion in mdadm as to whether sizes are in
'sectors' or 'kibibytes' - I thought I had sorted all that out, but it
seems not.

You should be able to make it work by setting the chunk size
explicitly to 1024k i.e
     mdadm -Gb internal --bitmap-chunk=1024 /dev/md0

Meanwhile I try to sort out the code, make it consistent, and get a
new mdadm out.

Thanks for the report.

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