On MacOSX, when you plugin a volume via USB, FireWire, or fibrechannel, it is automatically mounted under /Volumes directory. But this creates a problem between Linux and MacOS software like Autodesk wiretapgateway. For example, you have a file under Linux:
/san1/myquicktime.mov
On MacOSX, these would automatically mount under:
/Volumes/san1/myquicktime.com
And this will be a problem, between flame_linux and mac_wiretapgateway applications. We have a Mac WTG server, which is a SAN client and has a RedRocket card. And this is the best platform for us, to run wiretapgateway application.
To change this mount point, we edited the file
/Library/Preferences/Xsan/automount.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>san1</key>
<dict>
<key>AutoMount</key>
<string>rw</string>
<key>MountOptions</key>
<dict/>
</dict>
</dict>
</plist>
We just need to add keyword “At” then we define string “/san1” to the XML file.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>san1</key>
<dict>
<key>At</key>
<string>/san1</string>
<key>AutoMount</key>
<string>rw</string>
<key>MountOptions</key>
<dict/>
</dict>
</dict>
</plist>
After changing the SAN config, unmount and mount san1 volume.
wtg1:Xsan root# df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/disk0s2 931Gi 7.1Gi 923Gi 1% /
devfs 195Ki 195Ki 0Bi 100% /dev
map -hosts 0Bi 0Bi 0Bi 100% /net
map auto_home 0Bi 0Bi 0Bi 100% /home
/dev/disk11 85Ti 26Ti 59Ti 31% /san1