Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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

This site is currently not accepting new answers.

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