[DRBD-user] Unable to init a node
Jean-Daniel.Tissot at univ-fcomte.fr
Tue Mar 13 16:57:34 CET 2018
Le 13/03/2018 à 16:21, Roland Kammerer a écrit :
> On Tue, Mar 13, 2018 at 04:07:17PM +0100, Jdt wrote:
>> 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
>> My network interfaces are well configured for drbd.
>> On the first node I create the drbdpool volume group as indicated in
>> 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
>> yes/no: yes
>> Error: External command failed:
>> drbdsetup new-resource .drbdctrl 0
>> Command output:
>> 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)
>> In /etc/drbdmanaged.cfg, I have
> You should not.
Ok, I reinstall
root at dmz-pve1:~ # modinfo drbd
description: drbd - Distributed Replicated Block Device v8.4.7
author: Philipp Reisner <phil at linbit.com>, Lars Ellenberg
<lars at linbit.com>
vermagic: 4.13.13-6-pve SMP mod_unload modversions
parm: minor_count:Approximate number of drbd devices (1-255)
parm: allow_oos:DONT USE! (bool)
root at dmz-pve1:~ # cat /etc/drbdmanaged.cfg
storage-plugin = drbdmanage.storage.lvm_thinlv.LvmThinLv
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
> Regards, rck
> drbd-user mailing list
> drbd-user at lists.linbit.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the drbd-user