pve 5 and drbd 8.4 and which storage model

whitewater

Member
Nov 26, 2012
107
0
16
france
Hello,
i using proxmox since version 3.0 like this :
nodes 1 and 2 :
volume 0 : OS
volume 1 to 3 : drbd storage, in version 8.4, with drbdr0, drbdr1 and drbdr2.
node 3 : for HA and backup.

Since pve 5, i encounter problems to use drbd.
Code:
cat /proc/drbd : diskless
lvscan : "Device mismatch detected for drbdvg0/vm-<number>-disk-1 which is accessing /dev/sdb1 instead of /dev/drbd0".
I know, proxmox team don't support drbd now since linbit licence changement.

I would like to know if someone successful use drbd and configuration used.

My lvm.conf :
Code:
filter = [ "a|^/dev/drbd0|", "a|^/dev/drbd1|", "a|^/dev/drbd2|", "a|^/dev/sda3|", "r/.*/" ]
maybie go to drbd 9.0 ?
Or, which storage model i should use, like drbd :
- two nodes with 1 volume for storage
- no ssd : i haven't got it i can't buy it at this moment
- 3rd node for HA
thank you
 
Last edited:
I have quite a few proxmox5 drbd 8.4 setups working well.

Here is my filter, but yours should work as well.

filter = [ "r|/dev/sdb1|", "r|/dev/sdc1|", "r|/dev/sdd1|", "r|/dev/sde1|", "r|/dev/disk/|", "r|/dev/block/|", "a/.*/" ]

After getting that filter in place, please do the following.

update-grub
update-initramfs -u
reboot

Let me know if it looks any better.