ERROR: job failed with err -13 - Permission denied

mhammett

Renowned Member
Mar 11, 2009
165
2
83
DeKalb, Illinois, United States
Googling shows that this error message when backing up is most often associated with LXC container permissions. While I do use LXC containers, this error appears to be exclusively on KVM\QEMU VMs. Some of them were freshly created on Proxmox, while others were migrated from VMWare. I am backing up to a PBS host and using local storage on that host. I do have VMs that were migrated that are backing up just fine. The backups start, but then fail part way through the transfer process.

Full backup log: https://pastebin.com/YjXhuZiP

Sample backup:
Code:
1031: 2025-02-11 21:02:01 INFO: Starting Backup of VM 1031 (qemu)
1031: 2025-02-11 21:02:01 INFO: status = running
1031: 2025-02-11 21:02:01 INFO: VM Name: Win-2012
1031: 2025-02-11 21:02:01 INFO: include disk 'sata1' 'local-zfs:vm-1031-disk-0' 120G
1031: 2025-02-11 21:02:01 INFO: backup mode: snapshot
1031: 2025-02-11 21:02:01 INFO: ionice priority: 7
1031: 2025-02-11 21:02:01 INFO: creating Proxmox Backup Server archive 'vm/1031/2025-02-12T03:02:01Z'
1031: 2025-02-11 21:02:03 INFO: drive-sata1: attaching fleecing image local-zfs:vm-1031-fleece-0 to QEMU
1031: 2025-02-11 21:02:03 INFO: issuing guest-agent 'fs-freeze' command
1031: 2025-02-11 21:02:10 INFO: issuing guest-agent 'fs-thaw' command
1031: 2025-02-11 21:02:24 INFO: started backup task '9848b90f-da6f-4bc4-8064-c0ae170419b4'
1031: 2025-02-11 21:02:24 INFO: resuming VM again
1031: 2025-02-11 21:02:24 INFO: sata1: dirty-bitmap status: OK (3.0 GiB of 120.0 GiB dirty)
1031: 2025-02-11 21:02:24 INFO: using fast incremental mode (dirty-bitmap), 3.0 GiB dirty of 120.0 GiB total
1031: 2025-02-11 21:02:27 INFO: 37% (1.1 GiB of 3.0 GiB) in 3s, read: 380.0 MiB/s, write: 374.7 MiB/s
1031: 2025-02-11 21:02:30 INFO: 44% (1.3 GiB of 3.0 GiB) in 6s, read: 73.3 MiB/s, write: 70.7 MiB/s
1031: 2025-02-11 21:02:33 INFO: 51% (1.6 GiB of 3.0 GiB) in 9s, read: 77.3 MiB/s, write: 73.3 MiB/s
1031: 2025-02-11 21:02:36 INFO: 59% (1.8 GiB of 3.0 GiB) in 12s, read: 74.7 MiB/s, write: 69.3 MiB/s
1031: 2025-02-11 21:02:39 INFO: 66% (2.0 GiB of 3.0 GiB) in 15s, read: 74.7 MiB/s, write: 70.7 MiB/s
1031: 2025-02-11 21:02:42 INFO: 70% (2.1 GiB of 3.0 GiB) in 18s, read: 42.7 MiB/s, write: 38.7 MiB/s
1031: 2025-02-11 21:02:42 ERROR: job failed with err -13 - Permission denied
1031: 2025-02-11 21:02:42 INFO: aborting backup job
1031: 2025-02-11 21:02:42 INFO: resuming VM again
1031: 2025-02-11 21:02:45 ERROR: Backup of VM 1031 failed - job failed with err -13 - Permission denied
 
Hi,
please upgrade to a current version, i.e. pve-qemu-kvm >= 9.0.0-2 and start your VM after installation to invoke the new binary, then you will get a more precise error message. Check also your system journal for any errors around the time of the issue. What does zpool status -v say?