On Tuesday May 10, johnm@xxxxxxxxxxx wrote: > Having a problem changing my number of mirrors on a raid1 from 3 to 2. > > Did it about a week ago on another system so I'm a bit perplexed. > > mdadm --grow /dev/md0 --raid-disks 2 > mdadm: Cannot set device size/shape for /dev/md0: Device or resource busy > > cat /proc/mdstat > Personalities : [raid1] > md0 : active raid1 sda1[0] hda1[2] > 976640 blocks [3/2] [U_U] md/raid1 currently requires and devices that you plan to remove with --grow, to already be missing. So you would need to fail and re-add hda1, which would mean a full rebuild :-( If you can afford to: - wait a few days - recompile your kernel - be a guinea pig I can get raid1 to try to move devices into earlier holes before reducing the size. Let me know, and I'll start working on a patch. 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