Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

enev

macrumors newbie
Original poster
Mar 10, 2014
2
0
I need to mount 13 different network volumes at my office. I work on a lot of different *nix workstations and would like to keep our network paths the same, including on my mac (OSX 10.8.5). So using fstab to mount to a folder called SOL_MOUNTS seems like the best option. I know it's deprecated, but it seems like it should still work.

Most of my volumes mount fine and there is no problem. Some never mount and other die after awhile. But it's never the same mount that has the problem. I've set my auto mount time out in /etc/autofs.conf to 315360000 to rule out a timeout.

I've copy/pasted my fstab and auto_master below. Any suggestions?

fstab
Code:
nas1:/jobs /MOUNTS/nas1/jobs url automounted,url==cifs://user:password@nas1/jobs 0 0
nas3:/nla /SOL_MOUNTS/nas3/nla url automounted,url==cifs://user:password@nas3/nla 0 0
nas3:/shipping /MOUNTS/nas3/shipping url automounted,url==cifs://user:password@nas3/shipping 0 0
nas4:/graphics /MOUNTS/nas4/graphics url automounted,url==cifs://user:password@nas4/graphics 0 0
nas4:/online /MOUNTS/nas4/online url automounted,url==cifs://user:password@nas4/online 0 0
nas6:/graphics /MOUNTS/nas6/graphics url automounted,url==cifs://user:password@nas6/graphics 0 0
nas6:/online /MOUNTS/nas6/online url automounted,url==cifs://user:password@nas6/online 0 0

vantage:/watch /MOUNTS/vantage/watch url automounted,url==cifs://user:password@vantage/watch 0 0
vantage:/output /MOUNTS/vantage/output url automounted,url==cifs://user:password@vantage/output 0 0

www2.website.com:/flavor_web /MOUNTS/web/website_web url automounted,url==cifs://user:password@www2.user.com/flavor_web 0 0
www.website.com:/user_web /MOUNTS/web/website_web url automounted,url==cifs://user:password@www.user.com/user_web 0 0

ar1:/archive /MOUNTS/ar1/archive url automounted,url==cifs://user:password@ar1/archive 0 0
ar1:/restore /MOUNTS/ar1/restore url automounted,url==cifs://user:password@ar1/restore 0 0


auto_master
Code:
#
# Automounter master map
#
+auto_master            # Use directory service
/net                    -hosts          -nobrowse,hidefromfinder,nosuid
/home                   auto_home       -nobrowse,hidefromfinder
/Network/Servers        -fstab
/-                      -static

/hosts                  -hosts          -nobrowse,hidefromfinder,nosuid
 

enev

macrumors newbie
Original poster
Mar 10, 2014
2
0
Sorry to bump an old thread. I still couldn't get it to work.

My workaround ended up being going to Automator and writing a bash script using
Code:
mount -t smbfs //user:pass@server/share /mnt/server/share
for each mount I needed. Then I saved the workflow out as an application, and added the application to my login items.

A bit hacky, but hey it works and hasn't dropped out on me.
 

mikepj

macrumors regular
Nov 2, 2004
146
18
Once a network file system is mounted, you can drag the mount point from your Desktop into Login Items to do the same thing. This gets kind of unruly when you have a lot of mount points though, so the Automator action might still be your best bet.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.