With large amounts of disk being available to the average consumer, it's becoming more and more common to build a pool for your home office and serve shared resources to your LAN. This is usually one of the more difficult situations to share files because there are usually many versions of many different operating systems. We'll explore several options below with some hints for clarification on how to make them work.
It's very simple to export an NFS share using the zfs tools.
In order to make OS X clients work properly you'll need to force the client to default to v3 of NFS. As reported in the man page:
For NFS versions that use a separate mount protocol, mount_nfs implements the mount proto-
col as described in RFC 1094, Appendix A and NFS: Network File System Version 3 Protocol
Specification, RFC 1813, Appendix I.
For NFS versions that use a separate mount protocol, mount_nfs implements the mount proto-col as described in RFC 1094, Appendix A and NFS: Network File System Version 3 Protocol Specification, RFC 1813, Appendix I.
The current NFSv4 functionality is "alpha quality" software. Some basic functionality is not yet implemented. Use at your own risk. Currently, the only way to enable NFSv4 is to specify the mount option:
You can test mounts using the following. These will not be persistent across reboots but will allow you to test the usability of your NFS shares.
You'll need to force NFSv3 using the vers=3 option and in most cases you'll want make sure the IO is sync especially for OS X