Interesting possibilities!
To get back to my initial question (no drbd disk-space in Proxmox VE UI), first entry in this thread, I've collected some information.
I've setup a testlab with two proxmox4 nodes (pve01 and pve02) on VirtualBox.
@Udo, this is my configuration....
Code:
root@pve01:~# pvs
PV VG Fmt Attr PSize PFree
/dev/sda3 pve lvm2 a-- 7.87g 892.00m
/dev/sdb1 drbdpool lvm2 a-- 4.00g 820.00m
Code:
root@pve01:~# vgs
VG #PV #LV #SN Attr VSize VFree
drbdpool 1 2 0 wz--n- 4.00g 820.00m
pve 1 3 0 wz--n- 7.87g 892.00m
Code:
root@pve01:~# lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
.drbdctrl drbdpool -wi-ao---- 4.00m
drbdthinpool drbdpool twi-a-tz-- 3.18g 0.00 1.17
data pve -wi-ao---- 4.38g
root pve -wi-ao---- 1.75g
swap pve -wi-ao---- 896.00m
Code:
root@pve01:~# cat /etc/pve/storage.cfg
dir: local
path /var/lib/vz
maxfiles 0
content vztmpl,images,rootdir,iso
drbd: drbd1
redundancy 2
Code:
root@pve01:~# drbdsetup status
.drbdctrl role:Secondary
disk:UpToDate
pve02 role:Secondary
peer-disk:UpToDate
Code:
root@pve01:~# drbdmanage list-nodes
+------------------------------------------------------------------------------------------------------------+
| Name | Pool Size | Pool Free | | State |
+------------------------------------------------------------------------------------------------------------+
| pve01 | 3264 | 3225 | | ok |
| pve02 | 3264 | 3225 | | ok |
+------------------------------------------------------------------------------------------------------------+
Code:
root@pve01:~# drbdsetup show
resource .drbdctrl {
_this_host {
node-id 0;
volume 0 {
device minor 0;
disk "/dev/drbdpool/.drbdctrl";
meta-disk internal;
}
}
connection {
_peer_node_id 1;
_this_host ipv4 192.168.1.200:6999;
_remote_host ipv4 192.168.1.201:6999;
net {
cram-hmac-alg "sha256";
shared-secret "Md2DiokcLqJk94qWzEBD";
_name "pve02";
}
}
}
I think the problem is that Proxmox doesn't "understand" the "drbd:" entry in the config file /etc/pve/storage.cfg.
According to the wiki (
https://pve.proxmox.com/wiki/DRBD9) this is all required.
Any ideas?
Regards,
Ruben