backup failure - snapshot mode - logical volume is not mounted

nzimas

New Member
[FONT=tahoma, arial, verdana, sans-serif]vzdump is apparently unable to mount the LVM snapshot.
[/FONT]The lvm snapshot is successfully created under /dev/mapper/pve-data, but then it is not mounted on /mnt/vzsnap0/102.
This error effectively prevents the backup from being generated and sent to the storage device.

Any options other than rebooting the server?

Relevant info:

Code:
proxmox-ve-2.6.32: 3.2-126 (running kernel: 2.6.32-29-pve)
pve-manager: 3.2-4 (running version: 3.2-4/e24a91c1)
pve-kernel-2.6.32-29-pve: 2.6.32-126
lvm2: 2.02.98-pve4
clvm: 2.02.98-pve4
corosync-pve: 1.4.7-1
openais-pve: 1.1.4-3
libqb0: 0.11.1-2
redhat-cluster-pve: 3.2.0-2
resource-agents-pve: 3.9.2-4
fence-agents-pve: 4.0.5-1
pve-cluster: 3.0-15
qemu-server: 3.1-16
pve-firmware: 1.1-3
libpve-common-perl: 3.0-19
libpve-access-control: 3.0-11
libpve-storage-perl: 3.0-25
pve-libspice-server1: 0.12.4-3
vncterm: 1.1-8
vzctl: 4.0-1pve6
vzprocps: 2.0.11-2
vzquota: 3.1-2
pve-qemu-kvm: 1.7-8
ksm-control-daemon: 1.1-1
glusterfs-client: 3.4.2-1


Error message:

Code:
[FONT=tahoma, arial, verdana, sans-serif][COLOR=#000000]INFO: starting new backup job: vzdump 102 --remove 0 --mode snapshot --compress lzo --storage awsbkp2015 --node ns428897[/COLOR][/FONT]
[COLOR=#000000][FONT=tahoma]INFO: filesystem type on dumpdir is 'fuse' -using /var/tmp/vzdumptmp329836 for temporary files[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: Starting Backup of VM 102 (openvz)[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: CTID 102 exist mounted running[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: status = running[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: backup mode: snapshot[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: ionice priority: 7[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: creating lvm snapshot of /dev/mapper/pve-data ('/dev/pve/vzsnap-ns428897-0')[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO:   Logical volume "vzsnap-ns428897-0" created[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: creating archive '/mnt/sysbkp/dump/vzdump-openvz-102-2015_01_09-14_05_45.tar.lzo'[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: lzop: No such file or directory: <stdout>[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]ERROR: Backup of VM 102 failed - command '(cd /mnt/vzsnap0/private/102;find . '(' -regex '^\.$' ')' -o '(' -type 's' -prune ')' -o -print0|sed 's/\\/\\\\/g'|tar cpf - --totals --sparse --numeric-owner --no-recursion --one-file-system --null -T -|lzop) >/mnt/sysbkp/dump/vzdump-openvz-102-2015_01_09-14_05_45.tar.dat' failed: exit code 1[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: Backup job finished with errors[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]TASK ERROR: job errors[/FONT][/COLOR]
 
After upgrading PVE to 3.3, I am still facing the same issue.
Here's the verbose it spews.

INFO: starting new backup job: vzdump 102 --remove 0 --mode snapshot --compress lzo --storage s3backup --node ns428897
INFO: filesystem type on dumpdir is 'fuse' -using /var/tmp/vzdumptmp769777 for temporary files
INFO: Starting Backup of VM 102 (openvz)
INFO: CTID 102 exist mounted running
INFO: status = running
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO: creating lvm snapshot of /dev/mapper/pve-data ('/dev/pve/vzsnap-ns428897-0')
INFO: Logical volume "vzsnap-ns428897-0" created
INFO: creating archive '/mnt/bkp2015/dump/vzdump-openvz-102-2015_01_12-02_08_51.tar.lzo'
INFO: lzop: No such file or directory: <stdout>
ERROR: Backup of VM 102 failed - command '(cd /mnt/vzsnap0/private/102;find . '(' -regex '^\.$' ')' -o '(' -type 's' -prune ')' -o -print0|sed 's/\\/\\\\/g'|tar cpf - --totals --sparse --numeric-owner --no-recursion --one-file-system --null -T -|lzop) >/mnt/bkp2015/dump/vzdump-openvz-102-2015_01_12-02_08_51.tar.dat' failed: exit code 1
INFO: Backup job finished with errors
TASK ERROR: job errors
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!