Hi.
10 PVE's and on all PVE's I have problem with backups (GZIP compession)
All PVE's on last software version:
And it's not a problem with:
- RAM (try another ram modules - the same result)
- HDDs (SMART is ok)
- Free space is OK
In PVE web gui backup process ends without any problems:
But when I'm try to check backup:
When I'm trying to restore VM:
gzip: /var/lib/vz/dump/vzdump-qemu-101-2019_09_24-22_51_16.vma.gz: invalid compressed data--crc error
or
gzip: /var/lib/vz/dump/vzdump-qemu-101-2019_09_24-22_51_16.vma.gz: invalid compressed data--format violated
** (process:23913): ERROR **: 12:47:29.844: restore failed - short vma extent (3287040 < 3781120)
/bin/bash: line 1: 23912 Exit 1 zcat /var/lib/vz/dump/vzdump-qemu-101-2019_09_24-22_51_16.vma.gz
23913 Trace/breakpoint trap | vma extract -v -r /var/tmp/vzdumptmp23910.fifo - /var/tmp/vzdumptmp23910
TASK ERROR: command 'set -o pipefail && zcat /var/lib/vz/dump/vzdump-qemu-101-2019_09_24-22_51_16.vma.gz | vma extract -v -r /var/tmp/vzdumptmp23910.fifo - /var/tmp/vzdumptmp23910' failed: exit code 133
Reinstalling GZIP doesn't help me.
Backup with LZO compression is OK.
Is it vzdump or GZIP problem?
10 PVE's and on all PVE's I have problem with backups (GZIP compession)
All PVE's on last software version:
proxmox-ve: 6.0-2 (running kernel: 5.0.21-2-pve)
pve-manager: 6.0-7 (running version: 6.0-7/28984024)
pve-kernel-5.0: 6.0-8
pve-kernel-helper: 6.0-8
pve-kernel-5.0.21-2-pve: 5.0.21-3
pve-kernel-5.0.21-1-pve: 5.0.21-2
ceph-fuse: 14.2.2-pve1
corosync: 3.0.2-pve2
criu: 3.11-3
glusterfs-client: 5.5-3
ksm-control-daemon: 1.3-1
libjs-extjs: 6.0.1-10
libknet1: 1.11-pve1
libpve-access-control: 6.0-2
libpve-apiclient-perl: 3.0-2
libpve-common-perl: 6.0-4
libpve-guest-common-perl: 3.0-1
libpve-http-server-perl: 3.0-2
libpve-storage-perl: 6.0-8
libqb0: 1.0.5-1
lvm2: 2.03.02-pve3
lxc-pve: 3.1.0-65
lxcfs: 3.0.3-pve60
novnc-pve: 1.0.0-60
openvswitch-switch: 2.10.0+2018.08.28+git.8ca7c82b7d+ds1-12
proxmox-mini-journalreader: 1.1-1
proxmox-widget-toolkit: 2.0-7
pve-cluster: 6.0-7
pve-container: 3.0-7
pve-docs: 6.0-4
pve-edk2-firmware: 2.20190614-1
pve-firewall: 4.0-7
pve-firmware: 3.0-2
pve-ha-manager: 3.0-2
pve-i18n: 2.0-3
pve-qemu-kvm: 4.0.0-5
pve-xtermjs: 3.13.2-1
qemu-server: 6.0-7
smartmontools: 7.0-pve2
spiceterm: 3.1-1
vncterm: 1.6-1
zfsutils-linux: 0.8.1-pve2
pve-manager: 6.0-7 (running version: 6.0-7/28984024)
pve-kernel-5.0: 6.0-8
pve-kernel-helper: 6.0-8
pve-kernel-5.0.21-2-pve: 5.0.21-3
pve-kernel-5.0.21-1-pve: 5.0.21-2
ceph-fuse: 14.2.2-pve1
corosync: 3.0.2-pve2
criu: 3.11-3
glusterfs-client: 5.5-3
ksm-control-daemon: 1.3-1
libjs-extjs: 6.0.1-10
libknet1: 1.11-pve1
libpve-access-control: 6.0-2
libpve-apiclient-perl: 3.0-2
libpve-common-perl: 6.0-4
libpve-guest-common-perl: 3.0-1
libpve-http-server-perl: 3.0-2
libpve-storage-perl: 6.0-8
libqb0: 1.0.5-1
lvm2: 2.03.02-pve3
lxc-pve: 3.1.0-65
lxcfs: 3.0.3-pve60
novnc-pve: 1.0.0-60
openvswitch-switch: 2.10.0+2018.08.28+git.8ca7c82b7d+ds1-12
proxmox-mini-journalreader: 1.1-1
proxmox-widget-toolkit: 2.0-7
pve-cluster: 6.0-7
pve-container: 3.0-7
pve-docs: 6.0-4
pve-edk2-firmware: 2.20190614-1
pve-firewall: 4.0-7
pve-firmware: 3.0-2
pve-ha-manager: 3.0-2
pve-i18n: 2.0-3
pve-qemu-kvm: 4.0.0-5
pve-xtermjs: 3.13.2-1
qemu-server: 6.0-7
smartmontools: 7.0-pve2
spiceterm: 3.1-1
vncterm: 1.6-1
zfsutils-linux: 0.8.1-pve2
And it's not a problem with:
- RAM (try another ram modules - the same result)
- HDDs (SMART is ok)
- Free space is OK
In PVE web gui backup process ends without any problems:
INFO: starting new backup job: vzdump 100 101 --quiet 1 --mailnotification failure --storage local --mode snapshot --compress gzip
INFO: Starting Backup of VM 100 (qemu)
INFO: Backup started at 2019-09-24 22:00:03
INFO: status = running
INFO: update VM 100: -lock backup
INFO: VM Name: VM1
INFO: include disk 'virtio0' 'local-zfs:vm-100-disk-1' 40G
INFO: include disk 'virtio1' 'local-zfs:vm-100-disk-2' 80G
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO: creating archive '/var/lib/vz/dump/vzdump-qemu-100-2019_09_24-22_00_03.vma.gz'
INFO: started backup task 'a5b5d999-fdff-4cfa-88a2-e680e99baa3e'
...
INFO: status: 100% (128849018880/128849018880), sparse 9% (12523520000), duration 3067, read/write 32/32 MB/s
INFO: transferred 128849 MB in 3067 seconds (42 MB/s)
INFO: archive file size: 61.98GB
INFO: Finished Backup of VM 100 (00:51:13)
INFO: Backup finished at 2019-09-24 22:51:16
INFO: Starting Backup of VM 101 (qemu)
INFO: Backup started at 2019-09-24 22:51:16
INFO: status = running
INFO: update VM 101: -lock backup
INFO: VM Name: VM2
INFO: include disk 'virtio0' 'local-zfs:vm-101-disk-0' 80G
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO: creating archive '/var/lib/vz/dump/vzdump-qemu-101-2019_09_24-22_51_16.vma.gz'
INFO: started backup task 'a926e604-8a88-4c9f-9848-07f368da6961'
...
INFO: status: 100% (85899345920/85899345920), sparse 98% (84260102144), duration 181, read/write 139/0 MB/s
INFO: transferred 85899 MB in 181 seconds (474 MB/s)
INFO: archive file size: 611MB
INFO: Finished Backup of VM 101 (00:03:03)
INFO: Backup finished at 2019-09-24 22:54:19
INFO: Backup job finished successfully
TASK OK
INFO: Starting Backup of VM 100 (qemu)
INFO: Backup started at 2019-09-24 22:00:03
INFO: status = running
INFO: update VM 100: -lock backup
INFO: VM Name: VM1
INFO: include disk 'virtio0' 'local-zfs:vm-100-disk-1' 40G
INFO: include disk 'virtio1' 'local-zfs:vm-100-disk-2' 80G
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO: creating archive '/var/lib/vz/dump/vzdump-qemu-100-2019_09_24-22_00_03.vma.gz'
INFO: started backup task 'a5b5d999-fdff-4cfa-88a2-e680e99baa3e'
...
INFO: status: 100% (128849018880/128849018880), sparse 9% (12523520000), duration 3067, read/write 32/32 MB/s
INFO: transferred 128849 MB in 3067 seconds (42 MB/s)
INFO: archive file size: 61.98GB
INFO: Finished Backup of VM 100 (00:51:13)
INFO: Backup finished at 2019-09-24 22:51:16
INFO: Starting Backup of VM 101 (qemu)
INFO: Backup started at 2019-09-24 22:51:16
INFO: status = running
INFO: update VM 101: -lock backup
INFO: VM Name: VM2
INFO: include disk 'virtio0' 'local-zfs:vm-101-disk-0' 80G
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO: creating archive '/var/lib/vz/dump/vzdump-qemu-101-2019_09_24-22_51_16.vma.gz'
INFO: started backup task 'a926e604-8a88-4c9f-9848-07f368da6961'
...
INFO: status: 100% (85899345920/85899345920), sparse 98% (84260102144), duration 181, read/write 139/0 MB/s
INFO: transferred 85899 MB in 181 seconds (474 MB/s)
INFO: archive file size: 611MB
INFO: Finished Backup of VM 101 (00:03:03)
INFO: Backup finished at 2019-09-24 22:54:19
INFO: Backup job finished successfully
TASK OK
But when I'm try to check backup:
7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,4 CPUs AMD A10-9700 RADEON R7, 10 COMPUTE CORES 4C+6G (660F51),ASM,AES-NI)
Scanning the drive for archives:
1 file, 66554542746 bytes (62 GiB)
Testing archive: /var/lib/vz/dump/vzdump-qemu-100-2019_09_24-22_00_03.vma.gz
--
Path = /var/lib/vz/dump/vzdump-qemu-100-2019_09_24-22_00_03.vma.gz
Type = gzip
Headers Size = 10
Sub items Errors: 1
Archives with Errors: 1
Sub items Errors: 1
7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,4 CPUs AMD A10-9700 RADEON R7, 10 COMPUTE CORES 4C+6G (660F51),ASM,AES-NI)
Scanning the drive for archives:
1 file, 641554994 bytes (612 MiB)
Testing archive: /var/lib/vz/dump/vzdump-qemu-101-2019_09_24-22_51_16.vma.gz
--
Path = /var/lib/vz/dump/vzdump-qemu-101-2019_09_24-22_51_16.vma.gz
Type = gzip
Headers Size = 10
Sub items Errors: 1
Archives with Errors: 1
Sub items Errors: 1
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,4 CPUs AMD A10-9700 RADEON R7, 10 COMPUTE CORES 4C+6G (660F51),ASM,AES-NI)
Scanning the drive for archives:
1 file, 66554542746 bytes (62 GiB)
Testing archive: /var/lib/vz/dump/vzdump-qemu-100-2019_09_24-22_00_03.vma.gz
--
Path = /var/lib/vz/dump/vzdump-qemu-100-2019_09_24-22_00_03.vma.gz
Type = gzip
Headers Size = 10
Sub items Errors: 1
Archives with Errors: 1
Sub items Errors: 1
7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,4 CPUs AMD A10-9700 RADEON R7, 10 COMPUTE CORES 4C+6G (660F51),ASM,AES-NI)
Scanning the drive for archives:
1 file, 641554994 bytes (612 MiB)
Testing archive: /var/lib/vz/dump/vzdump-qemu-101-2019_09_24-22_51_16.vma.gz
--
Path = /var/lib/vz/dump/vzdump-qemu-101-2019_09_24-22_51_16.vma.gz
Type = gzip
Headers Size = 10
Sub items Errors: 1
Archives with Errors: 1
Sub items Errors: 1
When I'm trying to restore VM:
gzip: /var/lib/vz/dump/vzdump-qemu-101-2019_09_24-22_51_16.vma.gz: invalid compressed data--crc error
or
gzip: /var/lib/vz/dump/vzdump-qemu-101-2019_09_24-22_51_16.vma.gz: invalid compressed data--format violated
** (process:23913): ERROR **: 12:47:29.844: restore failed - short vma extent (3287040 < 3781120)
/bin/bash: line 1: 23912 Exit 1 zcat /var/lib/vz/dump/vzdump-qemu-101-2019_09_24-22_51_16.vma.gz
23913 Trace/breakpoint trap | vma extract -v -r /var/tmp/vzdumptmp23910.fifo - /var/tmp/vzdumptmp23910
TASK ERROR: command 'set -o pipefail && zcat /var/lib/vz/dump/vzdump-qemu-101-2019_09_24-22_51_16.vma.gz | vma extract -v -r /var/tmp/vzdumptmp23910.fifo - /var/tmp/vzdumptmp23910' failed: exit code 133
# vzdump default settings
#tmpdir: DIR
#dumpdir: DIR
#storage: STORAGE_ID
#mode: snapshot|suspend|stop
#bwlimit: KBPS
#ionice: PRI
#lockwait: MINUTES
#stopwait: MINUTES
#size: MB
#stdexcludes: BOOLEAN
#mailto: ADDRESSLIST
#maxfiles: N
#script: FILENAME
#exclude-path: PATHLIST
#pigz: N:
pigz: 4
#tmpdir: DIR
#dumpdir: DIR
#storage: STORAGE_ID
#mode: snapshot|suspend|stop
#bwlimit: KBPS
#ionice: PRI
#lockwait: MINUTES
#stopwait: MINUTES
#size: MB
#stdexcludes: BOOLEAN
#mailto: ADDRESSLIST
#maxfiles: N
#script: FILENAME
#exclude-path: PATHLIST
#pigz: N:
pigz: 4
Reinstalling GZIP doesn't help me.
Backup with LZO compression is OK.
Is it vzdump or GZIP problem?
Last edited: