Questions tagged [nfs]

an acronym for Network File System - a file sharing protocol

NFS is a proven standard protocol, still being improved (it had it's 4th version released in 2003, with a 4.1 edition from 2010). It is an opened standard (RFC) and anyone can help improve it or implement it.

NFS is considered fast in comparison to other network protocols like SMB/CIFS (Windows world) or AFP (Mac world). This is not always true but one can choose to have NFS on top of UDP instead of TCP. UDP can have less overhead in some usage than TCP, thus being faster. However, this comes at the cost of less reliability and possible data corruption.

NFS lacks proper security, it relies mainly on IP address and UID (user ID) for security. NFS v4 has added Kerberos authentication to minimise this major drawback, although setting up a Kerberos environment is not that easy. Previous NFS releases should not be used to access sensible data over an unsecured and untrusted network.

101 questions
22
votes
2 answers

macOS Sierra: mounting NFS volumes

I have a Linux server with a number of NFS exports. I have been mounting them on my Mac by setting up an auto_nfs file, and mounting them in /nfs/… folders. I think this may the cause of some peculiar behaviour with some applications, which don’t…
Manngo
  • 3,145
  • 12
  • 33
  • 56
22
votes
2 answers

How do you mount -bind a local directory?

In linux, one of the great things you could do (for developers, in particular) was to mount a folder and locally bind it to another folder on the system. This had the advantage over symlinks due do the fact tools like Git didn't detect it as being a…
17
votes
5 answers

How to automatically mount NFS shares on OS X

I have a NFS server set up on my local LAN running on Arch Linux that I can connect to using OS X Mavericks by issuing the following command in the terminal: mount -t nfs -o resvport host:/srv/nfs4/users /mnt/host As the NFS client is a MacBook…
Nicolas De Jay
  • 483
  • 1
  • 5
  • 10
15
votes
2 answers

Why can't I open DMG files which reside on a read-only NFS filesystem?

I've discovered a strange problem... if I have disk image files (DMGs) which reside on a read-only NFS share, I cannot open these in Mac OS X 10.7.5. The same files open fine when accessed over AFP. However, trying to open them using hdiutil attach…
Josh
  • 8,449
  • 15
  • 40
  • 59
15
votes
10 answers

How can I stop OS X from automatically connecting to an NFS server on startup?

I upgraded to Lion today, but was having the same problem on Snow Leopard. When I start up my Mac and login, it automatically connects to an NFS server. I know this because I see the server in Finder in the Shared section. I'm assuming I connected…
Josh Brown
  • 709
  • 2
  • 6
  • 15
14
votes
1 answer

Why does mounting an nfs share from linux require the use of a privileged port?

I export a directory on a linux box and I can mount it from another linux box using # mount -t nfs kurush:/media/lynk /mnt/kurush/ The same command fails on Mac OS X: $ sudo mount -t nfs kurush:/media/lynk /Volumes/lynk mount_nfs: can't mount…
sds
  • 1,136
  • 2
  • 16
  • 30
12
votes
2 answers

How to share directory over NFS from Mac? (w/o macOS Server app)

First of all, I'm happy to pay the $19.99 for the Mac OS Server app from the app store, so that's no problem, it's just that at the moment I only have one specific need - NFS sharing between my macOS sierra host and a virtualbox VM guest running…
Benjamin R
  • 645
  • 2
  • 7
  • 17
9
votes
3 answers

Set Default NFS v4 when connecting from Mac OS X Lion

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…
Nick Woodhams
  • 371
  • 1
  • 3
  • 15
8
votes
3 answers

How to get nfsd to serve NFSv4 on High Sierra?

I'm hoping to serve an NFS mount from my High Sierra (10.13.4) server to a linux client. The linux client can mount using NFSv3 protocol, but I use ACLs on the served files and directories, so I think we need NFSv4. I'd like to use version 4 of the…
Matt
  • 522
  • 7
  • 20
8
votes
3 answers

Getting error: RPC prog. not avail while trying to mount using nfs

On my Raspbian jessie I have NFS server running: $ sudo service rpcbind status ● rpcbind.service - LSB: RPC portmapper replacement Loaded: loaded (/etc/init.d/rpcbind) Drop-In: /run/systemd/generator/rpcbind.service.d …
Ciasto piekarz
  • 786
  • 2
  • 17
  • 30
7
votes
1 answer

What is nfsd on macOS?

I have two questions regarding nfsd on OS X: What is managing the start/stop phase of this daemon? Launchd? It has an enable and disable mode, but I don't know what does this do. What is the default status of this service. Enabled or disabled?…
hyperknot
  • 215
  • 2
  • 8
7
votes
3 answers

How can I connect to NFS from finder?

When I'm reading this guide it seems to be quite straightforward. http://support.apple.com/kb/PH18705?viewlocale=en_US But I was expecting to be typing the ip address. I don't understand what they mean by nfs://DNSname/pathname DNSname and…
hfossli
  • 244
  • 1
  • 3
  • 10
7
votes
2 answers

automount: Another automount is running

I'm trying to reload NFS mounts on my machine. What has worked in the past is: sudo dscl . delete Mounts/ exit sudo autmount -vc But now I get the error: automount: Another automount is running Doing a sudo ps -ax | grep automount shows there's…
mgig
  • 171
  • 5
6
votes
0 answers

Improving NFS client performance

I have my Macbook Pro (MacOS Mojave) connecting to an NFS share on a Linux machine directly connected via Thunderbolt with jumbo frames. Testing with iperf3, I can do ~14 Gbps (~1.8 GBps) over the connection, so I expect that network is not the…
Pete
  • 111
  • 3
6
votes
2 answers

Using NFS between OSX and Ubuntu with mis-matched uids

I have a fileserver running Ubuntu 10.04 I'd like to access via NFS from my Mac running 10.6.8. Problem is, while the usernames are the same, the uids are different. Googling suggests that the past method of dealing with this was static uid mapping…
robmathers
  • 40,434
  • 6
  • 81
  • 116
1
2 3 4 5 6 7