Hi, everybody!
I can't create VM on DRBD volume.
I have only one 500GB HDD on both computers. So I just reduced size of LVM volume pve/data to 50GB and created new volume pve/drbd with 150GB size. Then I initialized this physical volume
and created a volume group
But now I can't create new VM:
I can't create VM on DRBD volume.
I have only one 500GB HDD on both computers. So I just reduced size of LVM volume pve/data to 50GB and created new volume pve/drbd with 150GB size. Then I initialized this physical volume
Code:
pvcreate /dev/drbd0
Code:
vgcreate drbdvg /dev/drbd0
Code:
cl8:/var/log# pvscan
File descriptor 7 left open
PV /dev/dm-7 VG drbdvg lvm2 [149.99 GB / 149.99 GB free]
PV /dev/sda2 VG pve lvm2 [465.26 GB / 8.26 GB free]
Total: 2 [615.25 GB] / in use: 2 [615.25 GB] / in no VG: 0 [0 ]
Code:
/usr/sbin/qm create 105 --cdrom local:iso/debian-502a-amd64-netinst.iso
--name backup --vlan0 e1000=96:DA:6F:6F:86:8D --bootdisk ide0 --ostype l26
--ide0 drbd0st:4,format=raw --memory 512 --onboot no --sockets 2
device-mapper: reload ioctl failed: Invalid argument
Aborting. Failed to activate new LV to wipe the start of it.
create failed - command '/sbin/lvcreate --addtag pve-vm-105 --size 4194304k
--name vm-105-disk-1 drbdvg' failed with exit code 5
unable to apply VM settings -