(original article)

Re: Converting RAID5 to RAID6 and other shape changing in md/raid

13 March 2010, 20:38 UTC

Hi Dave,

The reason it doesn't work for you is that you have a write-intent bitmap. It is not currently possible to reshape an array with a bitmap as resizing the bitmap is not yet implemented. You need to remove the bitmap (mdadm -G /dev/md0 --bitmap none), then reshape and wait for it to complete, then re-add the bitmap (mdadm -G /dev/md0 --bitmap internal).

In think mdadm 3.1.2 (only just released) gives a more useful error message in this circumstance.





[æ]