Problem adding NFS4 storage

innostus

Member
Feb 15, 2022
9
0
6
43
I cannot add a NFS4 storage via Datacenter->Storage->Add->NFS. I always get "create storage failed: storage 'nfsshare' is not online (500)".

I also tried adding the NFS4 storage manually to /etc/pve/storage.cfg:

nfs: nfsshare
export /nfsonceph
path /mnt/pve/nfsshare
server g1.net.innostus.com
content images,rootdir
options vers=4.1,proto=tcp

This results also in "storage 'nfsshare' is not online (500)"

However when I manually mount the share with the command below, the NFS share works perfectly.

mount -t nfs -o nfsvers=4.1,proto=tcp g1.net.innostus.com:/nfsonceph /root/nfstest

Please help.
 
Yeah I hit the same issue (in the thread linked above). The only way I could get it working was to re-enable rpcbind on the NFS server. This is what I did on Debian:
Code:
sudo systemctl unmask rpcbind.service
sudo systemctl unmask rpcbind.socket
and ensure port 111 (TCP and UDP) is open.
 
Last edited:
I cannot add a NFS4 storage via Datacenter->Storage->Add->NFS. I always get "create storage failed: storage 'nfsshare' is not online (500)".

I also tried adding the NFS4 storage manually to /etc/pve/storage.cfg:

nfs: nfsshare
export /nfsonceph
path /mnt/pve/nfsshare
server g1.net.innostus.com
content images,rootdir
options vers=4.1,proto=tcp

This results also in "storage 'nfsshare' is not online (500)"

However when I manually mount the share with the command below, the NFS share works perfectly.

mount -t nfs -o nfsvers=4.1,proto=tcp g1.net.innostus.com:/nfsonceph /root/nfstest
strands
Please help.
Try restarting the Proxmox VE services (pveproxy, pvedaemon, etc.) to see if that resolves the issue.