[DRBD-user] drbdmanage : error in reporting free space with thin-lvm ?

Dietmar Maurer dietmar at proxmox.com
Sat Jan 23 08:16:48 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.


> Seems I found a anwser : I was using drbdmanage 0.91 with a thin lv but this
> version is using drbdmanage.storage.lvm.Lvm as default plugin.
> 
> I'm now wondering how I can change the default plugin BEFORE initializing the
> nodes.

The lvmthin driver is the default if you use the proxmox drbdmanage 
package (v0.91 is on pvetest).

We currently use this patch to change the default for our needs:


Index: new/drbdmanage/server.py
===================================================================
--- new.orig/drbdmanage/server.py
+++ new/drbdmanage/server.py
@@ -147,7 +147,7 @@ class DrbdManageServer(object):
 
     # defaults
     CONF_DEFAULTS = {
-        KEY_STOR_NAME      : "drbdmanage.storage.lvm.Lvm",
+        KEY_STOR_NAME      : "drbdmanage.storage.lvm_thinlv.LvmThinLv",
         KEY_DEPLOYER_NAME  : "drbdmanage.deployers.BalancedDeployer",
         KEY_MAX_NODE_ID    : str(DEFAULT_MAX_NODE_ID),
         KEY_MAX_PEERS      : str(DEFAULT_MAX_PEERS),




More information about the drbd-user mailing list