The following procedure demonstrates how to mount the
/USADATA and the
/USA_DB server directories, on a Mac OS X 10.6 or 10.7 workstation, as NFS Shared points.
To mount NFS Export on Mac OS X 10.6 and 10.7, clients do the following:
|•||Renaming Existing /USA_DB and /USADATA Directories|
|•||Configuring the Mounts Using the Disk Utility|
Before starting, you must rename these directories if you want to keep their contents.
- Open the Terminal.
- From the Finder, go to Application > Utilities and double-click on Terminal.
- Rename the local
sudo mv /USA_DB /USA_DB.BAK
sudo mv /USADATA /USADATA.BAK
- In the Finder, go to Application > Utilities and double-click on Disk Utility.
- In Disk Utility, click on File > NFS Mounts.
The NFS Mounts window opens.
- In the Remote NFS URL field, type the following line. Replace [server name] by the name of the server. For example, if the server name is jarjar, you would type: nfs://jarjar/USA_DB.
- In the Mount Location field, type the following:
- If the workstation is going to connect to a Linux server, edit the Advanced Mount Parameters:
- Click Verify.
- Repeat steps 3 to 8, but enter the following for the Remote NFS URL and Mount Location:
- Click Save and enter your user password to confirm the changes.
- Quit the Disk Utility.
- Open a new Terminal window.
- Verify that the
/USADATAshared points have been mounted properly:
- Create symbolic links to the USA_DB and USADATA directories at the root level /
sudo ln -s /Volumes/USA_DB /USA_DB
sudo ln -s /Volumes/USADATA /USADATA
- Verify that the symbolic links are pointing to the right directories:
ls -l /
The symbolic links for the /USA_DB and /USADATA should look like the following:
USADATA -> /Volumes/USADATA
USA_DB -> /Volumes/USA_DB