[DRBD-user] Unable to init a node

Jean-Daniel TISSOT Jean-Daniel.Tissot at univ-fcomte.fr
Tue Mar 13 16:58:54 CET 2018


And i forget, I get the same result


Le 13/03/2018 à 16:57, Jdt a écrit :
>
> Le 13/03/2018 à 16:21, Roland Kammerer a écrit :
>
>> On Tue, Mar 13, 2018 at 04:07:17PM +0100, Jdt wrote:
>>> Hi,
>>>
>>> We had a three nodes Proxmox cluster in V4 (jessie) with drbd from Proxmox.
>>> I choose to reinitialize this cluster with Proxmox V5 (stretch) with
>>> drbd from Linbit.
>>>
>>> I install Proxmox from the ISO image on the three nodes. Proxmox nodes
>>> are not associated yet in a cluster.
>>> I install drbdmanage-proxmox as indicated in
>>> https://docs.linbit.com/docs/users-guide-9.0/#ch-proxmox
>>> My network interfaces are well configured for drbd.
>>> On the first node I create the drbdpool volume group as indicated in
>>> https://docs.linbit.com/docs/users-guide-9.0/#s-dm-init-cluster
>>>
>>> But it's failed in initialization :
>>> root at dmz-pve1:~ # drbdmanage init 192.168.2.10
>>>
>>> You are going to initialize a new drbdmanage cluster.
>>> CAUTION! Note that:
>>>   * Any previous drbdmanage cluster information may be removed
>>>   * Any remaining resources managed by a previous drbdmanage installation
>>>     that still exist on this system will no longer be managed by drbdmanage
>>>
>>> Confirm:
>>>
>>>   yes/no: yes
>>> Error: External command failed:
>>> drbdsetup new-resource .drbdctrl 0
>>> Command output:
>>>   (stdout)
>>> Command exited with exit_code 20
>>>
>>> Initialization failed
>> Failing at that early stage usually means that the wrong module is
>> loaded. cat /proc/drbd
> root at dmz-pve1:~ # cat /proc/drbd
> version: 8.4.7 (api:1/proto:86-101)
> srcversion: 2DCC561E7F1E3D63526E90D
>
>>> In /etc/drbdmanaged.cfg, I have
>> You should not.
> Ok, I reinstall
>
> root at dmz-pve1:~ # modinfo drbd
> filename:      
> /lib/modules/4.13.13-6-pve/kernel/drivers/block/drbd/drbd.ko
> alias:          block-major-147-*
> license:        GPL
> version:        8.4.7
> description:    drbd - Distributed Replicated Block Device v8.4.7
> author:         Philipp Reisner <phil at linbit.com>, Lars Ellenberg
> <lars at linbit.com>
> srcversion:     2DCC561E7F1E3D63526E90D
> depends:        lru_cache,libcrc32c
> retpoline:      Y
> intree:         Y
> name:           drbd
> vermagic:       4.13.13-6-pve SMP mod_unload modversions
> parm:           minor_count:Approximate number of drbd devices (1-255)
> (uint)
> parm:           disable_sendpage:bool
> parm:           allow_oos:DONT USE! (bool)
> parm:           proc_details:int
> parm:           usermode_helper:string
>
> root at dmz-pve1:~ # cat /etc/drbdmanaged.cfg
> [LOCAL]
> storage-plugin = drbdmanage.storage.lvm_thinlv.LvmThinLv
> force=1
> root at dmz-pve1:~ # lsmod | grep drbd
> drbd                  360448  0
> lru_cache              16384  1 drbd
> libcrc32c              16384  2 dm_persistent_data,drbd
>
>
>
>>
>> If you don't have "force" set, most of them are ignored. Having options
>> per node, per config files isn't possible for years. As I don't see
>> "force", but your "custom options", that indicates to me that you did
>> not use our version of drbdmanage for proxmox, which sets up
>> drbdmanaged.cfg correctly, or you just overwrote what was in it with
>> what you thought is a good idea. Unfortunately, it was not a good
>> idea...
>> Regards, rck
>> _______________________________________________
>> drbd-user mailing list
>> drbd-user at lists.linbit.com
>> http://lists.linbit.com/mailman/listinfo/drbd-user
> Regards, JdT
>
>
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user

-- 
Bien cordialement, Jean-Daniel TISSOT
<https://chrono-environnement.univ-fcomte.fr/acteurs/annuaire/article/tissot-jean-daniel>
Administrateur Systèmes et Réseaux
Tel: +33 3 81 666 440 Fax: +33 3 81 666 568

Chrono-environnement

Laboratoire Chrono-environnement
<http://chrono-environnement.univ-fcomte.fr/>
16, Route de Gray
25 030 BESANÇON Cedex

Plan et Accès
<https://mapsengine.google.com/map/viewer?mid=zjsxW4ZzZPLY.kp2qPHUBD45c>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20180313/0f0663f0/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Sig.png
Type: image/png
Size: 35862 bytes
Desc: not available
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20180313/0f0663f0/attachment-0001.png>


More information about the drbd-user mailing list