Unable to mount nfs datastore

captain118

Active Member
Jun 20, 2017
5
0
41
41
I have two nfs datastores one mounts the other one does not.

I am using the IP address not the host name to mount.

I can mount the nfs share using the linux mount command line.

I can add it using the gui but it never goes active.

The rpcinfo command works and returns:
rpcinfo 10.9.0.240
program version netid address service owner
100000 4 tcp 10.9.0.240.0.111 portmapper superuser
100000 3 tcp 10.9.0.240.0.111 portmapper superuser
100000 2 tcp 10.9.0.240.0.111 portmapper superuser
100000 4 udp 10.9.0.240.0.111 portmapper superuser
100000 3 udp 10.9.0.240.0.111 portmapper superuser
100000 2 udp 10.9.0.240.0.111 portmapper superuser
100000 4 tcp6 ::1.0.111 portmapper superuser
100000 3 tcp6 ::1.0.111 portmapper superuser
100000 4 udp6 ::1.0.111 portmapper superuser
100000 3 udp6 ::1.0.111 portmapper superuser
100000 4 local /var/run/rpcbind.sock portmapper superuser
100000 3 local /var/run/rpcbind.sock portmapper superuser
100000 2 local /var/run/rpcbind.sock portmapper superuser
100005 1 udp6 ::.2.226 mountd superuser
100005 3 udp6 ::.2.226 mountd superuser
100005 1 tcp6 ::.2.226 mountd superuser
100005 3 tcp6 ::.2.226 mountd superuser
100005 1 udp 0.0.0.0.2.226 mountd superuser
100005 3 udp 0.0.0.0.2.226 mountd superuser
100005 1 tcp 0.0.0.0.2.226 mountd superuser
100005 3 tcp 0.0.0.0.2.226 mountd superuser
100003 2 udp 0.0.0.0.8.1 nfs superuser
100003 3 udp 0.0.0.0.8.1 nfs superuser
100003 2 tcp 0.0.0.0.8.1 nfs superuser
100003 3 tcp 0.0.0.0.8.1 nfs superuser
100024 1 udp6 ::.3.254 status superuser
100024 1 tcp6 ::.3.254 status superuser
100024 1 udp 0.0.0.0.3.254 status superuser
100024 1 tcp 0.0.0.0.3.254 status superuser
100021 0 udp6 ::.3.138 nlockmgr superuser
100021 0 tcp6 ::.3.65 nlockmgr superuser
100021 0 udp 0.0.0.0.2.237 nlockmgr superuser
100021 0 tcp 0.0.0.0.3.39 nlockmgr superuser
100021 1 udp6 ::.3.138 nlockmgr superuser
100021 1 tcp6 ::.3.65 nlockmgr superuser
100021 1 udp 0.0.0.0.2.237 nlockmgr superuser
100021 1 tcp 0.0.0.0.3.39 nlockmgr superuser
100021 3 udp6 ::.3.138 nlockmgr superuser
100021 3 tcp6 ::.3.65 nlockmgr superuser
100021 3 udp 0.0.0.0.2.237 nlockmgr superuser
100021 3 tcp 0.0.0.0.3.39 nlockmgr superuser
100021 4 udp6 ::.3.138 nlockmgr superuser
100021 4 tcp6 ::.3.65 nlockmgr superuser
100021 4 udp 0.0.0.0.2.237 nlockmgr superuser
100021 4 tcp 0.0.0.0.3.39 nlockmgr superuser

showmount -e 10.9.0.240
Export list for 10.9.0.240:
/mnt/Vol0/NFSDataStore 10.9.0.0

Any help would be greatly appreciated! I really need to get these VMs back up.
 
Sometimes the showmount command times out:
showmount -e 10.9.0.240
rpc mount export: RPC: Timed out

all the other commands consistently work
 
hi
the showmount command has to work for the NFS store to be active on the Proxmox side (we use it to check for NFS availability )
try this command

pvesm nfsscan <IP_OF_NFS_SERVER>

it needs to work properly ( this uses showmount in the background)

if the command times out, try to execute the same command locally on your NFS server

showmount -e localhost
 

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!