Glam Prestige Journal

Bright entertainment trends with youth appeal.

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?

1 Answer

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.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy