Michael wrote:
Kerry Mayes wrote:
I have an nfs share between two Ubuntu servers that I need to get
working again.  It was set up by our IT chap who is currently
traveling to Japan.

I've googled and found instructions on how to set up both ends and it
all looks correct but when I try to mount the share (on either of two
clients) I just get the message that it failed to mount.

The exports file looks like:

/media/sdb1 192.168.0.1/24(rw,sync)
Is probably OK.

Previously it had a specific ip address for the client, and I've also
tried adding "no_root_squash" option. ( also had the ip address set to
0.0 as that seemed more logical, but no effect).

I've restarted the kernel service and portmap on the server

Client has fstab entry:

192.168.0.215/media/sdb1 /mnt/company nfs rw,hard,intr 0 0

Try changing the entry to add the colon:
192.168.0.215:media/sdb1 /mnt/company nfs rw,hard,intr 0 0

RATS!  That should have the top directory slash too!

192.168.0.215:/media/sdb1 /mnt/company nfs rw,hard,intr 0 0

Cheers,
Michael.

Then on the server (just to be sure):
exportfs -rva

Good luck,
Michael.

I've restarted the nfs-common and portmap services on the client.

I can ping the server so that works.  I'm now at the end of my "ken".

Any ideas? Perhaps on what to research next?

Kerry.


Reply via email to