NFS: Permission denied for images/100/ but backups showing

ott

New Member
Dec 17, 2021
18
2
3
44
Hi, had to reboot everything due to electric inspection and used the opportunity for an quick update from Truenas Scale 'RC2' to 'release'.

Now the proxmox/nfs/permission problem: I use NFS for VM disks and backups, and after the reboot I cannot see any vmdisks (.qcow2). However, the backups are visible in the GUI. The qcow2 files are there, but permissions...:

Code:
cd /mnt/pve/nfsTN10G/images/
ls
100 101

and,

Code:
cd /mnt/pve/nfsTN10G/images/100: Permission denied

also, on truenas

Code:
root@truenas[/mnt/wdmirror/proxmoxNFS/images]# cd 100
root@truenas[/mnt/wdmirror/proxmoxNFS/images/100]# ls
vm-100-disk-0.qcow2

So how do I give back proxmox its nfs permissions?
 
ok, so... I don't know if this is even close to the correct way of solving this but:
Code:
root@truenas[/mnt/wdmirror/proxmoxNFS/dump]# cd /mnt/wdmirror/proxmoxNFS/images
root@truenas[/mnt/wdmirror/proxmoxNFS/images]# ls -l                             
total 1
drwxr----- 2 root root 3 Jan  8 11:11 100
drwxr----- 2 root root 3 Jan  5 21:10 101

root@truenas[/mnt/wdmirror/proxmoxNFS/images]# chmod 770 100
root@truenas[/mnt/wdmirror/proxmoxNFS/images]# ls -l
total 1
drwxrwx--- 2 root root 3 Jan  8 11:11 100
drwxr----- 2 root root 3 Jan  5 21:10 101

root@truenas[/mnt/wdmirror/proxmoxNFS/images]# chmod 770 101

root@truenas[/mnt/wdmirror/proxmoxNFS/images]# chmod 770 100/*
root@truenas[/mnt/wdmirror/proxmoxNFS/images]# chmod 770 101/*
       
root@truenas[/mnt/wdmirror/proxmoxNFS/images]# ls -l
total 1
drwxrwx--- 2 root root 3 Jan  8 11:11 100
drwxrwx--- 2 root root 3 Jan  5 21:10 101

and I think everything is working again...
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!