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