Cannot mount the NFS share from the simulator (8.1)
Hi,
Currently I am running a one node OneFS 8.1 simulator inside a Windows machine (using VMWare workstation). The host machine has the following ipconfig settings:
C:\Users\Administrator>ipconfig
Windows IP Configuration
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : eng.foo.com corp.foo.com
Then, I can access the web-ui and ssh with no problem from another machine (10.2.52.33) by accessing 10.2.41.210:8080 and 10.2.41.210:22.
However, I cannot access the NFS share, with the following error:
jason@view-jason-ubu:~/mount$ sudo mount -t nfs -o vers=3,ro 10.2.41.210:/ifs/jason isilon-jason/
mount.nfs: access denied by server while mounting 10.2.41.210:/ifs/jason
I have the following NFS share settings for that directory:
So I was just wondering, what is wrong in my configuration that prevents me from mounting the NFS share from 10.2.52.33? Please feel free to let me know if any additional information needs to be provided.
Thank you very much for your answers! I tried NFS v4 and it works great!
Although I do want to make option 3 to work, so that I can also use v3. I have added another adapter (10.2.39.67) for my physical network:
I have also configured an interface on the VM to be bridged to that physical adapter:
In this case, how should I set the IP address on that bridged interface in the vm? I suppose I cannot use the same ip which is 10.2.39.67, right? If it will be a different IP, then how from the outside world can I connect to this new IP?
Peter_Sero
6 Operator
•
1169 Posts
22272
0
Posted August 9th, 2017 13:00
By design, NFS v3 uses variable=unpredictable port numbers, determined at startup
and announced through the "portmapper" service on fixed port 111.
Some NFS servers allow to configure fixeds port numbers for all NFS services,
but AFAIK that's not possible with OneFS.
Which leaves us with three alternatives:
1. The rpcinfo tool shows the currently choosen port numbers.
It is used by various scripts that have been written by firewall administrators
facing similar problems. Such scripts could serve as a start for
building an automated dynamic portproxy set-up.
2. Switching to NFS v4, which has fixed port numbers.
3. Using a "bridged network" set-up for the external interface of the Isilon VM.
This needs one more assigned address (like 10.2.41.211) for your physical network
to attach the VM right to the outside world.
hth
-- Peter