Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to mount distant NFS. This is what I have in /etc/fstab :

server.com:/mnt/hdd  /mnt/hdd  nfs rw,tcp  0 0

But this param gets added to the mount.nfs args:

clientaddr=192.168.x.x

Since the client is behind NAT, I need this param to be omitted. Man nfs says that in that case, NFS 4 would fallback to non-loopback mode. I've tried

server.com:/mnt/hdd  /mnt/hdd  nfs rw,tcp,clientaddr=  0 0

But that complains about invalid param value.

How can I make it go away?

share|improve this question

As a fallback, I've ended up with

nfs ro,tcp,nolock,nocto,vers=3

But I'd like to have NFS 4 with locks.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .