[DRBD-user] Use different volumegroups for control volume and storage possible?

Toni Bolduan toni.bolduan at googlemail.com
Tue Nov 1 07:55:11 CET 2016

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


Thank you for your reply.
Now I want to try to add another lvm vg for the storage, but how to do?
I think i would overwrite the existing config when doing the following, do
I?:

[Plugin:Lvm]
volume-group = storagepool # or the value of drbdctrl-vg if it is set and
volume-group is unset
lvm-path = /sbin
dev-path = /dev/


Or is this then an additional entry next to drbdpool?


Best Regards,

Toni

2016-10-31 10:32 GMT+01:00 Roland Kammerer <roland.kammerer at linbit.com>:

> On Sat, Oct 29, 2016 at 07:19:43PM +0200, Toni Bolduan wrote:
> > Hi List,
> >
> > Is it possible to use different volume groups for the drbdcontrol volume
> > and the real volumes I want to use?
> >
> > I wanna try to  do the following:
> > * 2disks - RAID1 with the drbdpool volume group for the drbd control
> volume
> > * 10 disks - in other RAID with a volumegroup for my drbd volumes i want
> to
> > replicate
> >
> > Is this possible or must all belong to the drbdpool volume group?
>
> That should be possible. This is a storage plugin setting that can be
> set per node.
>
> drbdmanage edit-config --node $nodename
>
> This then opens a vim (or $EDITOR), where you can set these values. For
> LVM, you have to uncomment the next lines.
>
> # [Plugin:Lvm]
> # volume-group = drbdpool # or the value of drbdctrl-vg if it is set and
> # volume-group is unset
>
> drbdctrl-vg is also a config-value where .drbdctrl is placed. Do
> yourself a favor and keep that one as "drbdpool", otherwise you would
> have to set that one in /etc/drbdmanaged.cfg, because drbdmanage is not
> able to read the cluster database before it even knowns where to look
> for it. Chicken/egg...
>
> Regards, rck
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20161101/1d1a5e0b/attachment.htm>


More information about the drbd-user mailing list