raid:mdadm:convert_a_raid_5_to_a_raid_6

This is an old revision of the document!


RAID - mdadm - Convert a RAID 5 to a RAID 6

Do the Conversion

mdadm --grow /dev/md0 --raid-devices 4 --level 6 --backup-file=/root/md0-backup-file.bak

Check that the conversion worked

mdadm --detail /dev/md0
cat /proc/mdstat

Update the mdadm configuraton file

Edit the /etc/mdadm/mdadm.conf file, such that the line spares=1 changed to spares=0.

raid/mdadm/convert_a_raid_5_to_a_raid_6.1632652218.txt.gz · Last modified: 2021/09/26 10:30 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki