[DRBD-user] drbdmanage multiple VGs not supported

Adam Goryachev mailinglists at websitemanagers.com.au
Tue Sep 4 07:37:32 CEST 2018

On 03/09/18 19:57, abdollah karimnia wrote:
> Dear all,
> Is there any way to replicate  different VGs using drbdmanage?
> Currently we can add only one VG name (drbdpool) into 
> /etc/drbdmanaged.cfg file. Seems that it is not possible to have 
> different VGs to replicate.
> kind Regards.

I'm not entirely sure what you are asking, but I think you can achieve 
what you want by using the DRBD managed VG to create multiple devices 
(drbd0, drbd1, drbdn...) and each drbd device could be used as a PV for 
a different VG.

drbd0, drbd1, drbd2, drbdn
VG0     VG1     VG2     VGn

You can then create multiple LV's from each of the VG0/VG1/VG2/VGn as 

I hope that is clear and you can understand it.

Note, you will likely need to ensure that LVM doesn't try to access the 
VG0/VG1/VG2/VGn using the underlying LV's within drbdpool, but will only 
use the devices exported by DRBD. You might also need some extra work to 
have LVM activate those LV's after DRBD has started, depending on how 
you are using them. See the filter options in the lvm.conf.

Adam Goryachev Website Managers www.websitemanagers.com.au
The information in this e-mail is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this e-mail by anyone else
is unauthorised. If you are not the intended recipient, any disclosure,
copying, distribution or any action taken or omitted to be taken in reliance
on it, is prohibited and may be unlawful. If you have received this message
in error, please notify us immediately. Please also destroy and delete the
message from your computer. Viruses - Any loss/damage incurred by receiving
this email is not the sender's responsibility.

More information about the drbd-user mailing list