Hi
I use a cluster Proxmox 4.3 with DRBD. I have a problem when I removed a VM .
The VM is removed but not the disk
# qm destroy 100
trying to aquire cfs lock 'storage-drbd1' ... OK
# lvscan
ACTIVE '/dev/drbdpool/drbdthinpool' [3.40 TiB] inherit
ACTIVE '/dev/drbdpool/.drbdctrl_0' [4.00 MiB] inherit
ACTIVE '/dev/drbdpool/.drbdctrl_1' [4.00 MiB] inherit
ACTIVE '/dev/drbdpool/vm-100-disk-1_00' [32.01 GiB] inherit
ACTIVE '/dev/pve/swap' [256.00 GiB] inherit
ACTIVE '/dev/pve/root' [50.00 GiB] inherit
ACTIVE '/dev/pve/data' [100.00 GiB] inherit
node 1 - drbdmanage list-volumes
WARNING:root:Could not read configuration file '/etc/drbdmanaged.cfg'
+------------------------------------------------------------------------------------------------------------+
| Name | Vol ID | Size | Minor | | State |
|------------------------------------------------------------------------------------------------------------|
| vm-100-disk-1 | 0 | 32 GiB | 100 | | pending actions: remove |
+------------------------------------------------------------------------------------------------------------+
node 2 - drbdmanage list-volumes
WARNING:root:Could not read configuration file '/etc/drbdmanaged.cfg'
+------------------------------------------------------------------------------------------------------------+
| Name | Vol ID | Size | Minor | | State |
|------------------------------------------------------------------------------------------------------------|
| vm-100-disk-1 | 0 | 32 GiB | 100 | | ok |
+------------------------------------------------------------------------------------------------------------+
Does someone know how to fix it?
Thanks
I use a cluster Proxmox 4.3 with DRBD. I have a problem when I removed a VM .
The VM is removed but not the disk
# qm destroy 100
trying to aquire cfs lock 'storage-drbd1' ... OK
# lvscan
ACTIVE '/dev/drbdpool/drbdthinpool' [3.40 TiB] inherit
ACTIVE '/dev/drbdpool/.drbdctrl_0' [4.00 MiB] inherit
ACTIVE '/dev/drbdpool/.drbdctrl_1' [4.00 MiB] inherit
ACTIVE '/dev/drbdpool/vm-100-disk-1_00' [32.01 GiB] inherit
ACTIVE '/dev/pve/swap' [256.00 GiB] inherit
ACTIVE '/dev/pve/root' [50.00 GiB] inherit
ACTIVE '/dev/pve/data' [100.00 GiB] inherit
node 1 - drbdmanage list-volumes
WARNING:root:Could not read configuration file '/etc/drbdmanaged.cfg'
+------------------------------------------------------------------------------------------------------------+
| Name | Vol ID | Size | Minor | | State |
|------------------------------------------------------------------------------------------------------------|
| vm-100-disk-1 | 0 | 32 GiB | 100 | | pending actions: remove |
+------------------------------------------------------------------------------------------------------------+
node 2 - drbdmanage list-volumes
WARNING:root:Could not read configuration file '/etc/drbdmanaged.cfg'
+------------------------------------------------------------------------------------------------------------+
| Name | Vol ID | Size | Minor | | State |
|------------------------------------------------------------------------------------------------------------|
| vm-100-disk-1 | 0 | 32 GiB | 100 | | ok |
+------------------------------------------------------------------------------------------------------------+
Does someone know how to fix it?
Thanks
Last edited: