[CentOS] Growing RAID5 on CentOS 4.6
lists at spuddy.org
Fri Aug 22 14:13:49 UTC 2008
I have 4 disks in a RAID5 array. I want to add a 5th. So I
mdadm --add /dev/md3 /dev/sde1
This worked but, as expected, the disk isn't being used in the raid5 array.
md3 : active raid5 sde1 sdd4 sdc3 sdb2 sda1
2930279808 blocks level 5, 64k chunk, algorithm 2 [4/4] [UUUU]
So then I tried the next step:
mdadm --grow --raid-devices=5 /dev/md3
But now I have problems...
mdadm: Cannot set device size/shape for /dev/md3: Invalid argument
Can CentOS 4.6 grow md5 arrays? Or is the kernel and mdadm version too
hints that I need 2.6.17 and mdadm 2.5.2, but it's hard to know what
the RHEL/CentOS kernel has in it 'cos version numbers no longer match)
I wonder if I could boot off a Ubuntu CD or something and grow the array
that way. Would be annoying (many hours of server downtime)...
More information about the CentOS