Benches macOS

4

Stale automounts how to remove

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

I am getting these errors in my console log

2010/02/09 17:42:34 com.apple.autofsd[56] automount: dir GameDiscs1 must start with '/'
2010/02/09 17:42:34 com.apple.autofsd[56] automount: dir Install must start with '/'

These appear to be stale shared volumes from a long time ago. I can't find where these are getting specified so that I can remove them.

I have OS X Leopard Server and OS X Snow Leopard Client with Portable Home directory. This was upgraded from Leopard Client by logging into server and creating a PHD on the snow leopard client.

4 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 🔗

  2. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Jeff,... You seem knowledgeable about PHD and automount.. so maybe you can help me?

    I am trying to find fellow sufferers obsessed with OS X Server (10.6) + Xserve + AFS (+XSan).

    SITUATION:
    Xserve1 hosts (AFP) user accounts on an external XSan.
    Portable Home Directories sync those to client laptops.
    The XSan folder is also permanently mounted to XServe2 ('>mount' on Xserve2 shows it correctly mounted).

    THE PROBLEM:
    When I log into Xserve2, the users folder is mounted AGAIN (causing grief with file perms etc.). There was no problem pre-SnowLeopard (10.5).

    I KNOW I could just stop using PHD,.. but I don't want to give that up.
    I also KNOW that could just not mount permanently,.. but I need it for a bunch of other reasons.
    I COULD just move the files physically from Xserve1 to Xserve2 but that just shifts the problem elsewhere (I'll have double-mounts on Xserve1).

    MY QUESTION:
    1. How do you local-mount users, permanent-mount on another server, and PHD to mobile laptops syncing their home dirs.
    2. How might I prevent the automount from happening while preserving the use of PHD? (woud making a hardlink work?.. configuring fstab in an exotic way? digging into the hidden prefs on OS X Server? Latching on to some sort of apple event linked to the the system log file?

    Your help is appreciated and will win you a privileged place in heaven (and a free beer if you come by Lausanne, Switzerland).

    Best,
    Shawn

    p.s.
    other resources:
    http://discussions.info.apple.com/forum.jspa?forumID=1249
    Portable Home Directory - Apple Discussions

    http://www.ibiblio.org/macsupport/afs/afstools.html
    "it's very important that if you try to mount afs when it already mounted, you can cause sytems problems (under 10.2 and 10.3 this usually causes a kernel panic)"

    https://lists.openafs.org/mailman/listinfo/
    OpenAFS Mailing list

    http://www.makemacwork.com/portable-home-directories-1.htm
    Portable Home Directories (2008)

  3. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    There are some useful thoughts over here: http://systemsboy.com/2009/05/portable-homes-part-1-miserable-failures.html in the discussion at the end.
    This doesn't help me yet... but I'm pointing it out to other readers:

    The suggestion is to turn off automounting via the command-line for specific maps, modifying the /etc/auto_* files (in particular auto_master). We can disable specific maps (like auto_home) by commenting them out in auto_master.

    We can also disable automount on a per-computer basis by creating maps for computers that we want to automount, and disabling (or not creating) maps for computers we don’t want to automount.

  4. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Thank you Jeff and Tony for help with my "directory must start with /" problem.