On 2011-09-15, at 19:50, Alex [off-list ref] wrote:
When I try to grow the other two partitions (/ and /home), it fails
with device busy:
# mdadm --grow /dev/md2 --level=5 --raid-devices=3
mdadm: level of /dev/md2 changed to raid5
mdadm: Need to backup 128K of critical section..
mdadm: Cannot set device shape for /dev/md2: Device or resource busy
Bitmap must be removed before shape can be changed
mdadm: aborting level change
You must remove the bitmap first as told using mdadm --grow --bitmap=none
When the conversion to RAID5 is complete, how can I regenerate the
mdadm.conf to properly reflect the change?
The output of mdadm -Es might be enough for you.