On Wed, 18 May 2011 08:58:28 +0100 John Robinson <john.robinson@xxxxxxxxxxxxxxxx> wrote: > 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. > Alternately you could get this latest mdadm from git://neil.brown.name/mdadm/ and run the "--grow --size max" command again. It now updates the device size too. But John's answer is probably easiest. NeilBrow -- 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