Jan 072008
 

The information Apple provides to automount Xsan to SNFS is dated for Xsan 1.4.2.

Xsan 1.4.2 uses the automount.plist file to mount SAN volumes. In order to mount the SNFS filesystem after each reboot of the OS X computer, configure the automount.plist file.

Create /Library/Filesystems/Xsan/config/automount.plist using this template, and change fsname to the name of your filesystem.

A template is available for download here: Xsan automount.plist

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Volume_name</key>
<dict>
<key>AutoMount</key>
<string>rw</string>
<key>MountOptions</key>
<dict/>
</dict>
<key>Another_volume_name</key>
<dict>
<key>AutoMount</key>
<string>rw</string>
<key>MountOptions</key>
<dict/>
</dict>
</dict>
</plist>

Details on configuring OS X to connect to SNFS are below.

Xsan 1.4.2: How to join to a StorNext Network

1. Connect the Apple computer to the SAN’s metadata Ethernet and Fibre Channel networks.

2. Install the Xsan software (1.4.2) on the Apple computer.

3. Once it’s installed, set up the software as follows:
a. On the Apple client, open Xsan Admin, which is located at /Applications/Server/, and connect to the Apple computer.
b. Select the SAN in the SAN Components list.
c. Click Setup, and then click Computers.
d. Double-click the client in the list (in the center of the window).
e. Enter the Xsan serial number (it’s printed on a sticker on the Xsan Installation disc sleeve).
f. Click Save, and quit Xsan Admin.

4. Go to an existing StorNext client on the SAN and print a copy of its fsnameservers file. On SGI IRIX, Sun Solaris, IBM AIX, and Linux StorNext clients, you can find the file at /usr/cvfs/config/.

On Windows clients, you can find the file at \%cvfsroot%\config\ where %cvfsroot% is the directory in which you installed the StorNext software.

5. Create a new plaintext file called fsnameservers in the /Library/FileSystems/Xsan/config/ directory. Populate the file with the content of the StorNext file that was printed in the previous step. Note: If the content of the fsnameservers file specifies the metadata controller by its fully qualified domain name (FQDN), you must convert this to the metadata controller’s IP address. To convert an FQDN to an IP Address, use the following command:

host <FQDN>

6. Type this command in the Terminal:

$ sudo rm /Library/Filesystems/Xsan/config/.auth_secret

7. Start the Xsan application. In the Terminal application, type:

sudo kill -HUP `cat /var/run/fsmpm.pid`

8. Verify that the system has started. In the Terminal, type:

/Library/FileSystems/Xsan/bin/cvadmin

You should see a list of filesystems that contain the StorNext filesystem. If the filesystem does not appear in the list, repeat step 3.

9. Create a mount point for the filesystem: In a Finder window, create a new folder at /Volumes where the file system will be mounted. The name of this directory should be the name of the file system. Or, use Terminal:

mkdir –p /Volumes/file_system_name
chmod –R 777 /Volumes/file_system_name

10. Restart the Xsan software:

sudo kill -HUP `cat /var/run/fsmpm.pid`

11. Mount the StorNext FS file system to the mount point:

In the Terminal, type:

sudo mount –t acfs fsname /Volumes/fsname

(Where <fsname> is the name of the file system.)

The SNFS filesystem should now be mounted on the OS X computer. In order to mount the SNFS filesystem after each reboot of the OS X computer, configure the automount.plist file.

Create /Library/Filesystems/Xsan/config/automount.plist using this template, and change fsname to the name of your filesystem.

A template is available on the top of this article. Change the file from .txt to .plist, and make sure the permissions allow it to be read.

If anything is left out, please let me know: [email protected]

 Posted by at 09:59