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

Julien Escario escario at azylog.net
Mon Jan 25 14:07:41 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.


Le 23/01/2016 08:16, Dietmar Maurer a écrit :
>> 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),

Ok, that's the explaination. I'll try the pve-test package and send a feedback
to proxmox-users list.

Thanks,
Julien Escario


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3705 bytes
Desc: Signature cryptographique S/MIME
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20160125/357dc123/attachment.bin>


More information about the drbd-user mailing list