[DRBD-user] Increasing a DRBD array

Gerald Brandt gbr at majentis.com
Mon Oct 17 21:52:20 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,

----- Original Message -----
> From: "Florian Haas" <florian at hastexo.com>
> To: "drbd-user" <drbd-user at lists.linbit.com>
> Sent: Monday, October 17, 2011 1:04:48 PM
> Subject: Re: [DRBD-user] Increasing a DRBD array
> 
> 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.
> 


Definately built on top of the RAID array.  I'm a bit confused by your answer though.  Step 8 grows the RAID array, and I don't have a step to grow DRBD.  Does that mean I'm missing something?

Gerald


> Cheers,
> Florian
> 
> --
> Need help with DRBD?
> http://www.hastexo.com/knowledge/drbd
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user
> 



More information about the drbd-user mailing list