惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

C
Cisco Blogs
V
Visual Studio Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Microsoft Security Blog
Microsoft Security Blog
WordPress大学
WordPress大学
S
SegmentFault 最新的问题
大猫的无限游戏
大猫的无限游戏
罗磊的独立博客
H
Hackread – Cybersecurity News, Data Breaches, AI and More
T
The Blog of Author Tim Ferriss
Microsoft Azure Blog
Microsoft Azure Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
人人都是产品经理
人人都是产品经理
Vercel News
Vercel News
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
月光博客
月光博客
博客园 - 聂微东
GbyAI
GbyAI
C
Check Point Blog
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Forbes - Security
Forbes - Security
H
Heimdal Security Blog
T
The Exploit Database - CXSecurity.com
Google DeepMind News
Google DeepMind News
Simon Willison's Weblog
Simon Willison's Weblog
G
GRAHAM CLULEY
雷峰网
雷峰网
I
Intezer
E
Exploit-DB.com RSS Feed
W
WeLiveSecurity
Engineering at Meta
Engineering at Meta
S
Securelist
Apple Machine Learning Research
Apple Machine Learning Research
博客园 - 司徒正美
N
News and Events Feed by Topic
Webroot Blog
Webroot Blog
Recent Announcements
Recent Announcements
SecWiki News
SecWiki News
T
Tor Project blog
Security Latest
Security Latest
博客园 - Franky
S
Schneier on Security
A
Arctic Wolf
Y
Y Combinator Blog
L
LINUX DO - 最新话题
The GitHub Blog
The GitHub Blog
The Register - Security
The Register - Security
小众软件
小众软件
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报

Proxmox Support Forum

[SOLVED] - Github Auth for Mirrors-Kernel Repo? [Automation] Mass migration tool for MS Win11/Server Proxmox GUI hang - not response is it possible to reject or quarantine spam based on conditions I set ? The PVENode task list in PVE9 is partially obscured due to the terminal font being too large. About 100% error reporting due to pveproxy.service hooks Kubernetes overlay networking breaks when upgrading from PVE 9.1 to PVE 9.2.3 Zentraler Speicher No space left on device Combine datastore and direct file archival to tape Kernel panic VFS: Unable to mount root fs on unknown-block (0,0) sobald ein 7.x Kernel verwendet wird. How to migrate disk of a VM from one ZFS to another Windows Server 2025 fails to boot after PVE 9.2 / Linux 7.0 Kernel upgrade Cannot Install Proxmox on T610 Poweredge with H700 PERC card sdn Config. gateway not reachable How to safely change domain/FQDN? Welche Filterquote erreicht ihr? NFS Share status unknown on 2 of 5 nodes Can't connect to PVE9 consoles [solved] Can't connect to PVE9 consoles [solved] [SOLVED] - Use secondary network for PVE commands Created cluster, one node storage gone BUG: proxmox mail gateway FROM = null bypass spam filtering Moving existing PBS from VMWare workstation to PVE cluster Does eBGP SDN fabric support external peering? Bug: PDM 1.1 not recognizing valid license status Proxmox GUI hang - not response PVE crashes unexpectedly Proxmox Backup Server 4.2 released! Advice ceph-osd crashes with kernel 6.17.2-1-pve on Dell system [META] Links on Proxmox Forum Website Hardwarer oder Software RAID Joining a cluster with already created guests VM PDM missing backup jobs from PVE / Log retention Remove VM.Monitor from all users/roles, PVE 9.2 Proxmox Freezing (new instalation) 9.2.2 - Intel 12700T No Web gui and random connection reset by peer [SOLVED] - i40e module for X710 Intel NIC Dutch Proxmox Day 2026 How pools use the space Corosync initiiert Reboot trotz Verfügbarkeit der Systeme Opt-in Linux 7.0 Kernel for Proxmox VE 9 available After PVE 8to9 upgrade, unable to check guest fs freeze status Problem with MegaRAID SAS3508 controller proxmox-kernel-7.0.2-6-pve failing network service Auto sync guest time after rollback of VM snapshot with RAM/state Broadcom BCM57504 (100G) bnxt_en TX timeout and NIC reset on Proxmox 8.1.5 — while BCM57414 (25G) works fine on same host QEMU 11.0 available on pve-test and pve-no-subscription as of now 350 MPM Solventless Lamination Machine for High-Speed Flexible Packaging Making sense of NVMe zfs and SMART errors [SOLVED] - PVE loses network connection after kernel upgrade to proxmox-kernel-7.0.0-3-pve [SOLVED] - Remove or reset cluster configuration. Proxmox 8.4.1 Fresh Install BCM57416 10G Ethernet Adapter Not Recognized PDM 1.1.1 unable to add AD realm with anonymous search [TUTORIAL] - Developer Workstation (Proxmox-VE 9) with cinnamon (LMDE7) SDN zone shows "pending" on peer nodes after node reboot (9.2.x) Cluster not quorate - extending auth key lifetime! Proxmox not rebooting properly (SOLVED) Proxmox 9 Stuck on loading initial ramdisk With new HA-Disarm Feature is there a Documentation for NUT Setup on Clusters? Proxmox 8.3 Installation Issue on ProLiant DL380 Gen9 Cluster networking setup LXC System images unavailable [SOLVED] - Fix: NVIDIA Drivers Failing after upgrade to Proxmox 9.2.2 (Kernel 7.0.2-6-pve) / NovaCore Conflict Install NUT directly on Proxmox VE and control guests from here driver usb for windows 7 System startup error and no network: Failed to start ifupdown2-pre.service - Helper to synchronize boot up for ifupdown. PBS backup space grow up constantly Proxmox Datacenter Manager 1.1 released! IPv4 not available in newly created VM Recommended Setup for Offsite Proxmox Backups? Hetzner Storage Box & Remote PBS Challenges duplicate, please delete this passthrought an USB device "by ID" to CT PDM Installer Freezes at 66% Tried PDM for the first time (version 1.1) - had issues PDM 1.1 automated install Suche Server-Provider für Proxmox connecting sdn to edge firewall SDN, IPAM & DHCP Migrating from read-only file system Ubuntu 26.04 installation fails for unknown reason Status Unbekannt nach Cluster Join Installing Proxmox Backup Server on Mac Mini (Late 2012) kernel 7.0 performance issue with zfs pools PVE becomes unreachable via ethernet but OS is running [SOLVED] - New 9.2 install - can't find 7.0.2-6-pve , not all the time [SOLVED] - Backup and dedupe a VM with LUKS Gibt es mit PVE 2.x ggf. Änderungen bei der RAM-Nutzung, bzw. deren Anzeige bei VMs? I need help for setting up backup solution Way more NAGware, very little functionality, bugs galore Root squashing virtiofsd with --uid-map Intel ixgbe Driver Update Fail Passkey Login (not 2FA) Roblox VM detection - can be overcome? [TUTORIAL] - ZFS-Autosnaptshot inkl. Rollback und Daten direkt recovern (Windows/Linux) How to stop PVE Kernel upgrade [SOLVED] - very long waiting to log in to lxc debian 11 ssh [TUTORIAL] - Configuring Fusion-Io (SanDisk) ioDrive, ioDrive2, ioScale and ioScale2 cards with Proxmox Increase maximum USB devices in vm.conf
In 7.0, I Can't backup a container to a NFS that worked in 6.0
invalid@exam · 2026-06-15 · via Proxmox Support Forum

I upgraded from Proxmox 6 to 7, by doing a clean install of Proxmox 7, mounting NFS shares, and then restoring all backups.

Now, I too am getting the same error talked about in this post:
https://forum.proxmox.com/threads/create-backup-fail-with-error-cannot-open-permission-de.32386/

Code:

INFO: including mount point rootfs ('/') in backup

INFO: creating vzdump archive '/mnt/pve/nfs-external2/dump/vzdump-lxc-104-2021_09_28-06_12_30.tar.zst'

INFO: tar: /mnt/pve/nfs-external2/dump/vzdump-lxc-104-2021_09_28-06_12_30.tmp: Cannot open: Permission denied

INFO: tar: Error is not recoverable: exiting now

ERROR: Backup of VM 104 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/nfs-external2/dump/vzdump-lxc-104-2021_09_28-06_12_30.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/nfs-external2/dump/vzdump-lxc-104-2021_09_28-06_12_30.tar.dat' failed: exit

code 2

INFO: Failed at 2021-09-28 06:12:31

INFO: Backup job finished with errors

TASK ERROR: job errors

Note: Proxmox 6 had no issue reading and writing to this exact same NFS storage, but Proxmox 7 cannot write to it.

Others have mentioned the solution of changing permission on the mount point and dump folder. When I try to change the permission on these, at the Linux command prompt, they do NOT change!

The other NFS mounts have permissions drwxrwxr-x, but I cannot change this particular NFS mount point to have those same permissions; it stays drwx------ and chmod cannot modify the permission and chmod gives no error regarding the fact that it is not successfully changing those permissions.

I've tried removing and adding back this NFS storage using the Proxmox web interface. The issue remains.

One potentially weird thing is that this particular NFS storage's hard drive has a NTFS file system and is located on an external hard-drive that is connected to a separate non-proxmox-Linux-server hosting NFS, but Proxmox 6 had no issues writing backups to that. So, if Proxmox 7 is trying to set Linux-level file-permissions on a NFS shared NTFS file system, I can see how that would cause problems: NTFS doesn't have Linux permissions. Is that the difference between Proxmox 6 and 7? How do I get past this?

Please advise.

Last edited:

The problem shouldn't be PVE7. If you want to backup unprivileged LXCs the NFS share needs to grant UID 0 and 100000 full write access. I guess chmod wont help because your NFS server got its own right management and will revert the permissions of the shares root folder back to what is set in its config files.

@Dunuin Thanks for the reply.

I don't understand what is so special about privileged or unprivileged LXC containers, that they cannot be encapsulated into a file that gets transferred to a NFS share in the same manner as all other backups!

In my thinking, a backup is just a file that contains all that is needed to restore the container. How is this unlike any of the other Virtual Machines or Containers that are successfully being written to this NFS storage?

NFS is already granted with Proxmox nodes having full write privileges to this NTFS external hard drive that I'm attempting to write the backup to. "UID 0 and 100000" have no meaning to a NTFS file system.

I don't understand what is so special about privileged or unprivileged LXC containers, that they cannot be encapsulated into a file that gets transferred to a NFS share in the same manner as all other backups!

Because a unprivileged LXC isn't run as root because of the user-remapping. The root user (UID 0) inside the LXC is in reality a unprivileged user (UID 100000) on the host. If I understand it right the final archive file will be written by root (UID 0) to your backup storage but the files of your LXC will be first written to a temp folder as the LXCs root user (UID 100000) before they get zipped. If you don't tell PVE to use another vzdump temp directory it will create the temp folder on your backup storage. Thats why both UID 0 and 100000 need write access to it. If your NFS share got 700 rights only the owner of the share has access and NFS just won't allow your PVE to store stuff there.

NFS is already granted with Proxmox nodes having full write privileges to this NTFS external hard drive that I'm attempting to write the backup to. "UID 0 and 100000" have no meaning to a NTFS file system.

Is it a locally mounted NTFS partition or a NFS share? Your right that NTFS has no posix compatible rights but when you mount a NTFS partition to a linux system you tell linux how to handle the rights. If you mount that NTFS with the options "uid=0,gid=0,umask=700" it is owned by root and only root is allowed to use it. If you mount it as "uid=0,gid=0,umask=777" its still owned by root but everyone is allowed to use it. So rights and owners still matter even if you use NTFS.

Last edited:

Thank you. Your explanation, regarding this topic, is the best I've read so far. @Dunuin

Is it a locally mounted NTFS partition or a NFS share?

Both actually. This NTFS external drive is plugged into a (non-proxmox) Ubuntu 20.04 server.

Even though the drive is external, it is mounted via fstab with the following line:

Code:

/dev/disk/by-uuid/E5BC0CBACA0ABC05 /mnt/externalNFS ntfs-3g defaults,auto,uid=0,gid=0,umask=077 0 0

Then, in /etc/exports, this NFS entry permits access by IP:

Code:

/mnt/externalNFS/VMs    192.168.95.120(rw,sync,no_root_squash,no_subtree_check)

It is my understanding that this NFS share doesn't care at all about what internal Proxmox users may be writing to it; as long as the network packets are sourced from 192.168.95.120, permission to write is fully granted.

So, I don't think Promox would have any issue creating and writing to a temp directory that it creates (by default) onto this destination drive.

However, perhaps the issue is that this is a NTFS file system that is ultimately getting written to. If Proxmox is trying to set Linux file permissions onto the temp files it creates, on top of this NTFS file system, that's not possible (as far as I know). Could that be the root issue?

If so, is it possible to write these temp files to a tar container, instead of directly to the file system itself?

If that's possible, and efficient also, it seems that Proxmox could make its backups completely file system agnostic by writing directly to a tar container. I suspect you could indeed set Linux permission to each file placed directly into a tar container-destination and avoid ever having to deal with the permissions of whatever file system technology the NFS share is actually sharing at the partition level.

Last edited:

Even though the drive is external, it is mounted via fstab with the following line:

Code:

/dev/disk/by-uuid/E5BC0CBACA0ABC05 /mnt/externalNFS ntfs-3g defaults,auto,uid=0,gid=0,umask=077 0 0

Then, in /etc/exports, this NFS entry permits access by IP:

Code:

/mnt/externalNFS/VMs    192.168.95.120(rw,sync,no_root_squash,no_subtree_check)

It is my understanding that this NFS share doesn't care at all about what internal Proxmox users may be writing to it; as long as the network packets are sourced from 192.168.95.120, permission to write is fully granted.

So, I don't think Promox would have any issue creating and writing to a temp directory that it creates (by default) onto this destination drive.

However, perhaps the issue is that this is a NTFS file system that is ultimately getting written to. If Proxmox is trying to set Linux file permissions onto the temp files it creates, on top of this NTFS file system, that's not possible (as far as I know). Could that be the root issue?

Look like "umask" is inverted. So if you give a "umask=077" it will result in a "chmod 700". So "umask=000" should work for you because this will result in a "chmod 777". So right know with your "defaults,auto,uid=0,gid=0,umask=077" you tell linux that only root and no other user may use that NTFS partition. So UID 100000 has no rights to access it and backups wont work.
Normal case NFS should keep the users that want to access the share. So if you access NFS with UID 100000 it will try to access the NTFS partition as user UID 100000.

If so, is it possible to write these temp files to a tar container, instead of directly to the file system itself?

If that's possible, and efficient also, it seems that Proxmox could make its backups completely file system agnostic by writing directly to a tar container. I suspect you could indeed set Linux permission to each file placed directly into a tar container-destination and avoid ever having to deal with the permissions of whatever file system technology the NFS share is actually sharing at the partition level.

Thats basically what I told you to do as I said to edit the /etc/vzdump.conf and set the "tmpdir" to "/tmp" so that this temporarily backup folder is stored locally at /tmp (where everyone has full 777 access) so that vzdump only needs to write the final backup archive as UID 0 to your NFS share.

Last edited:

SOLUTION FOUND
------------------------------

After further investigation, I can now confirm the root cause and working solution for LXC container backups failing to NTFS NFS shares in Proxmox 7+.

THE PROBLEM (TWO-PART)

1. NTFS filesystem limitations — NTFS doesn't properly handle Linux uid/gid mapping through NFS, which is required for unprivileged LXC backups that use user namespace mapping.

2. Directory permissions — The real culprit. LXC backups use lxc-usernsexec which maps container UID 0 to UID 100000 on the host. If the backup directory has restrictive permissions (e.g., 0700 drwx------), UID 100000 gets permission denied.

WORKING SOLUTION

1. Convert NTFS to ext4 on the external drive

2. Set proper directory permissions:
sudo chmod -R 755 /mnt/backup-path

3. NFS export configuration:
/mnt/backup-path *(rw,sync,no_root_squash,no_subtree_check)

Result: LXC container backups now succeed reliably.

The key insight: Dunuin was correct that changing umask=077 to umask=000 on an NTFS mount would have worked, but converting to ext4 is cleaner and avoids filesystem compatibility issues entirely.