[DRBD-user] Increasing a DRBD array

Gerald Brandt gbr at majentis.com
Mon Oct 17 19:31:14 CEST 2011

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Hi,

I have a RAID-6 array (mdadm) that is running out of space.  I'd like to add a drive to the array, and grow it.  I've done that step before, and it works.

The step I haven't done, is grow a raid array that is duplicate via DRBD.  Are there any extra issues I need to look out for?

My plans are:

1. remove the primary from DRBD
2. add the physical disk to the primary
3. add the primary back to DRBD and allow resync.
4. remove the secondary from DRBD
5. add the physical disk to the secondary
6. add the secondary back to DRBD and allow resync.
7. fdisk and add the disk to the RAID array on primary and secondary
8. grow the RAID array on the primary and secondary
9. expand the file system on the primary only

Does that sound right?

Gerald




More information about the drbd-user mailing list