SOLVED NFS on Ubuntu 13.10

Status
Not open for further replies.

TM90

Cadet
Joined
Oct 16, 2014
Messages
6
Hey,

Today I installed FreeNas 9.2.1.8 and now I am trying to set up a NFS. First I created a Volume with the volume manager. Then I created a dataset.

Now I want to set up a NFS for this dataset.

So I go to share, add UNIX(NFS) share, as mount point I select the path of my created dataset. As mapalluser and mapallgroup I select nouser and nogroup scince I changed the permission of the dataset to it.

As a final step I have gone to services and switched NFS on.

After that I have installed nfs-common on my client (Ubuntu 13.10) and I now try to mount it with:

sudo mount -t nfs 192.168.1.5:/mnt/Storage/NFS /home/tm/freenas/

It says mount.nfs Connection timed out

On the FreeNAS comes sometimes the message: rpcb_unset failed but I do not know if this has something to do with the Problem.

Does someone know what the problem here is?
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Can you ping the freenas server?
 

TM90

Cadet
Joined
Oct 16, 2014
Messages
6
Yes I can ping the freenas server:

tobias@tobias-ThinkPad-Edge:~$ ping 192.168.1.5
PING 192.168.1.5 (192.168.1.5) 56(84) bytes of data.
64 bytes from 192.168.1.5: icmp_seq=1 ttl=64 time=5.35 ms
64 bytes from 192.168.1.5: icmp_seq=2 ttl=64 time=3.88 ms
64 bytes from 192.168.1.5: icmp_seq=3 ttl=64 time=5.31 ms
64 bytes from 192.168.1.5: icmp_seq=4 ttl=64 time=2.70 ms
64 bytes from 192.168.1.5: icmp_seq=5 ttl=64 time=1.67 ms
64 bytes from 192.168.1.5: icmp_seq=6 ttl=64 time=5.23 ms
64 bytes from 192.168.1.5: icmp_seq=7 ttl=64 time=5.04 ms
64 bytes from 192.168.1.5: icmp_seq=8 ttl=64 time=4.12 ms
64 bytes from 192.168.1.5: icmp_seq=9 ttl=64 time=4.14 ms
^C
--- 192.168.1.5 ping statistics ---
9 packets transmitted, 9 received, 0% packet loss, time 8010ms
rtt min/avg/max/mdev = 1.675/4.164/5.356/1.208 ms
 

TM90

Cadet
Joined
Oct 16, 2014
Messages
6

TM90

Cadet
Joined
Oct 16, 2014
Messages
6
Ok maybe some more Information helps:

I mounted with -v to get some more information:
This messages come multiple times:

mount.nfs: timeout set for Fri Oct 17 18:51:20 2014
mount.nfs: trying text-based options 'tcp,vers=4,addr=192.168.1.5,clientaddr=192.168.1.3'
mount.nfs: mount(2): Protocol not supported
mount.nfs: trying text-based options 'tcp,addr=192.168.1.5'
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying 192.168.1.5 prog 100003 vers 3 prot TCP port 2049
mount.nfs: prog 100005, trying vers=3, prot=6
mount.nfs: trying 192.168.1.5 prog 100005 vers 3 prot TCP port 897
mount.nfs: portmap query failed: RPC: Timed out
 

Fraoch

Patron
Joined
Aug 14, 2014
Messages
395
mount.nfs: mount(2): Protocol not supported

This may sound very obvious, but do you have nfs-common installed?
 

TM90

Cadet
Joined
Oct 16, 2014
Messages
6
Ok I solved the problem I had to add my client to the Host name database and now it is working
 
Status
Not open for further replies.
Top