Benches Uncategorized

14

FYI - Xsan 1.4.2 fixes acfsMounter script

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

For those of you who have StorNext MDCs and use the acfsMounter script to mount volumes it appears that Xsan 1.4.2 now uses the automount.plist file in /Library/Filesystems/Xsan/config.

Unfortunately they don't include the automount.plist example file so here is the code. Just replace the volume-name with your own.

<?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>
</dict>
</plist>

14 replies

Sign in or join Beachball Help to reply.

  1. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Thank you for posting this fix. This really helped me today.

    -DG

  2. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Hello TGABTG, your information was perfect! Anton directed me to your entry and I built that "automount.plist" and it all worked great! Thanks!

    We have 23 MacPro 8cores, most are connected fibre to StorNext/HP "san".

  3. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Thanks for posting. However, without the automount.plist the acfsMounter script works and when setup properly it mounts all volumes that need to mounted. Exactly what benefits from using automount.plist in stead of acfsMounter?

    If I want to use the automount.plist, do I need to trash the acfsMounter folder from the StartupItems folder?

  4. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Hi,
    I have worked with this for a while, and found out that the part with:

    <key>volume-name</key>
    <dict>
    <key>AutoMount</key>
    <string>rw</string>
    <key>MountOptions</key>
    <dict/>
    <dict/>

    might appear zero or more times. Some systems of me gets no default volumes mounted while others get 5. This can nicely be build this way.

    An empty one looks like this:

    <?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>
    </dict>
    </plist>

    Maybe this is valuable to someone.
    Donald

  5. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    This is for Xsan 1.4.2 with StorNext Metadata Controllers.

    If your acfsmounter is working then you are probably not on Xsan 1.4.2

  6. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Hi

    I would like to use this script, but am still not experienced in this kind of scrips and the concequences of implementing them.
    After update this client to Xsan 1.4.2. Xsan asks for automount.plist, like the expamle given.
    I would like to mount my 3 volumes with this scipt. (eg vol1 to vol3) but I do not understand how it works. I try'd a emty playlist, but this results in a major kernel panic.and crash of xsan client

    Robbert

  7. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    The automount.plist should be right, or you will have a kernel panic indeed!
    You do not have to restart acfs or whatever though. Modifying the file is implementing it.

    Here is an example:

    <?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>vol1</key>
    <dict>
    <key>AutoMount</key>
    <string>rw</string>
    <key>MountOptions</key>
    <dict/>
    </dict>
    <key>vol2</key>
    <dict>
    <key>AutoMount</key>
    <string>rw</string>
    <key>MountOptions</key>
    <dict/>
    </dict>
    </dict>
    </plist>

  8. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I do AM on 1.4.2 and acfsMounter is working. However, the system kept on trying to read automount.plist, which simply wasn't there. I edited it with Apple's plist editor, copied it to the Xsan config directory, removed the acfsMounter stuff, rebooted the machine et voila.

    Thanks for all the info guys!

  9. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Hey TGABTG, this is ROMTMZ, I'm using TMZ Tech Mgr. Here's my question. Do we need any of the "StartupItems", "acfs" and "acfsMounter" files/folders? Or do we only need "automounter.plist" with XSan 1.4.2?

    Also, how do I mount to "Volume/san"?

  10. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Could someone please explain the arguments "rw" for me and what their purpose is under the AutoMount key?

    I am trying to not only mount my san under the /Volumes folder, but I am trying to make a softlink to /san which would be directly under the root.

    I'm trying to find a dictionary for arguments used in a plist such as this but I'm having trouble.

    Any light would be apprecited.

  11. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    explain the arguments "rw"

    rw stands for read and write. With this you allow reading and writing the moutpoint. You could narrow this to "r" which disallows writing to the mount.

    For the other question, please make a new thread. It is an interresting question which deserves full attention of the forum users.
    Regards
    Donald

  12. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Created automount.plist file as given above, but a volume hosted by StorNext MDC is not being mounted automatically on Xsan client machine.
    While, this volume is mounted manually.

    StorNext version(MDC) is 3.2
    Xsan client machine : OS 10.5, Xsan 1.4.2

    Is there anyone who has trouble in auto-mounting StorNext volume on Xsan client?

    Thanks!

    Steve

  13. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Is the MDC in the fsnameservers file?

  14. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I'm sorry, but I can't understand what you are asking.
    Do you mean if fsnameservers file exists in config folder of Mac client?
    If so, sure fsnameservers file containing MDC's IP do exist in config folder.

    Thanks!

    Steve