Page 1 of 1

NFS using Linux Host

Posted: Thu Feb 05, 2009 8:13 am
by tarek.elsherbiny
What is the procedure to mount a directory from my Linux host to the S3C2440 board using NFS?

I tried to type the mount command given in the user manual but it did not work. It might be I need special configuration for my Ubuntu host machine?

Re: NFS using Linux Host

Posted: Thu Feb 05, 2009 8:26 am
by Van Der Hinferm
mount -t <type of filesystem> <host>:/<share> <mountpoint>

For example I have a NFS server named pepe and it shares /alm directory,I want to mount it in /mnt in my arm box.

The sentence is as follow:

mount -t nfs pepe:/alm /mnt

If you dont have your name solved in hosts file you can use the ip also.

mount -t nfs 192.168.0.2:/alm /mnt

Be sure your host is configured properly granting access to guests, look at exports file in your host.

Re: NFS using Linux Host

Posted: Mon Feb 09, 2009 4:56 am
by tarek.elsherbiny
I tried several times but i get this error message:

# mount -t nfs 10.10.10.1:/nfs /mnt/nfs
portmap: server localhost not responding, timed out
RPC: failed to contact portmap (errno -5).
portmap: server localhost not responding, timed out
RPC: failed to contact portmap (errno -5).
lockd_up: makesock failed, error=-5
portmap: server localhost not responding, timed out
RPC: failed to contact portmap (errno -5).

Any suggestions?

Thanks

Re: NFS using Linux Host

Posted: Mon Feb 09, 2009 6:47 am
by Van Der Hinferm
You get these errors because you don't have any portmap service running in your
guest, but these is not necessary to get nfs working.

If you look your mounts after the return of the command line for example with df
command, you can see your shared directory mounted where you especify in the mount
sentence.

These mistake is due to lack of portmap service in the arm box but the system can mount nfs shares, obviously it takes more time to resolve rpc ports.