(original article)

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

26 July 2010, 02:24 UTC

I would like to reshape a 6x1T raid5 array to a 4x2T raid5 array. From the instructions on this page, I tried:

# mdadm /dev/md2 --grow --size=max --raid-devices=4 mdadm: cannot change component size at the same time as other changes. Change size first, then check data is intact before making other changes.

Linux 2.6.34 x86_64 mdadm - v3.1.2 - 10th March 2010

Is it possible to do what I'm trying to do? If so, what do I need to do?