(original article)

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

09 January 2010, 06:43 UTC

Neil was wondering if I could get your advice. I'm currently running at 4x1TB Raid5 and I would like to change that to a 6x1TB Raid6. I guess confused on the process. So essentially i can just use the mdadm --add /dev/mdX /dev/sdX and add the 2 drives making it 6x1TB. Then mdadm --grow /dev/md0 --level=6 --raid-disk=6 will correctly reshape my raid5 to a raid6 then i'd just have to xfs_growfs /dev/mdX afterwards? Just wondering if my thought process is correct here. Thanks in advance this is some great progress.