DRBD, cLVM, Snapshot backup not working

e100

Renowned Member
Nov 6, 2010
1,268
47
88
Columbus, Ohio
ulbuilder.wordpress.com
I remember reading in another thread that Proxmox is not using exclusive locking with clvm.

Without exclusive locking I can not perform a snapshot backup:

Code:
INFO: starting new backup job: vzdump 100 --mode snapshot --compress 1 --storage Backup --node vm6
INFO: Starting Backup of VM 100 (qemu)
INFO: status = running
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO:   vm-100-disk-1 must be active exclusively to create snapshot
ERROR:  Backup of VM 100 failed - command 'lvcreate --size 1024M --snapshot  --name 'vzsnap-vm6-0' '/dev/drbdvg0/vm-100-disk-1'' failed: exit code 5
INFO: Backup job finished with errors
TASK ERROR: job errors

Also, I can not seem to get an exclusive lock at all:
Code:
# lvchange -aey /dev/drbdvg0/vm-100-disk-1
  Error locking on node vm6: Device or resource busy