How do you re-shape or grow a Raid 5 array?
Updated -
Scenario:
Partition /dev/md0 is a Raid 5 array with 3 member disks. The requirement is to add one more disk to raid 5 array while it is online
Add the the fourth disk to the Raid 5 array
mdadm /dev/md0 -a /dev/sdd1
Re-shape or Grow the Array /dev/md0
mdadm -G /dev/md0 -n4 --backup-file=/tmp/critical-section
<...>
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.