[SOLVED] Proxmox 4.3 DRBD howto ? HELP ?

tytanick

Member
Feb 25, 2013
96
3
8
Hi guys.
The howto form proxmox wiki disappeared and i cant het drbd9 working on my 2 node cluster + 3 as witness.

So far i made:
vgcreate drbdpool /dev/sdb1
i added drbdpool in proxmox gui and selected as shared.

Now when i am creating new VM or LXC, i dont see image cloned to the second node.

root@node1:/etc/drbd.d# drbd-overview
0:.drbdctrl/0 Connected(2*) Primar/Second UpToDa/UpToDa
1:.drbdctrl/1 Connected(2*) Primar/Second UpToDa/UpToDa


THIS COMMAND THINKING LONG LIKE 8 seconds
root@node1:/etc/drbd.d# drbdmanage list-nodes
+------------------------------------------------------------------------------------------------------------+
| Name | Pool Size | Pool Free | | State |
|------------------------------------------------------------------------------------------------------------|
| node1 | 921600 | 921600 | | ok |
| node2 | 921600 | 921600 | | ok |
+------------------------------------------------------------------------------------------------------------+

root@node2:~# drbdmanage list-nodes
+------------------------------------------------------------------------------------------------------------+
| Name | Pool Size | Pool Free | | State |
|------------------------------------------------------------------------------------------------------------|
| node1 | 921600 | 921600 | | OFFLINE |
| node2 | 921600 | 921600 | | ok |
+------------------------------------------------------------------------------------------------------------+




I created test volume by entering:
drbdmanage add-volume test 8GB --deploy 2
But node 2 says:

May 4 20:42:13 node2 org.drbd.drbdmanaged[2183]: Failed to find logical volume "drbdpool/test_01"
May 4 20:42:13 node2 drbdmanaged[2700]: ERROR ThinLV: Attempt 2 of 2: Creation of vol 'test_01' failed.
May 4 20:42:13 node2 drbdmanaged[2700]: ERROR DrbdManager: Failed to create block device for resource 'test' volume 1
May 4 20:42:13 node2 org.drbd.drbdmanaged[2183]: Failed to find logical volume "drbdpool/drbdthinpool"
May 4 20:42:13 node2 org.drbd.drbdmanaged[2183]: Failed to find logical volume "drbdpool/test_00"
May 4 20:42:13 node2 org.drbd.drbdmanaged[2183]: Pool drbdthinpool not found in Volume group drbdpool.
May 4 20:42:13 node2 org.drbd.drbdmanaged[2183]: wipefs: error: /dev/drbdpool/test_00: probing initialization failed: No such file or directory
May 4 20:42:13 node2 org.drbd.drbdmanaged[2183]: Failed to find logical volume "drbdpool/test_00"
May 4 20:42:13 node2 drbdmanaged[2700]: ERROR ThinLV: Attempt 1 of 2: Creation of vol 'test_00' failed.
May 4 20:42:14 node2 org.drbd.drbdmanaged[2183]: Pool drbdthinpool not found in Volume group drbdpool.
May 4 20:42:14 node2 org.drbd.drbdmanaged[2183]: wipefs: error: /dev/drbdpool/test_00: probing initialization failed: No such file or directory
May 4 20:42:14 node2 org.drbd.drbdmanaged[2183]: Failed to find logical volume "drbdpool/test_00"
May 4 20:42:14 node2 drbdmanaged[2700]: ERROR ThinLV: Attempt 2 of 2: Creation of vol 'test_00' failed.
May 4 20:42:14 node2 drbdmanaged[2700]: ERROR DrbdManager: Failed to create block device for resource 'test' volume 0
May 4 20:42:15 node2 org.drbd.drbdmanaged[2183]: Failed to find logical volume "drbdpool/test_01"
May 4 20:42:15 node2 org.drbd.drbdmanaged[2183]: Pool drbdthinpool not found in Volume group drbdpool.
May 4 20:42:15 node2 org.drbd.drbdmanaged[2183]: wipefs: error: /dev/drbdpool/test_01: probing initialization failed: No such file or directory
May 4 20:42:15 node2 org.drbd.drbdmanaged[2183]: Failed to find logical volume "drbdpool/test_01"
May 4 20:42:15 node2 drbdmanaged[2700]: ERROR ThinLV: Attempt 1 of 2: Creation of vol 'test_01' failed.


Can anyone help me (private help would be appreciated, i can pay for your time)
 
Its a mess and i had problem.
I will try with those here, thx for tip. I will respond if i succeeded.

EDIT: Yep, this solved all my problems :)
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!