NFS using Linux Host

Post Reply
tarek.elsherbiny
Posts: 16
Joined: Mon Feb 02, 2009 7:23 am

NFS using Linux Host

Post by tarek.elsherbiny » Thu Feb 05, 2009 8:13 am

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?

Van Der Hinferm
Posts: 10
Joined: Thu Dec 25, 2008 8:26 am

Re: NFS using Linux Host

Post by Van Der Hinferm » Thu Feb 05, 2009 8:26 am

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.

tarek.elsherbiny
Posts: 16
Joined: Mon Feb 02, 2009 7:23 am

Re: NFS using Linux Host

Post by tarek.elsherbiny » Mon Feb 09, 2009 4:56 am

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

Van Der Hinferm
Posts: 10
Joined: Thu Dec 25, 2008 8:26 am

Re: NFS using Linux Host

Post by Van Der Hinferm » Mon Feb 09, 2009 6:47 am

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests