Specifications
Chapter 3 Setting Up Share Points 45
Note: If you export more than one NFS share point, you cannot have nested exports
on a single volume, which means one exported directory cannot be the child of
another exported directory on the same volume.
From the command line:
You can also set up an NFS share point using the command line in Terminal. For
information, see the man pages exports (5) , nfs.conf (5), and nfsd (8). For the
basics of command-line tool usage, see Introduction to Command-Line Administration.
Resharing NFS Mounts as AFP Share Points
Resharing NFS mounts (NFS volumes that have been exported to Mac OS X Server)
enables Mac OS 9 clients to access NFS le services on traditional UNIX networks.
To reshare an NFS mount as an AFP share point:
1 On the NFS server that’s exporting the original share point, make sure the NFS export
maps root-to-root so that AFP (which runs as root) can access the les for the clients.
2 Restrict the export to the single AFP server (seen as the client to the NFS server).
For even greater security, set up a private network for the AFP-to-NFS connection.
3 Open Server Admin and connect to the server.
4 Click File Sharing.
5 Control-click in the Volumes or Share Points list, select Mount NFS Share, then enter
the URL of the NFS server you intend to reshare.
This is the URL that connects to the reshared NFS server. For example, to connect
to the reshared NFS mount “widgets” on the root level of the server corp1, use
nfs://corp1/widgets.
6 Click OK.
Server Admin creates the NFS mount point.
7 Follow steps 1 through 6 for each NFS volume you want to reshare.
8 Using Server Admin, share the NFS mounts as AFP share points.
The NFS mounts appear as normal volumes in the Share Point list. (You can also share
the NFS mounts using SMB and FTP, but you should use only AFP.)
You can change privileges and ownership, but you can’t enable quotas (because
quotas work only on local volumes). However, if quotas are enabled on the NFS server,
they apply to the reshared volume.
Note: Quotas set on the original NFS export are enforced on the AFP reshare.