On 18/05/2011 08:31, Laurent CARON wrote:
Hi, I'm basically trying to grow a RAID-6 array (5 disks). I did change the disks one by one (change, rebuild, ...). I finally did delete the last partition (the one I wanted to enlarge and recreated it with the exactly same start but different end). When I try to grow the array, I get: # mdadm --grow --size max /dev/md2 mdadm: component size of /dev/md2 has been set to 732458496K
[...]
If any of you can help me to sort this out It would be nice.
You need to tell mdadm the underlying devices have grown; do this by stopping the array then assembling it again with --update=devicesize. Then when you --grow --size max you will get the result you are looking for.
Cheers, John. -- 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