![]() |
Mounting your OSX Mac on Your sgi (flame|fire)
[ Contribute A Tip ] [ Tips and Tricks Home ]
Step by step instructions on how to access your OSX Macintosh system directly from your sgi box. Added: July 16th 2002 Submitter: John Montgomery Score: ![]() ![]() ![]() ![]() ![]() Hits: 13545 The basic procedure to be able to access your sgi machine is the following:
This example will use NetInfo Manager on the Mac....the system tool used for managing hosts and mount points. There is an OSX tool called NFSManager (Click here to go to NFSManager Website) which provides a nice gui to configuring nfs mounts. I'd recommend using NFSManager for this instead of doing it the NetInfo way, but I figured it was best to go through the basics first and then show the settings appropriate for NFSManager. Disclaimer: Installing software and making changes on the sgi system requires root privileges, which means you can seriously mess things up if you do something wrong. By making modifications to the system you have the potential of accidentally deleting or moving and changing important files which the system may need, rendering your system useless. If you aren't confident about making changes, please don't do it. Create the Directory For Exporting On the OSX system, create the directory that you want to export. This might be in your home directory. If you created a directory called "files" in your home directory, the path would be: "/Users/your_name/files". If the directory is on another hard drive or partition, the path is a bit longer. Suppose you have a second disk called "Data" and you create the directory called "files" in it which you want to share. Since this directory is not on your startup partition, the path would be "/Volumes/Data/files".
The next thing that you have to do is use NetInfo Manager to add your discreet machine to the list of TCP/IP hosts. You will need admin privileges on your OSX Macintosh to do this. Open NetInfo Manager (it is located in /Applications/Utilities). Click on the lock to enable changes to the NetInfo information. You will need to enter your administrator password.
Create the Export
You should now have something that looks like this:
Save the settings by pressing Command-S (or selecting Save from the Domains menu). Confirm that you want to modify the settings. You'll need to restart your Mac to enable the new NFS exports. Create the Mounts on the sgi Machine First off, make sure that your macintosh is part of the /etc/hosts file on your sgi system (see the other OSX NFS tip for instructions). Next, decide where you want to mount the directory on your sgi system. For example, we have have our machines mounted at the /usr level on the sgi machine. Become super-user. Create your mount directory on the sgi. We'll create ours at /user/inferno2mac. In the shell, type:
Next, we need to modify the /etc/fstab file. This is the file where NFS mounts are defined. You can use nedit to modify the file.
Add the following line to the bottom of the file using the following format:
For our example, it would look like this:
Save the file. In the shell type the following to mount the directory:
You should now be able to cd into the directory and see the files.
|
|