Hi,
we have the problem that every couple of days the backup of one VM fails. Most of the time it fails for different VMs.
The backup storage is a NFS share on a backup server.
The reason for that is probably that the NFS server is not responding fast enough to a check of Proxmox, beaus of high load.
Is it possible to increase the timeout or add something to force an retry if a backup attempt field?
The backup of the next VM a couple of seconds later is working without any problems again.
I assume the test resulting in "storage 'offsite-backups' is not online" is /sbin/showmount --no-headers --exports xxx.xxx.xxx.xxx with a 2 Sec. timout in /usr/share/perl5/PVE/Storage/NFSPlugin.pm.
If that is correct is there a way to increase the timeout without changing the file which might be replaced by updates?
Proxmox 5.4-13
/etc/pve/storage.cfg
/etc/vzdump.conf
no changes
/etc/cron.d/vzdump
we have the problem that every couple of days the backup of one VM fails. Most of the time it fails for different VMs.
The backup storage is a NFS share on a backup server.
The reason for that is probably that the NFS server is not responding fast enough to a check of Proxmox, beaus of high load.
Is it possible to increase the timeout or add something to force an retry if a backup attempt field?
The backup of the next VM a couple of seconds later is working without any problems again.
104: 2019-11-08 23:22:06 INFO: status: 99% (34179383296/34359738368), sparse 10% (3526156288), duration 648, read/write 53/38 MB/s
104: 2019-11-08 23:22:07 INFO: status: 100% (34359738368/34359738368), sparse 10% (3619962880), duration 649, read/write 180/86 MB/s
104: 2019-11-08 23:22:07 INFO: transferred 34359 MB in 649 seconds (52 MB/s)
104: 2019-11-08 23:22:18 INFO: archive file size: 12.77GB
104: 2019-11-08 23:22:27 INFO: delete old backup '/mnt/pve/offsite-backups/dump/vzdump-qemu-104-2019_11_06-23_11_17.vma.lzo'
104: 2019-11-08 23:22:31 INFO: Finished Backup of VM 104 (00:11:14)
114: 2019-11-08 23:22:31 INFO: Starting Backup of VM 114 (qemu)
114: 2019-11-08 23:22:31 INFO: status = running
114: 2019-11-08 23:22:32 INFO: update VM 114: -lock backup
114: 2019-11-08 23:22:32 INFO: VM Name: test-one
114: 2019-11-08 23:22:32 INFO: include disk 'scsi0' 'rbd:vm-114-disk-0' 32G
114: 2019-11-08 23:22:32 INFO: backup mode: snapshot
114: 2019-11-08 23:22:32 INFO: ionice priority: 7
114: 2019-11-08 23:22:35 INFO: creating archive '/mnt/pve/offsite-backups/dump/vzdump-qemu-114-2019_11_08-23_22_31.vma.lzo'
114: 2019-11-08 23:22:42 ERROR: got timeout
114: 2019-11-08 23:22:42 INFO: aborting backup job
114: 2019-11-08 23:22:48 ERROR: Backup of VM 114 failed - got timeout
117: 2019-11-08 23:22:48 INFO: Starting Backup of VM 117 (qemu)
117: 2019-11-08 23:22:48 INFO: status = running
117: 2019-11-08 23:22:48 INFO: update VM 117: -lock backup
117: 2019-11-08 23:22:48 INFO: VM Name: one
117: 2019-11-08 23:22:48 INFO: include disk 'scsi0' 'rbd:vm-117-disk-0' 32G
117: 2019-11-08 23:22:48 INFO: backup mode: snapshot
117: 2019-11-08 23:22:48 INFO: ionice priority: 7
117: 2019-11-08 23:22:48 INFO: creating archive '/mnt/pve/offsite-backups/dump/vzdump-qemu-117-2019_11_08-23_22_48.vma.lzo'
117: 2019-11-08 23:22:48 INFO: started backup task 'f2200e11-d850-4479-8110-7be4400c8c92'
117: 2019-11-08 23:22:51 INFO: status: 0% (254672896/34359738368), sparse 0% (16146432), duration 3, read/write 84/79 MB/s
117: 2019-11-08 23:22:54 INFO: status: 1% (373293056/34359738368), sparse 0% (36487168), duration 6, read/write 39/32 MB/s
Nov 08 23:22:20 proxmox1 pvestatd[xxx]: storage 'offsite-backups' is not online
Nov 08 23:22:31 proxmox1 vzdump[xxx]: INFO: Finished Backup of VM 104 (00:11:14)
Nov 08 23:22:31 proxmox1 vzdump[xxx]: INFO: Starting Backup of VM 114 (qemu)
Nov 08 23:22:32 proxmox1 qm[xxx]: <root@pam> update VM 114: -lock backup
Nov 08 23:22:48 proxmox1 vzdump[xxx]: ERROR: Backup of VM 114 failed - got timeout
Nov 08 23:22:48 proxmox1 vzdump[xxx]: INFO: Starting Backup of VM 117 (qemu)
I assume the test resulting in "storage 'offsite-backups' is not online" is /sbin/showmount --no-headers --exports xxx.xxx.xxx.xxx with a 2 Sec. timout in /usr/share/perl5/PVE/Storage/NFSPlugin.pm.
If that is correct is there a way to increase the timeout without changing the file which might be replaced by updates?
Proxmox 5.4-13
/etc/pve/storage.cfg
nfs: offsite-backups
export /1/backup
path /mnt/pve/offsite-backups
server xxx.xxx.xxx.xxx
content backup
maxfiles 1
options vers=4
/etc/vzdump.conf
no changes
/etc/cron.d/vzdump
vzdump --mode snapshot --all 1 --compress lzo --mailto xxx@xxx --mailnotification failure --quiet 1 --storage offsite-backups
Last edited: