Fixing the nfsd export option conflict
The problem "nfsd export option conflict"
Today after updating to Mac OS X Mavericks, I realized that my Console app was getting lots of errors from nfsd and since I use nfs lot with Vagrant it was easy to figure out that the problem was coming from there. I don't know how and why but appears that in some way it created a lots of conflicts in my nfs exports. Here is the error messages from Console app:
nfsd[3493]: conflicting exports for /path/to/folder, 10.0.0.x
nfsd[3493]: exports:56: export option conflict for /path/to/folder
The Solution
The solution is quite simple, just need to clear out the /etc/exports file and restart the nfsd service. Here is the steps to solve it:
- Go to your Console app, filter by nfds and see what paths are conflicting
- Open the Terminal
- Edit the /etc/exports | sudo vim /etc/exports
- Remove the entries you want
- Save and close the file
- Restart nfsd service | sudo nfsd restart
Now you should not have any conflicts and errors appearing in Console app, if it still appears then look into your file /etc/exports file again to remove the remaining conflicts.