How to Handle Disappearing SMB Mounts on macOS?

0
3
Asked By TechyTurtle93 On

I'm in the process of migrating our network file storage using Samba to export CephFS file shares for access by Windows and Mac clients. I've noticed that on macOS, all SMB mounts drop whenever there's a brief loss of network connectivity. This is particularly frustrating when working from home, as the mounts tend to disappear frequently. I'm looking for effective strategies or solutions to manage this issue so our users don't have to deal with it constantly. How are others handling this problem?

5 Answers

Answered By NetworkNinja77 On

Yeah, macOS can be pretty quick to drop SMB mounts if there's any flicker in the network. We've seen this especially with shaky Wi-Fi or VPNs. One solution that helped us was setting up automount or using login scripts to remount shares automatically instead of relying on manual connections. Some folks even wrote small scripts to check if the mount has disappeared and reconnect it. It's not perfect, but it definitely cuts down on those annoying "my network drive vanished" tickets.

Answered By ScriptingSquirrel32 On

I've used autofs in the past, but I’m uncertain if the latest versions of macOS still support that feature.

Answered By ShortcutSage99 On

Is this issue still persisting? Back in 2016, I created an alias for users to access the file shares instead of relying on the troublesome mounting system, and it worked pretty well!

Answered By CleverCactus21 On

Yep, this behavior has been around for years. I remember there was a way to handle it using a login script with Open Directory, but I’m not sure if that’s still a viable option these days.

Answered By AutoMounterFan44 On

macOS routinely has this problem. You might want to check out some third-party tools like AutoMounter, which can help alleviate the issue. It could be a good workaround!

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.