Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I have installed an NFS File Server on Ubuntu 11.10, and that is working well.

I am only able to connect to the NFS server from my Mac with this command:

 mount -t nfs -o vers=4 10.0.10.26:/srv /Users/admin/Desktop/mount

But I cannot connect via Finder (nfs://10.0.10.26:/srv) or through any third party programs that don't allow for the version parameter. The Syslog error is

mount_nfs: can't mount /srv from 10.0.10.26 onto /Users/admin/Desktop/mount: Program version wrong

Is there any way to set this to V4 by default? Either server side or on my Mac? I need to be able to connect without the extra parameters.

Thanks

share|improve this question
add comment

migrated from stackoverflow.com May 7 '12 at 11:52

This question came from our site for professional and enthusiast programmers.

1 Answer

The syntax for using NFS v4 (and passing options in general) is :

nfs://vers=4,10.0.10.26/srv

You can check the mount afterwards from the Terminal using :

nfsstat -m
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.