Skip navigation
This discussion is archived

Keeping network shares connected

1942 Views 1 Reply Latest reply: Apr 25, 2009 8:44 AM by tomy99 RSS
Rick Anderson Level 2 Level 2 (165 points)
Currently Being Moderated
Feb 22, 2009 11:52 PM
I have a few scripts running on my Mac at work where we have some critical data being shuffled around. In order to access some of this data, it has to stay connected to a couple network shares (on Windows servers) but there's never been a way to maintain a persistent network connection (or a placeholder for) on the Mac as far as I know. I need something like what Windows has. On Windows, you can map a drive and even if it gets disconnected, it will reconnect automatically if a program or user needs access. On the Mac, if the connection is dropped, it's gone until someone manually reconnects. I need this to be reliable and able to function without a lot of babysitting.

I wrote a mount command into my script to make sure the share is mounted before running but lately I've been finding that the mount attempt occasionally fails and leaves me with a folder in /Volumes that then acts as an impediment to getting connected later (have to manually remove the darn folder and start over.)

So, any thoughts or suggestions on how to get these network share connections to be a little more persistent and reliable? There has to be some way to do this.

Message was edited by: Rick Anderson
Mac OS X (10.5.6)

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.