[DRBD-user] drbdmanage create or delete control volume

Roland Kammerer roland.kammerer at linbit.com
Mon Oct 9 16:19:55 CEST 2017

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


On Mon, Oct 09, 2017 at 04:24:56PM +0300, Tsirkas Georgios wrote:
> Hello,
> 
> I noticed that sometimes when execute join command to drbd-node , control
> volume is not removed. So i checked the source code on git.
> Especially at 3358 line , drbdmanage do wipefs -a "device". Maybe needs to
> call the same function before create drbdctrl_lv_0 because of existhing,
> forgotten signatures  from another or the same cluster.

If it would be that easy ;-). It can happen that you had a control
volume or what ever. Then you do an init/join. Then DM "lvcreate"s the
backing device for the control volume and gets back the "old blocks".
And right there lvcreate stops and asks for user input. And all versions
of lvm-tools have different options. For the whole sad story and a fix,
see Section 5.4.1 in [1].

[1]
http://docs.linbit.com/docs/users-guide-9.0/#s-drbdmanage-storage-plugins

Regards, rck



More information about the drbd-user mailing list