vzdump erro code 1

agd

New Member
Feb 3, 2014
2
0
1
Hi, i can not do a backup, i get the following error:
Code:
root@proxmox:~# vzdump --dumpdir /srv/backups/dump/ --compress lzo 100
INFO: starting new backup job: vzdump 100 --dumpdir /srv/backups/dump/ --compress lzo
INFO: Starting Backup of VM 100 (openvz)
INFO: CTID 100 exist mounted running
INFO: status = running
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO: creating lvm snapshot of /dev/mapper/vg0-containers ('/dev/vg0/vzsnap-proxmox-0')
INFO:   Logical volume "vzsnap-proxmox-0" created
INFO: creating archive '/srv/backups/dump/vzdump-openvz-100-2014_07_03-21_08_26.tar.lzo'
INFO: tar: ./var/log/messages-20140608: File shrank by 12828160 bytes; padding with zeros
INFO: Total bytes written: 1112043520 (1.1GiB, 8.3MiB/s)
ERROR: Backup of VM 100 failed - command '(cd /mnt/vzsnap0/private/100;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) >/srv/backups/dump/vzdump-openvz-100-2014_07_03-21_08_26.tar.dat' failed: exit code 1
INFO: Backup job finished with errors
job errors
root@proxmox:~#

while vzdump is running:
Code:
--- Logical volume ---
  LV Path                /dev/vg0/vzsnap-proxmox-0
  LV Name                vzsnap-proxmox-0
  VG Name                vg0
  LV UUID                58eHHu-RY2O-QlGZ-Gems-htdh-YEnG-EChybn
  LV Write Access        read/write
  LV Creation host, time proxmox, 2014-07-03 21:08:26 +0200
  LV snapshot status     active destination for containers
  LV Status              available
  # open                 1
  LV Size                90,00 GiB
  Current LE             23040
  COW-table size         16,00 GiB
  COW-table LE           4096
  Allocated to snapshot  0,39%
  Snapshot chunk size    4,00 KiB
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:10

Code:
root@proxmox:~# ls -lha /srv/backups/dump/vzdump-openvz-100-2014_07_03-21_08_26.tar.dat 
-rw-r--r-- 1 root root 526M jul  3 21:10 /srv/backups/dump/vzdump-openvz-100-2014_07_03-21_08_26.tar.dat
root@proxmox:~#

A little information of my system:
Code:
root@proxmox:~# pveversion -v
proxmox-ve-2.6.32: 3.1-114 (running kernel: 2.6.32-26-pve)
pve-manager: 3.1-21 (running version: 3.1-21/93bf03d4)
pve-kernel-2.6.32-26-pve: 2.6.32-114
lvm2: 2.02.98-pve4
clvm: 2.02.98-pve4
corosync-pve: 1.4.5-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.0-2
pve-cluster: 3.0-8
qemu-server: 3.1-8
pve-firmware: 1.0-23
libpve-common-perl: 3.0-8
libpve-access-control: 3.0-7
libpve-storage-perl: 3.0-17
pve-libspice-server1: 0.12.4-2
vncterm: 1.1-4
vzctl: 4.0-1pve4
vzprocps: 2.0.11-2
vzquota: 3.1-2
pve-qemu-kvm: 1.4-17
ksm-control-daemon: 1.1-1
glusterfs-client: 3.4.1-1
root@proxmox:~#

Code:
root@proxmox:~# vgdisplay 
  --- Volume group ---
  VG Name               vg0
  System ID             
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  102
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                7
  Open LV               6
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               1,36 TiB
  PE Size               4,00 MiB
  Total PE              357699
  Alloc PE / Size       301056 / 1,15 TiB
  Free  PE / Size       56643 / 221,26 GiB
  VG UUID               1XxE6O-hB3o-yfjL-hAuP-Vu29-Sz74-aWYUpa
   
  --- Volume group ---
  VG Name               pve
  System ID             
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  4
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                3
  Open LV               3
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               14,14 GiB
  PE Size               4,00 MiB
  Total PE              3621
  Alloc PE / Size       3174 / 12,40 GiB
  Free  PE / Size       447 / 1,75 GiB
  VG UUID               4Fvko9-NjVD-zTNm-R1I3-RrcP-5nUg-AdWLx2
   
root@proxmox:~#

Code:
root@proxmox:~# lvdisplay /dev/vg0/backups 
  --- Logical volume ---
  LV Path                /dev/vg0/backups
  LV Name                backups
  VG Name                vg0
  LV UUID                lgG28N-ezI3-mYC0-grcb-MFY3-UKiG-efpIG4
  LV Write Access        read/write
  LV Creation host, time proxmox, 2014-01-29 13:47:56 +0100
  LV Status              available
  # open                 1
  LV Size                30,00 GiB
  Current LE             7680
  Segments               2
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:4
   
root@proxmox:~#

Code:
root@proxmox:~# cat /etc/vzdump.conf 
# vzdump default settings

tmpdir:/srv/backups/dump/
dumpdir:/srv/backups/dump/
size:16384
#tmpdir: DIR
#dumpdir: DIR
#storage: STORAGE_ID
#mode: snapshot|suspend|stop
#bwlimit: KBPS
#ionice: PRI
#lockwait: MINUTES
#stopwait: MINUTES
#size: MB
#maxfiles: N
#script: FILENAME
#exclude-path: PATHLIST
root@proxmox:~#
 
Stesso identico problema, qualcuno l'ha risolto? Lo spazio sull'hdd di backup c'è. Il file è circa 20 GB


ERROR: Backup of VM 100 failed - command '(cd /mnt/vzsnap0/private/100;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) >/srv/backups/dump/vzdump-openvz-100-2014_07_03-21_08_26.tar.dat' failed: exit code 1
INFO: Backup job finished with errors
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!