Hi
) 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
+ ---------------------------------------------------------------------
Problem:
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
) 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
+ ---------------------------------------------------------------------
Problem:
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