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)
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)