Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
On 2011-10-17 19:31, Gerald Brandt wrote: > 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? Not quite. :) Your DRBD uses the MD RAID as its backing device, doesn't it? (I sure hope it does, if it's the other way around you're probably in trouble.) That means you'll have add the drive and resize your RAID first, then you can resize your DRBD, and then expand the file system. Cheers, Florian -- Need help with DRBD? http://www.hastexo.com/knowledge/drbd