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


Attachment: smime.p7s
Description: Signature cryptographique S/MIME

_______________________________________________
drbd-user mailing list
[email protected]
http://lists.linbit.com/mailman/listinfo/drbd-user

Reply via email to