[SOLVED] Backup job failed "unable to read file"

kloven

New Member
Jan 7, 2021
2
0
1
29
Hi, I'm new to Proxmox.
I installed Proxmox "Virtual Environment 6.3-3" and added a NFS share on my QNAP NAS. I then created a ubuntu VM.
When i creat a backup i got his error :

Code:
INFO: starting new backup job: vzdump 100 --compress gzip --remove 0 --storage Backups --mode snapshot --node darwin
INFO: Starting Backup of VM 100 (qemu)
INFO: Backup started at 2021-01-07 16:41:07
INFO: status = running
INFO: VM Name: ubuntu-server
INFO: include disk 'scsi0' 'local-lvm:vm-100-disk-0' 32G
  /dev/sdb: open failed: No medium found
  /dev/sdc: open failed: No medium found
  /dev/sdd: open failed: No medium found
  /dev/sde: open failed: No medium found
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO: creating vzdump archive '/mnt/pve/Backups/dump/vzdump-qemu-100-2021_01_07-16_41_07.vma.gz'
INFO: issuing guest-agent 'fs-freeze' command
INFO: issuing guest-agent 'fs-thaw' command
ERROR: unable to read file '/mnt/pve/Backups/dump/vzdump-qemu-100-2021_01_07-16_41_07.tmp/qemu-server.conf'
INFO: aborting backup job
ERROR: Backup of VM 100 failed - unable to read file '/mnt/pve/Backups/dump/vzdump-qemu-100-2021_01_07-16_41_07.tmp/qemu-server.conf'
INFO: Failed at 2021-01-07 16:41:07
INFO: Backup job finished with errors
TASK ERROR: job errors

At first i thought the ZFS share was not writable, but proxmox had written the logs to the share.
Creating a Backup on local disk works fine.
Then I SSH into the proxmox server and try the following

Code:
root@darwin:/mnt/pve/Backups/dump# ls
vzdump-qemu-100-2021_01_07-16_30_09.log  vzdump-qemu-100-2021_01_07-16_37_14.log  vzdump-qemu-100-2021_01_07-16_37_50.log  vzdump-qemu-100-2021_01_07-16_41_07.log
root@darwin:/mnt/pve/Backups/dump# touch test
root@darwin:/mnt/pve/Backups/dump# ls
test  vzdump-qemu-100-2021_01_07-16_30_09.log  vzdump-qemu-100-2021_01_07-16_37_14.log  vzdump-qemu-100-2021_01_07-16_37_50.log  vzdump-qemu-100-2021_01_07-16_41_07.log
root@darwin:/mnt/pve/Backups/dump# ls -lrt
total 16
-rw-r--r-- 1 nobody 4294967294 897 Jan  7 15:18 vzdump-qemu-100-2021_01_07-16_30_09.log
-rw-r--r-- 1 nobody 4294967294 897 Jan  7 15:25 vzdump-qemu-100-2021_01_07-16_37_14.log
-rw-r--r-- 1 nobody 4294967294 897 Jan  7 15:26 vzdump-qemu-100-2021_01_07-16_37_50.log
-rw-r--r-- 1 nobody 4294967294 896 Jan  7 15:29 vzdump-qemu-100-2021_01_07-16_41_07.log
-rw-r--r-- 1 nobody 4294967294   0 Jan  7 15:33 test

Note the nobody 4294967294, I'm sure that ok :rolleyes:

I also try to backup in CLI, but got the same result
Code:
root@darwin:~# vzdump 100 --dumpdir /mnt/pve/Backups/dump --mode snapshot --compress gzip
INFO: starting new backup job: vzdump 100 --mode snapshot --dumpdir /mnt/pve/Backups/dump --compress gzip
INFO: Starting Backup of VM 100 (qemu)
INFO: Backup started at 2021-01-07 16:47:37
INFO: status = running
INFO: VM Name: ubuntu-server
INFO: include disk 'scsi0' 'local-lvm:vm-100-disk-0' 32G
  /dev/sdb: open failed: No medium found
  /dev/sdc: open failed: No medium found
  /dev/sdd: open failed: No medium found
  /dev/sde: open failed: No medium found
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO: creating vzdump archive '/mnt/pve/Backups/dump/vzdump-qemu-100-2021_01_07-16_47_37.vma.gz'
INFO: issuing guest-agent 'fs-freeze' command
INFO: issuing guest-agent 'fs-thaw' command
ERROR: unable to read file '/mnt/pve/Backups/dump/vzdump-qemu-100-2021_01_07-16_47_37.tmp/qemu-server.conf'
INFO: aborting backup job
ERROR: Backup of VM 100 failed - unable to read file '/mnt/pve/Backups/dump/vzdump-qemu-100-2021_01_07-16_47_37.tmp/qemu-server.conf'
INFO: Failed at 2021-01-07 16:47:38
INFO: Backup job finished with errors
job errors

Can you help figure out what going on?
At this point I'm not sure if the ZSF share is configure properly (but i can read/write on it :confused:)

Thanks in advance
 
Last edited:
So, I was using NFS V4 and i try enabling V3 on my NAS and Forcing Proxmox to use V3 and it just works :).