NFS Probleme

Lockslay

Active Member
Nov 27, 2020
134
1
38
51
Hallo zusammen,
ich habe auf einem PVE 8.2.8 ein Storage auf ein NFS Qnap NAS eingerichtet.
Bei unprivilegiert CT bekomme ich Probleme beim schreiben der Backups:


INFO: starting new backup job: vzdump 100 --notification-mode auto --notes-template '{{guestname}}' --node pve --storage PBSNAS --compress zstd --remove 0 --mode snapshot
INFO: Starting Backup of VM 100 (lxc)
INFO: Backup started at 2024-11-18 19:11:41
INFO: status = running
INFO: CT Name: debainjisti
INFO: including mount point rootfs ('/') in backup
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO: create storage snapshot 'vzdump'
INFO: creating vzdump archive '/mnt/pve/PBSNAS/dump/vzdump-lxc-100-2024_11_18-19_11_41.tar.zst'
INFO: tar: /mnt/pve/PBSNAS/dump/vzdump-lxc-100-2024_11_18-19_11_41.tmp: Cannot open: Permission denied
INFO: tar: Error is not recoverable: exiting now
INFO: cleanup temporary 'vzdump' snapshot
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/PBSNAS/dump/vzdump-lxc-100-2024_11_18-19_11_41.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 '--threads=1' >/mnt/pve/PBSNAS/dump/vzdump-lxc-100-2024_11_18-19_11_41.tar.dat' failed: exit code 2
INFO: Failed at 2024-11-18 19:11:45
INFO: Backup job finished with errors
TASK ERROR: job errors

Wenn ich das richtig verstehe, kann die temporäre Datei vzdump-lxc-100-2024_11_18-18_41_25.tmp nicht erstellt werden.
Könnte mir hier einer weiterhelfen?
 
Last edited:
Ist wahrscheinlich ein Berechtigungsproblem deines QNAP. Ev. probieren die Dateirechte auf 777 zu setzen und den Zugriff auf die IP vom Proxmox zu beschränken.

Es gibt sehr viele Beiträge zu diesem Thema in diesem Forum und wie meistens auch mehrere Wege sie zu lösen.
 
Last edited: