autofs not working properly now!
I used Autofs to auto mount some volumes on my NAS, they mounted and stayed that way no matter what. Now i lose the mount and sudo automount -vc no longer remounts. Totally *****.
Macbook Pro, Mac OS X (10.6.7)
I used Autofs to auto mount some volumes on my NAS, they mounted and stayed that way no matter what. Now i lose the mount and sudo automount -vc no longer remounts. Totally *****.
Macbook Pro, Mac OS X (10.6.7)
I finally did update my work machine to Sierra. Even though Apple has removed the autofs documentation, it still seems to work for me. But it is important to note that I am using a machine bound to a Windows domain and using my Active Directory account to access file servers. This particular organization seems to handle Active Directory and Macs better than I have ever seen it done elsewhere. What this means is that if you have a supported and functional network environment, autofs does still work.
I have this problem too. Apple, imo, is going downhill fast. Oh well, I'll stop. After months of trying different possible solutions such as reducing the number of automount volumes from two to one and also increasing the automount timeout (which I believe works to a certain extent), I am now trying the default settings (w/ the standard 300 second timeout) but have added a launchd agent to touch a file on the mount every 290 seconds or so.
I don't like doing this for several reasons but I thought I'd give it a try just to see if it works. Will report back w/ my findings.
Hello Linium,
That does not sound like correct behaviour of autofs. I mean your description of how it used to work. Autofs is designed to mount on demand and automatically unmount after a while. Running sudo automount -vc should not remount anything. You would have to go into mapped folder to do that.
Can you describe how your autofs is configured?
http://blog.grapii.com/2015/06/keep-network-drives-mounted-on-mac-os-x-using-aut ofs/
I used this tutorial ands it worked flawlessly for about 6 months until last night when i upgraded to Sierra.
Hello again Linium,
I'm impressed. Those instructions are correct. What happens if you navigate to the /mnt/NAS folder?
The shares disappear from the mnt/nas folde. This is new behaviour since sierra.
Are you using a Synology NAS? If you aren't what brand of NAS are you using? Are you mounting the NAS on your Mac using AFP (afp:/....) or SMB (smb:/...)?
AFP is broken in Mac OS X Sierra I've already contacted Applecare and I opened a ticket. I also opened one with Synology.
See this forum post: https://forum.synology.com/enu/viewtopic.php?f=64&t=122975
If you are using AFP you'll see errors for your NAS volume in the Console logs on your Mac. They popped up when I tried to access my Photos and iTunes libraries. Complete and utter disaster.
Due to this and other problems I'm considering dumping the whole NAS scenario and going back to directly attached storage. I'm pretty angry about this latest quality fiasco with Apple. SIGH!!!
Yes its a Synology 1815+. Ive always used SMB as AFP is just not reliable. Ive rolled back to 10.11 El Capitan and all is well again. Autofs works great when apple doesn't break it.
Linium wrote:
Yes its a Synology 1815+. Ive always used SMB as AFP is just not reliable. Ive rolled back to 10.11 El Capitan and all is well again. Autofs works great when apple doesn't break it.
To be clear... App developers have plenty of time to make their apps work in a new OS X - it is up to the app developer to update their app to adapt to any new routines - whether by complying or working-around.
Autofs isn't an app. It's a feature built into macOS.
My bad - 1st cuppa coffee and I musta thought I was replying to another post (I do that from email notices!)
No excuse though! 😊
If you haven't already, you and all your friends (especially those in this thread) should
Contact Apple Support - AND - file a "bug report" from the menu choice on the form found following this path > Product Feedback - Apple
How are mounting the share folders? Just via finder or by autofs?
Linium wrote:
The shares disappear from the mnt/nas folde. This is new behaviour since sierra.
But they never should have been there to begin with.
When you use autofs, everything is mounted on-demand. When you navigate to a mount point, the icon in the title bar will start out with a white generic icon, there will be no content, and a spinner in the lower right corner. Then the title bar icon will change to a folder and the window will populate with the contents of the share.
Well under El capitan they are always there and available. I like this behaviour! My Plex server always has access to my media files. My Mac mini and synology are often on for 30-90 days before I need to restart for an update and the connection NEVER drops. Now under sierra it doesn't work.
autofs not working properly now!