Can't add NFS share as storage (EPERM: Operation not permitted)

VERTEX80

New Member
Mar 26, 2023
1
1
3
Hi,

I would like to add the folder /mnt/pbs as a storage.

Code:
root@pbs1:/mnt/pbs# ll
total 9.0K
drwxrwxrwx 2 backup backup 2 Mar 26 05:40 .
drwxr-xr-x 4 root   root   4 Mar 25 20:43 ..

Everyone has write permissions, user backup is owner as well.

Code:
root@pbs1:/mnt/pbs# sudo -u \#34 -g \#34 touch /mnt/pbs/test.file
root@pbs1:/mnt/pbs# ll
total 9.5K
drwxrwxrwx 2 backup backup 3 Mar 26 05:41 .
drwxr-xr-x 4 root   root   4 Mar 25 20:43 ..
-rw-r--r-- 1 backup backup 0 Mar 26 05:41 test.file
root@pbs1:/mnt/pbs# id -u backup
34

However, when I try to add it as storage:



Any ideas?

Thank you!


I was able to use it when I export the NFS share with the following options:
all_squash, anonuid=34, anongid=34
 
Last edited:
  • Like
Reactions: SirLagz
I was running into the same issue, however I used no_root_squash and set owner on the NFS share to the backup user and group.
 

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!