Hi,
Every night I backup using vzdump to a usbdisk attached to the node.
Sometimes the backup fails.
These are the last lines of my log this morning:
When I look at the usbdisk now all seems well.
This is the current situation:
Anyone any idea what happend and how to prevent this?
Thanks in advance!
Every night I backup using vzdump to a usbdisk attached to the node.
Sometimes the backup fails.
These are the last lines of my log this morning:
117: Feb 23 06:18:53 INFO: Logical volume "vzsnap" successfully removed
117: Feb 23 06:18:53 INFO: Finished Backup of VM 117 (00:18:50)
119: Feb 23 06:18:53 INFO: Starting Backup of VM 119 (openvz)
119: Feb 23 06:18:53 INFO: status = CTID 119 exist mounted running
119: Feb 23 06:18:53 INFO: creating lvm snapshot of /dev/mapper/pve-data ('/dev/pve/vzsnap')
119: Feb 23 06:18:53 INFO: Logical volume "vzsnap" created
119: Feb 23 06:18:53 INFO: mounting lvm snapshot
119: Feb 23 06:18:53 INFO: creating archive '/mnt/usbdrive/vzdump-119.dat' (/mnt/vzsnap/private/119)
119: Feb 23 07:21:44 INFO: Total bytes written: 5825638400 (5.5GiB, 1.5MiB/s)
119: Feb 23 07:21:44 INFO: file size 5.43GB
119: Feb 23 07:21:53 INFO: umount: /mnt/vzsnap: device is busy
119: Feb 23 07:21:53 INFO: umount: /mnt/vzsnap: device is busy
119: Feb 23 07:21:53 INFO: command 'umount /mnt/vzsnap' failed with exit code 1
119: Feb 23 07:21:56 INFO: Can't remove open logical volume "vzsnap"
119: Feb 23 07:21:56 INFO: command '/sbin/lvremove -f /dev/pve/vzsnap' failed with exit code 5
119: Feb 23 07:21:56 INFO: Finished Backup of VM 119 (01:03:03)
134: Feb 23 07:21:57 INFO: Starting Backup of VM 134 (openvz)
134: Feb 23 07:21:57 INFO: status = CTID 134 exist mounted running
134: Feb 23 07:21:58 INFO: trying to remove stale snapshot '/dev/pve/vzsnap'
134: Feb 23 07:21:58 INFO: umount: /mnt/vzsnap: device is busy
134: Feb 23 07:21:58 INFO: umount: /mnt/vzsnap: device is busy
134: Feb 23 07:21:58 INFO: command 'umount /mnt/vzsnap' failed with exit code 1
134: Feb 23 07:21:58 INFO: Can't remove open logical volume "vzsnap"
134: Feb 23 07:21:58 INFO: command '/sbin/lvremove -f /dev/pve/vzsnap' failed with exit code 5
134: Feb 23 07:21:58 INFO: creating lvm snapshot of /dev/mapper/pve-data ('/dev/pve/vzsnap')
134: Feb 23 07:21:59 INFO: Logical volume "vzsnap" already exists in volume group "pve"
134: Feb 23 07:21:59 ERROR: Backup of VM 134 failed - command '/sbin/lvcreate --size 3072M --snapshot --name vzsnap /dev/pve/data' failed with exit code 5
When I look at the usbdisk now all seems well.
This is the current situation:
node5:/# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/pve/root 64G 1.4G 60G 3% /
tmpfs 5.9G 0 5.9G 0% /lib/init/rw
udev 10M 76K 10M 1% /dev
tmpfs 5.9G 0 5.9G 0% /dev/shm
/dev/mapper/pve-data 178G 154G 24G 87% /var/lib/vz
/dev/sda1 504M 33M 446M 7% /boot
/dev/sdc1 587G 136G 422G 25% /mnt/usbdrive
/dev/mapper/pve-vzsnap
178G 154G 24G 87% /mnt/vzsnap
Anyone any idea what happend and how to prevent this?
Thanks in advance!