PVE 4.2 DRBD9: unable to use DRBD-Device...


Renowned Member
May 24, 2016
Pettenbach, Upper Austria

) for testing I installed a PVE 4.2 Cluster with 3 nodes (1 is for quorum only).
both are debian jessie with pve-no-subscription repository.
cluster works, quorum ok

) configured drbd9 according to https://pve.proxmox.com/wiki/DRBD9 on 2 nodes (redundancy 2)
) drbd is up and running:

root@scarlett:~# drbdmanage nodes
| Name | Pool Size | Pool Free | | State |
| rhett | 1868332 | 1842405 | | ok |
| scarlett | 1868332 | 1842405 | | ok |

I did the vg drbdpool and a lv drbdthinpool
the pv is created upon a raid-10 md-device:

PV Name /dev/md2
VG Name drbdpool
Free PE / Size 9 / 36.00 MiB
LV Path /dev/drbdpool/drbdthinpool
LV Path /dev/drbdpool/.drbdctrl_0
LV Path /dev/drbdpool/.drbdctrl_
drbd1-storage is shown available in web-gui

root@scarlett:~# cat /etc/pve/storage.cfg
drbd: drbd1
content images,rootdir
redundancy 2
nodes rhett,scarlett

+ ---------------------------------------------------------------------
when I create vm/ct and choose drbd1 as storage I get the following error

mke2fs 1.42.12 (29-Aug-2014)
The file /dev/drbd/by-res/vm-100-disk-1/0 does not exist and no size was specified.
TASK ERROR: command 'mkfs.ext4 -O mmp -E 'root_owner=0:0' /dev/drbd/by-res/vm-100-disk-1/0' failed: exit code 1

vm/ct is not created, but the disks show up in "storage" (e.g. vm-100-disk-1)
+ ---------------------------------------------------------------------

any hints what's wrong


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!