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@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@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@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 <[email protected]>, Lars Ellenberg <[email protected]> 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@dmz-pve1:~ # cat /etc/drbdmanaged.cfg [LOCAL] storage-plugin = drbdmanage.storage.lvm_thinlv.LvmThinLv force=1 root@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 > [email protected] > http://lists.linbit.com/mailman/listinfo/drbd-user Regards, JdT
_______________________________________________ drbd-user mailing list [email protected] http://lists.linbit.com/mailman/listinfo/drbd-user
