I get this error quite often, and have no idea what might cause it. Sometimes it gives that error for a couple of days and it goes away (backup working again), but sometimes the LVM snapshot gets stuck so bad only a reboot can solve it (df -h stops, doesn't return to shell).
Here is the vzdump log:
The system is an average PVE 1.5 installation, with a separate disk mounted for backup. Two folders on it were added via the web interface for daily and weekly backups. There is enough free space on both drives.
Any ideas?
Here is the vzdump log:
Code:
Aug 13 06:49:34 INFO: Starting Backup of VM 112 (openvz)
Aug 13 06:49:34 INFO: CTID 112 exist mounted running
Aug 13 06:49:34 INFO: status = CTID 112 exist mounted running
Aug 13 06:49:43 INFO: backup mode: snapshot
Aug 13 06:49:43 INFO: bandwidth limit: 10240 KB/s
Aug 13 06:49:43 INFO: trying to remove stale snapshot '/dev/pve/vzsnap-proxmox2-0'
Aug 13 06:49:43 INFO: umount: /mnt/vzsnap0: device is busy
Aug 13 06:49:43 INFO: umount: /mnt/vzsnap0: device is busy
Aug 13 06:49:43 ERROR: command 'umount /mnt/vzsnap0' failed with exit code 1
Aug 13 06:49:44 INFO: Can't remove open logical volume "vzsnap-proxmox2-0"
Aug 13 06:49:44 ERROR: command 'lvremove -f /dev/pve/vzsnap-proxmox2-0' failed with exit code 5
Aug 13 06:49:44 INFO: creating lvm snapshot of /dev/mapper/pve-data ('/dev/pve/vzsnap-proxmox2-0')
Aug 13 06:49:44 INFO: Logical volume "vzsnap-proxmox2-0" already exists in volume group "pve"
Aug 13 06:49:45 INFO: Can't remove open logical volume "vzsnap-proxmox2-0"
Aug 13 06:49:45 ERROR: command 'lvremove -f /dev/pve/vzsnap-proxmox2-0' failed with exit code 5
Aug 13 06:49:45 ERROR: Backup of VM 112 failed - command 'lvcreate --size 1024M --snapshot --name vzsnap-proxmox2-0 /dev/pve/data' failed with exit code 5
Code:
proxmox2:~# lvscan
File descriptor 7 left open
ACTIVE '/dev/pve/swap' [8.00 GB] inherit
ACTIVE '/dev/pve/root' [20.00 GB] inherit
ACTIVE '/dev/pve/data' [116.55 GB] inherit
proxmox2:~# pvscan
File descriptor 7 left open
PV /dev/sda2 VG pve lvm2 [148.55 GB / 4.00 GB free]
Total: 1 [148.55 GB] / in use: 1 [148.55 GB] / in no VG: 0 [0 ]
proxmox2:~# mount
/dev/mapper/pve-root on / type ext3 (rw,noatime,nodiratime,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/mapper/pve-data on /var/lib/vz type ext3 (rw,noatime,nodiratime)
/dev/sda1 on /boot type ext3 (rw,noatime,nodiratime)
/dev/sdb1 on /backup type ext3 (rw,noatime,nodiratime)
Last edited: