Edit: I had to change the NFS server directory permissions from 775 to 777 for some reason. Even with no_root_squash the touch files are being created as such
Does anyone know how to fix this issue?
------------------------------------
I used NFS for backups in previous versions of Proxmox but I am not longer able to write to the share. Only read. I tried changing settings with
PVE /etc/pve/storage.cfg looks like so:
The NFS server /etc/exports looks like so:
I have tried changing vers to default but it did not help. It is definitely something to do with root trying to write to the server (not ZFS btw) but since it worked previously, I have no idea what I would need to change.
-rw-r--r-- 1 nobody nogroup 0 May 22 15:01 test4.txt
Does anyone know how to fix this issue?
------------------------------------
I used NFS for backups in previous versions of Proxmox but I am not longer able to write to the share. Only read. I tried changing settings with
no_root_squash
etc and nothing has helped. The only thing I did notice is that when I added a user to the hypervisor with uid:gid of 1000:1000 (same as the permissions of the NFS server mount) and do a touch with that account it works. I can not write with the pve root account though and as such I can't put backups and snapshots to the NFS serverPVE /etc/pve/storage.cfg looks like so:
Code:
nfs: nfssrv
export /mnt/pool/proxmox
path /mnt/pve/srv
server 192.168.1.20
content rootdir,iso,vztmpl,backup,snippets,images
options vers=3
prune-backups keep-all=1
The NFS server /etc/exports looks like so:
Code:
/mnt/pool/proxmox 192.168.1.0/24(rw,fsid=1,sync,no_subtree_check,no_root_squash)
I have tried changing vers to default but it did not help. It is definitely something to do with root trying to write to the server (not ZFS btw) but since it worked previously, I have no idea what I would need to change.
Last edited: