muffinMan
Dabbler
- Joined
- May 13, 2018
- Messages
- 10
Is anyone successfully using the automount service in macOS to mount SMB shares? Supposedly it is supposed to work along these lines (link is a few years old and I haven't found an example for setup on macOS High Sierra). Getting this to work would be an improvement over adding the share point to my login items, which I have done, but still drops the SMB connection occasionally (I'm not sure if waking from sleep with a password triggers a "login," and if I bring my MacBook home from work the drive isn't necessarily automatically mounted when I connect to my home wifi).
I've set up my /etc/auto_master and /etc/auto_nas files as per the link above. After the setup, it looks like the SMB is mounted ("media", my share, is mounted at /mnt/nas on my mac) but when I try to open the share directory or use "ls" commands within it, I get the error:
But the host is not down. I can use Finder and the GUI to mount the share at /Volumes and I can navigate, read, and write just fine. I'm trying to figure out if this is a problem with my mac or if there are settings in me SMB share I might have to change in FreeNAS to get this to work. Anyone experiencing similar challenges? Thanks!
I've set up my /etc/auto_master and /etc/auto_nas files as per the link above. After the setup, it looks like the SMB is mounted ("media", my share, is mounted at /mnt/nas on my mac) but when I try to open the share directory or use "ls" commands within it, I get the error:
Code:
cannot open directory '/mnt/nas/media/': Host is down
But the host is not down. I can use Finder and the GUI to mount the share at /Volumes and I can navigate, read, and write just fine. I'm trying to figure out if this is a problem with my mac or if there are settings in me SMB share I might have to change in FreeNAS to get this to work. Anyone experiencing similar challenges? Thanks!