Hi,
habe mir eben einen NFS Share auf eine NAS angelegt. Leider bekomme ich beim Backup Fehlermeldungen, das beim tar die Berechtigung fehlt.
Hier der NFS Share von der Synology:
Kann mir jemand sagen, was ich falsch mache?!
Habe das hier versucht. Geht leider trotzdem nicht.
habe mir eben einen NFS Share auf eine NAS angelegt. Leider bekomme ich beim Backup Fehlermeldungen, das beim tar die Berechtigung fehlt.
Code:
Header
Proxmox
Virtual Environment 7.3-3
Knoten 'merlin'
CPU-Auslastung
0.11% von 16 CPU(s)
IO-Verzögerung
0.00%
Durchschnittliche Auslastung
0.02,0.01,0.17
RAM-Auslastung
5.44% (1.67 GiB von 30.78 GiB)
KSM sharing
0 B
/ Laufwerksspeicher
14.01% (13.16 GiB von 93.93 GiB)
SWAP-Auslastung
0.13% (11.00 MiB von 8.00 GiB)
CPU(s)
16 x AMD Ryzen 9 5900HX with Radeon Graphics (1 Socket)
Kernelversion
Linux 5.15.74-1-pve #1 SMP PVE 5.15.74-1 (Mon, 14 Nov 2022 20:17:15 +0100)
PVE-Manager-Version
pve-manager/7.3-3/c3928077
Repository-Status
Proxmox VE Updates Nicht produktionsfähiges Repository aktiviert!
Logs
()
INFO: starting new backup job: vzdump --prune-backups 'keep-last=2' --all 1 --node merlin --compress zstd --storage Lan24TB --mode snapshot --notes-template '{{guestname}}' --mailnotification always
INFO: Starting Backup of VM 100 (lxc)
INFO: Backup started at 2022-12-21 18:17:07
INFO: status = running
INFO: CT Name: Docker
INFO: including mount point rootfs ('/') in backup
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO: create storage snapshot 'vzdump'
Logical volume "snap_vm-100-disk-0_vzdump" created.
INFO: creating vzdump archive '/mnt/pve/Lan24TB/dump/vzdump-lxc-100-2022_12_21-18_17_07.tar.zst'
INFO: tar: /mnt/pve/Lan24TB/dump/vzdump-lxc-100-2022_12_21-18_17_07.tmp: Cannot open: Permission denied
INFO: tar: Error is not recoverable: exiting now
INFO: cleanup temporary 'vzdump' snapshot
Logical volume "snap_vm-100-disk-0_vzdump" successfully removed
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/Lan24TB/dump/vzdump-lxc-100-2022_12_21-18_17_07.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/Lan24TB/dump/vzdump-lxc-100-2022_12_21-18_17_07.tar.dat' failed: exit code 2
INFO: Failed at 2022-12-21 18:17:08
INFO: Starting Backup of VM 101 (lxc)
INFO: Backup started at 2022-12-21 18:17:08
INFO: status = running
INFO: CT Name: PiHole
INFO: including mount point rootfs ('/') in backup
INFO: mode failure - some volumes do not support snapshots
INFO: trying 'suspend' mode instead
INFO: backup mode: suspend
INFO: ionice priority: 7
INFO: CT Name: PiHole
INFO: including mount point rootfs ('/') in backup
INFO: temporary directory is on NFS, disabling xattr and acl support, consider configuring a local tmpdir via /etc/vzdump.conf
INFO: starting first sync /proc/2731/root/ to /mnt/pve/Lan24TB/dump/vzdump-lxc-101-2022_12_21-18_17_08.tmp
INFO: first sync finished - transferred 954.73M bytes in 121s
INFO: suspending guest
INFO: starting final sync /proc/2731/root/ to /mnt/pve/Lan24TB/dump/vzdump-lxc-101-2022_12_21-18_17_08.tmp
INFO: final sync finished - transferred 54.31M bytes in 5s
INFO: resuming guest
INFO: guest is online again after 5 seconds
INFO: creating vzdump archive '/mnt/pve/Lan24TB/dump/vzdump-lxc-101-2022_12_21-18_17_08.tar.zst'
INFO: tar: /mnt/pve/Lan24TB/dump/vzdump-lxc-101-2022_12_21-18_17_08.tmp: Cannot open: Permission denied
INFO: tar: Error is not recoverable: exiting now
ERROR: Backup of VM 101 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/Lan24TB/dump/vzdump-lxc-101-2022_12_21-18_17_08.tmp' ./etc/vzdump/pct.conf ./etc/vzdump/pct.fw '--directory=/mnt/pve/Lan24TB/dump/vzdump-lxc-101-2022_12_21-18_17_08.tmp' --no-anchored '--exclude=lost+found' --anchored '--exclude=./tmp/?*' '--exclude=./var/tmp/?*' '--exclude=./var/run/?*.pid' . | zstd --rsyncable '--threads=1' >/mnt/pve/Lan24TB/dump/vzdump-lxc-101-2022_12_21-18_17_08.tar.dat' failed: exit code 2
INFO: Failed at 2022-12-21 18:19:33
INFO: Starting Backup of VM 102 (lxc)
INFO: Backup started at 2022-12-21 18:19:33
INFO: status = stopped
INFO: backup mode: stop
INFO: ionice priority: 7
INFO: CT Name: Wireguard
INFO: including mount point rootfs ('/') in backup
INFO: creating vzdump archive '/mnt/pve/Lan24TB/dump/vzdump-lxc-102-2022_12_21-18_19_33.tar.zst'
INFO: tar: /mnt/pve/Lan24TB/dump/vzdump-lxc-102-2022_12_21-18_19_33.tmp: Cannot open: Permission denied
INFO: tar: Error is not recoverable: exiting now
ERROR: Backup of VM 102 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/Lan24TB/dump/vzdump-lxc-102-2022_12_21-18_19_33.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/Lan24TB/dump/vzdump-lxc-102-2022_12_21-18_19_33.tar.dat' failed: exit code 2
INFO: Failed at 2022-12-21 18:19:34
INFO: Starting Backup of VM 103 (lxc)
INFO: Backup started at 2022-12-21 18:19:34
INFO: status = running
INFO: CT Name: heimdall
INFO: including mount point rootfs ('/') in backup
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO: create storage snapshot 'vzdump'
Logical volume "snap_vm-103-disk-0_vzdump" created.
INFO: creating vzdump archive '/mnt/pve/Lan24TB/dump/vzdump-lxc-103-2022_12_21-18_19_34.tar.zst'
INFO: tar: /mnt/pve/Lan24TB/dump/vzdump-lxc-103-2022_12_21-18_19_34.tmp: Cannot open: Permission denied
INFO: tar: Error is not recoverable: exiting now
INFO: cleanup temporary 'vzdump' snapshot
Logical volume "snap_vm-103-disk-0_vzdump" successfully removed
ERROR: Backup of VM 103 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/Lan24TB/dump/vzdump-lxc-103-2022_12_21-18_19_34.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/Lan24TB/dump/vzdump-lxc-103-2022_12_21-18_19_34.tar.dat' failed: exit code 2
INFO: Failed at 2022-12-21 18:19:35
INFO: Starting Backup of VM 104 (qemu)
INFO: Backup started at 2022-12-21 18:19:35
INFO: status = stopped
INFO: backup mode: stop
INFO: ionice priority: 7
INFO: VM Name: Ubuntu-22.04
INFO: include disk 'scsi0' 'HDD-2-1:vm-104-disk-0' 32G
INFO: creating vzdump archive '/mnt/pve/Lan24TB/dump/vzdump-qemu-104-2022_12_21-18_19_35.vma.zst'
INFO: starting kvm to execute backup task
INFO: started backup task '9a46c137-65c9-4484-adcc-b340bb48e10c'
INFO: 1% (384.2 MiB of 32.0 GiB) in 3s, read: 128.1 MiB/s, write: 79.5 MiB/s
...
INFO: 100% (32.0 GiB of 32.0 GiB) in 5m 27s, read: 89.0 MiB/s, write: 4.0 KiB/s
INFO: backup is sparse: 27.40 GiB (85%) total zero data
INFO: transferred 32.00 GiB in 327 seconds (100.2 MiB/s)
INFO: stopping kvm after backup task
INFO: archive file size: 2.13GB
INFO: adding notes to backup
INFO: prune older backups with retention: keep-last=2
INFO: pruned 0 backup(s)
INFO: Finished Backup of VM 104 (00:05:29)
INFO: Backup finished at 2022-12-21 18:25:04
INFO: Starting Backup of VM 105 (lxc)
INFO: Backup started at 2022-12-21 18:25:04
INFO: status = stopped
INFO: backup mode: stop
INFO: ionice priority: 7
INFO: CT Name: shinobi
INFO: including mount point rootfs ('/') in backup
INFO: creating vzdump archive '/mnt/pve/Lan24TB/dump/vzdump-lxc-105-2022_12_21-18_25_04.tar.zst'
INFO: tar: /mnt/pve/Lan24TB/dump/vzdump-lxc-105-2022_12_21-18_25_04.tmp: Cannot open: Permission denied
INFO: tar: Error is not recoverable: exiting now
ERROR: Backup of VM 105 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/Lan24TB/dump/vzdump-lxc-105-2022_12_21-18_25_04.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/Lan24TB/dump/vzdump-lxc-105-2022_12_21-18_25_04.tar.dat' failed: exit code 2
INFO: Failed at 2022-12-21 18:25:05
INFO: Starting Backup of VM 106 (lxc)
INFO: Backup started at 2022-12-21 18:25:05
INFO: status = stopped
INFO: backup mode: stop
INFO: ionice priority: 7
INFO: CT Name: AdGuard
INFO: including mount point rootfs ('/') in backup
INFO: creating vzdump archive '/mnt/pve/Lan24TB/dump/vzdump-lxc-106-2022_12_21-18_25_05.tar.zst'
INFO: tar: /mnt/pve/Lan24TB/dump/vzdump-lxc-106-2022_12_21-18_25_05.tmp: Cannot open: Permission denied
INFO: tar: Error is not recoverable: exiting now
ERROR: Backup of VM 106 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/Lan24TB/dump/vzdump-lxc-106-2022_12_21-18_25_05.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/Lan24TB/dump/vzdump-lxc-106-2022_12_21-18_25_05.tar.dat' failed: exit code 2
INFO: Failed at 2022-12-21 18:25:05
INFO: Starting Backup of VM 107 (qemu)
INFO: Backup started at 2022-12-21 18:25:05
INFO: status = stopped
INFO: backup mode: stop
INFO: ionice priority: 7
INFO: VM Name: Windows10Enterprise
INFO: include disk 'scsi0' 'HDD-2-1:vm-107-disk-0' 64G
INFO: creating vzdump archive '/mnt/pve/Lan24TB/dump/vzdump-qemu-107-2022_12_21-18_25_05.vma.zst'
INFO: starting kvm to execute backup task
INFO: started backup task '1ae74157-312d-4a34-bc02-9cee5678a6f2'
INFO: 0% (228.0 MiB of 64.0 GiB) in 3s, read: 76.0 MiB/s, write: 57.7 MiB/s
...
INFO: 100% (64.0 GiB of 64.0 GiB) in 9m 59s, read: 108.3 MiB/s, write: 76.3 MiB/s
INFO: backup is sparse: 44.45 GiB (69%) total zero data
INFO: transferred 64.00 GiB in 599 seconds (109.4 MiB/s)
INFO: stopping kvm after backup task
INFO: archive file size: 9.60GB
INFO: adding notes to backup
INFO: prune older backups with retention: keep-last=2
INFO: pruned 0 backup(s)
INFO: Finished Backup of VM 107 (00:10:07)
INFO: Backup finished at 2022-12-21 18:35:12
INFO: Starting Backup of VM 108 (lxc)
INFO: Backup started at 2022-12-21 18:35:12
INFO: status = stopped
INFO: backup mode: stop
INFO: ionice priority: 7
INFO: CT Name: WG-Server
INFO: including mount point rootfs ('/') in backup
INFO: creating vzdump archive '/mnt/pve/Lan24TB/dump/vzdump-lxc-108-2022_12_21-18_35_12.tar.zst'
INFO: tar: /mnt/pve/Lan24TB/dump/vzdump-lxc-108-2022_12_21-18_35_12.tmp: Cannot open: Permission denied
INFO: tar: Error is not recoverable: exiting now
ERROR: Backup of VM 108 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/Lan24TB/dump/vzdump-lxc-108-2022_12_21-18_35_12.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/Lan24TB/dump/vzdump-lxc-108-2022_12_21-18_35_12.tar.dat' failed: exit code 2
INFO: Failed at 2022-12-21 18:35:12
INFO: Starting Backup of VM 109 (lxc)
INFO: Backup started at 2022-12-21 18:35:12
INFO: status = stopped
INFO: backup mode: stop
INFO: ionice priority: 7
INFO: CT Name: WG-Client
INFO: including mount point rootfs ('/') in backup
INFO: creating vzdump archive '/mnt/pve/Lan24TB/dump/vzdump-lxc-109-2022_12_21-18_35_12.tar.zst'
INFO: tar: /mnt/pve/Lan24TB/dump/vzdump-lxc-109-2022_12_21-18_35_12.tmp: Cannot open: Permission denied
INFO: tar: Error is not recoverable: exiting now
ERROR: Backup of VM 109 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/Lan24TB/dump/vzdump-lxc-109-2022_12_21-18_35_12.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/Lan24TB/dump/vzdump-lxc-109-2022_12_21-18_35_12.tar.dat' failed: exit code 2
INFO: Failed at 2022-12-21 18:35:13
INFO: Backup job finished with errors
TASK ERROR: job errors
Hier der NFS Share von der Synology:
Kann mir jemand sagen, was ich falsch mache?!
Habe das hier versucht. Geht leider trotzdem nicht.
Last edited: