(original article)

Re: Converting RAID5 to RAID6 and other shape changing in md/raid

19 August 2009, 15:02 UTC

I have a question about this new feature. mdadm --grow --size max --raid-disk 3

Here is what I am doing. I currently have a 6 Drive Raid 5 consisting of 5x1TB, and a 1TB LVM (2x320GB, and 1x500GB (OS included in extra space)). I just recently bought 3 more 1TB drives and was hoping to build a new Raid 5 using 256k chunks instead of 64k chunks. I wanted to gradually remove and shrink the original array freeing up drives and then move the drives over to the new array.

I am getting the error "cannot reduce number of data disks yet", and I am using version in Ubuntu 9.04

Is this possible at all in any version of mdadm, or am I going to have to get creative?