Hi everyone.
I'm running Proxmox 6.4 with some LXC containers and a couple of QVM's.
One LXC Container is failing to backup to my Synology NAS (NFS). I don't understand why.
Here are the logs for the LXC that fails:
INFO: starting new backup job: vzdump 100 --compress zstd --storage SynologyNAS --mode snapshot --remove 0 --node proxmox
INFO: Starting Backup of VM 100 (lxc)
INFO: Backup started at 2021-11-18 11:24:27
INFO: status = running
INFO: CT Name: Koala
INFO: including mount point rootfs ('/') in backup
INFO: excluding volume mount point mp1 ('/mnt/media') from backup (disabled)
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO: create storage snapshot 'vzdump'
Logical volume "snap_vm-100-disk-0_vzdump" created.
/dev/sdc: open failed: No medium found
/dev/sdc: open failed: No medium found
INFO: creating vzdump archive '/mnt/pve/SynologyNAS/dump/vzdump-lxc-100-2021_11_18-11_24_27.tar.zst'
INFO: tar: ./var/cache/private: Cannot open: Permission denied
INFO: tar: ./var/lib/private: Cannot open: Permission denied
INFO: tar: ./var/log/mail.err: Cannot open: Permission denied
INFO: tar: ./var/log/btmp: Cannot open: Permission denied
INFO: tar: ./var/log/private: Cannot open: Permission denied
INFO: Total bytes written: 1660692480 (1.6GiB, 30MiB/s)
INFO: tar: Exiting with failure status due to previous errors
INFO: cleanup temporary 'vzdump' snapshot
Logical volume "snap_vm-100-disk-0_vzdump" successfully removed
/dev/sdc: open failed: No medium found
ERROR: Backup of VM 100 failed - command 'set -o pipefail && lxc-usernsexec -m u:0:100000:65536 -m g:0:100000:65536 -- tar cpf - --totals --one-file-system -p --sparse --numeric-owner --acls --xattrs '--xattrs-include=user.*' '--xattrs-include=security.capability' '--warning=no-file-ignored' '--warning=no-xattr-write' --one-file-system '--warning=no-file-ignored' '--directory=/mnt/pve/SynologyNAS/dump/vzdump-lxc-100-2021_11_18-11_24_27.tmp' ./etc/vzdump/pct.conf ./etc/vzdump/pct.fw '--directory=/mnt/vzsnap0' --no-anchored '--exclude=lost+found' --anchored '--exclude=./tmp/?*' '--exclude=./var/tmp/?*' '--exclude=./var/run/?*.pid' ./ | zstd --rsyncable '--threads=1' >/mnt/pve/SynologyNAS/dump/vzdump-lxc-100-2021_11_18-11_24_27.tar.dat' failed: exit code 2
INFO: Failed at 2021-11-18 11:25:24
INFO: Backup job finished with errors
TASK ERROR: job errors
Is it failing because of the Permission denied errors? If so, what's wrong with this particular LXC that has these files/dirs with no read permissions?
When I ssh to the LXC and try to sudo access the files I still can't read them. I'm a bit lost. Here is a screenshot of the /var/log directory.
Thanks for the help.
I'm running Proxmox 6.4 with some LXC containers and a couple of QVM's.
One LXC Container is failing to backup to my Synology NAS (NFS). I don't understand why.
Here are the logs for the LXC that fails:
INFO: starting new backup job: vzdump 100 --compress zstd --storage SynologyNAS --mode snapshot --remove 0 --node proxmox
INFO: Starting Backup of VM 100 (lxc)
INFO: Backup started at 2021-11-18 11:24:27
INFO: status = running
INFO: CT Name: Koala
INFO: including mount point rootfs ('/') in backup
INFO: excluding volume mount point mp1 ('/mnt/media') from backup (disabled)
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO: create storage snapshot 'vzdump'
Logical volume "snap_vm-100-disk-0_vzdump" created.
/dev/sdc: open failed: No medium found
/dev/sdc: open failed: No medium found
INFO: creating vzdump archive '/mnt/pve/SynologyNAS/dump/vzdump-lxc-100-2021_11_18-11_24_27.tar.zst'
INFO: tar: ./var/cache/private: Cannot open: Permission denied
INFO: tar: ./var/lib/private: Cannot open: Permission denied
INFO: tar: ./var/log/mail.err: Cannot open: Permission denied
INFO: tar: ./var/log/btmp: Cannot open: Permission denied
INFO: tar: ./var/log/private: Cannot open: Permission denied
INFO: Total bytes written: 1660692480 (1.6GiB, 30MiB/s)
INFO: tar: Exiting with failure status due to previous errors
INFO: cleanup temporary 'vzdump' snapshot
Logical volume "snap_vm-100-disk-0_vzdump" successfully removed
/dev/sdc: open failed: No medium found
ERROR: Backup of VM 100 failed - command 'set -o pipefail && lxc-usernsexec -m u:0:100000:65536 -m g:0:100000:65536 -- tar cpf - --totals --one-file-system -p --sparse --numeric-owner --acls --xattrs '--xattrs-include=user.*' '--xattrs-include=security.capability' '--warning=no-file-ignored' '--warning=no-xattr-write' --one-file-system '--warning=no-file-ignored' '--directory=/mnt/pve/SynologyNAS/dump/vzdump-lxc-100-2021_11_18-11_24_27.tmp' ./etc/vzdump/pct.conf ./etc/vzdump/pct.fw '--directory=/mnt/vzsnap0' --no-anchored '--exclude=lost+found' --anchored '--exclude=./tmp/?*' '--exclude=./var/tmp/?*' '--exclude=./var/run/?*.pid' ./ | zstd --rsyncable '--threads=1' >/mnt/pve/SynologyNAS/dump/vzdump-lxc-100-2021_11_18-11_24_27.tar.dat' failed: exit code 2
INFO: Failed at 2021-11-18 11:25:24
INFO: Backup job finished with errors
TASK ERROR: job errors
Is it failing because of the Permission denied errors? If so, what's wrong with this particular LXC that has these files/dirs with no read permissions?
When I ssh to the LXC and try to sudo access the files I still can't read them. I'm a bit lost. Here is a screenshot of the /var/log directory.
Thanks for the help.