Hello,
I run a bacula backup system and have some scripts that automatically create an lvm snapshot of /var/lib/vz prior to backup.
Since the update to version two....
I get this error when I unmount the snapshot:
--
Attempt 1
Unable to deactivate open pve-data-real (253:4)
Failed to resume data.
Attempt 2
Logical volume "pve-data-snap" successfully removed
--
It seems that lvm remove is trying to copy the data to the old volume?
In each case my lvm commands are:
Mount
lvm lvcreate --size 2G --snapshot --name pve-data-snap /dev/pve/data
mount -o ro /dev/pve/pve-data-snap /var/lib/vz.snapshot
Unmount
umount /var/lib/vz.snapshot
lvremove -f /dev/pve/pve-data-snap
Any ideas on how to fix this?
Last night removing the volume caused all the VM's to hang!
Rob
I run a bacula backup system and have some scripts that automatically create an lvm snapshot of /var/lib/vz prior to backup.
Since the update to version two....
I get this error when I unmount the snapshot:
--
Attempt 1
Unable to deactivate open pve-data-real (253:4)
Failed to resume data.
Attempt 2
Logical volume "pve-data-snap" successfully removed
--
It seems that lvm remove is trying to copy the data to the old volume?
In each case my lvm commands are:
Mount
lvm lvcreate --size 2G --snapshot --name pve-data-snap /dev/pve/data
mount -o ro /dev/pve/pve-data-snap /var/lib/vz.snapshot
Unmount
umount /var/lib/vz.snapshot
lvremove -f /dev/pve/pve-data-snap
Any ideas on how to fix this?
Last night removing the volume caused all the VM's to hang!
Rob