Jump to content
Sign in to follow this  
BearsFan34

Network Drive keeps unmounting

Recommended Posts

So I'm the lone Mac user here at work (though soon I won't be alone!)...

 

We have a Microsoft Exchange Server running. To log in to see network drives, I use the Finder & the smb://[storage drive name] and log in that way. The thing is, whether the Mac goes to sleep & I wake it or not, the drive that's mounted on the desktop literally disappears. Whether I go a certain amount of time between accessing the drive or not, sometimes it'll stay for a good while; other times, it just vanishes...and again I have to do the Finder--->Go--->Connect to Server business. It's a real pain, especially when trying to use Transmit to upload files, it's an extra needless step to have to log in to the server again.

 

Is there a setting somewhere in SysPref or another place where I can tell this MacBook Pro *NOT* to unmount the drive unless I eject/drag it to the trash? I'm constantly connected via LAN, and the cord is always plugged in.

 

Any advice would be appreciated. Thanks!

Share this post


Link to post
Share on other sites

I don't know how to keep it mounted but I can tell that the shortcut key for connecting to a server is apple-k. At least that will make your life a tiny bit easier.

Share this post


Link to post
Share on other sites
I don't know how to keep it mounted but I can tell that the shortcut key for connecting to a server is apple-k. At least that will make your life a tiny bit easier.

 

Good to know the shortcut...thanks!

 

I see this as being a potential problem for those I'm trying to help convert into "switchers." On the XP boxes 'round here, once we log in, a simple click on "My Computer" or clicking a shortcut to the public network drive & we're in.

 

If Macs can't be constantly connected to the network, asleep or not, this will be a deal breaker for some, and a real pain in the rear for us Mac users.

 

There's gotta be a way to keep the drive mounted. I just now looked, and after being connected to the drive for about 45 minutes, without even the screen saver starting or the Mac sleeping, and now the drive is gone.

 

WTH!

Share this post


Link to post
Share on other sites

Try having the drive mount with startup and see if that helps "To make a network drive accessible on login, mount the directory for that person and then go to System Preferences -> Login Items and click Add. Navigate to Home -> Library -> Recent Servers and select the drive you want to mount at startup." Keep in mind that doing this way will cause the finder to hang for a good long bit while it tries to find the drive if the network is not available. So probably not a good idea if this is a notebook.

Share this post


Link to post
Share on other sites
Try having the drive mount with startup and see if that helps "To make a network drive accessible on login, mount the directory for that person and then go to System Preferences -> Login Items and click Add. Navigate to Home -> Library -> Recent Servers and select the drive you want to mount at startup." Keep in mind that doing this way will cause the finder to hang for a good long bit while it tries to find the drive if the network is not available. So probably not a good idea if this is a notebook.

 

Great. Thanks for this info. I found the "Recent Servers" folder, opened it...but now I don't know what to do. There's an icon in there with the name of the server...but nothing else to do. But hopefully just telling the Mac to login automatically will work.

Share this post


Link to post
Share on other sites
So I'm the lone Mac user here at work (though soon I won't be alone!)...

 

We have a Microsoft Exchange Server running. To log in to see network drives, I use the Finder & the smb://[storage drive name] and log in that way. The thing is, whether the Mac goes to sleep & I wake it or not, the drive that's mounted on the desktop literally disappears. Whether I go a certain amount of time between accessing the drive or not, sometimes it'll stay for a good while; other times, it just vanishes...and again I have to do the Finder--->Go--->Connect to Server business. It's a real pain, especially when trying to use Transmit to upload files, it's an extra needless step to have to log in to the server again.

 

Is there a setting somewhere in SysPref or another place where I can tell this MacBook Pro *NOT* to unmount the drive unless I eject/drag it to the trash? I'm constantly connected via LAN, and the cord is always plugged in.

 

Any advice would be appreciated. Thanks!

 

Strange - That never happens to me (at least I'm pretty sure it doesn't). I sometimes mount my Windows network drive in the morning and leave it mounted all day. My PowerBook goes to sleep numerous times throughout the day, and when it wakes I always seem to remain connected.

 

Is this just a typical Microsoft Windows network? I'm a little confused when you call it a Microsoft Exchange Server. An Exchange Server probably wouldn't have anything to do with network drives mounted unless you were connecting via a WebDAV protocol.

 

- Tim

Share this post


Link to post
Share on other sites
Good to know the shortcut...thanks!

 

I see this as being a potential problem for those I'm trying to help convert into "switchers." On the XP boxes 'round here, once we log in, a simple click on "My Computer" or clicking a shortcut to the public network drive & we're in.

 

If Macs can't be constantly connected to the network, asleep or not, this will be a deal breaker for some, and a real pain in the rear for us Mac users.

 

There's gotta be a way to keep the drive mounted. I just now looked, and after being connected to the drive for about 45 minutes, without even the screen saver starting or the Mac sleeping, and now the drive is gone.

 

WTH!

 

I'm wondering if something in the SMB connection protocol has an optional keepalive that needs to be configured. I can say that this definitely is not the behavior I see.

 

- Tim

Share this post


Link to post
Share on other sites
I'm wondering if something in the SMB connection protocol has an optional keepalive that needs to be configured. I can say that this definitely is not the behavior I see.

 

- Tim

 

I only mentioned the Exchange Server, as that's where all of our email resides. We're on a regular Windows 2003 Server for Small Business box. Sorry for the confusion, I can see why you'd be perplexed.

 

It continues to happen. Was just working on updating our webpage in Text Wrangler; opened the file on the server, worked on it for about 3-4 minutes, went to save the file back on the server, and it gave me the "...cannot be found or saved" message. And I had just logged in. And when I log back in, sometimes it gives me the "already connected" message...but the mounted drive is no where to be found.

 

Could you point me toward any keepalive command within the SMB protocol? I'm not sure where to look/where to begin with that, or how to do it.

Share this post


Link to post
Share on other sites
I only mentioned the Exchange Server, as that's where all of our email resides. We're on a regular Windows 2003 Server for Small Business box. Sorry for the confusion, I can see why you'd be perplexed.

 

It continues to happen. Was just working on updating our webpage in Text Wrangler; opened the file on the server, worked on it for about 3-4 minutes, went to save the file back on the server, and it gave me the "...cannot be found or saved" message. And I had just logged in. And when I log back in, sometimes it gives me the "already connected" message...but the mounted drive is no where to be found.

 

Could you point me toward any keepalive command within the SMB protocol? I'm not sure where to look/where to begin with that, or how to do it.

 

 

There's nothing I can point you to - I didn't mean that there is a command of some sort you can execute. I simply meant that the SMB protocol, which is used to connect to a Windows network, is likely to have some sort of "keepalive" mechanism. Most network protocols need something like this to keep a connection open when it isn't in use for a certain period of time. So they design in some kind of mechanism that causes keepalive messages to be sent every so often just to keep the connection open. I'm assuming that SMB has some similar cgestncept, but I don't know the details.

 

I raised the possibility more to suggest that it could involve network configuration settings. As I said, this never happens to me, so obviously there is something different between my setup and yours. Different network configurations is one strong possibillity.

 

Tell me - Are you in an environment where you can call on your Windows network admins and get some help, or are they completely unsupportive of Mac people?

 

- Tim

Share this post


Link to post
Share on other sites
There's nothing I can point you to - I didn't mean that there is a command of some sort you can execute. I simply meant that the SMB protocol, which is used to connect to a Windows network, is likely to have some sort of "keepalive" mechanism. Most network protocols need something like this to keep a connection open when it isn't in use for a certain period of time. So they design in some kind of mechanism that causes keepalive messages to be sent every so often just to keep the connection open. I'm assuming that SMB has some similar cgestncept, but I don't know the details.

 

I raised the possibility more to suggest that it could involve network configuration settings. As I said, this never happens to me, so obviously there is something different between my setup and yours. Different network configurations is one strong possibillity.

 

Tell me - Are you in an environment where you can call on your Windows network admins and get some help, or are they completely unsupportive of Mac people?

 

- Tim

 

Ok, thanks for the info on the SMB stuff. I'm still learning this stuff myself, so I'm open to any/all suggestions.

 

I did include logging in to the network upon startup; and for the first time in over a week, I shut down/started up the MBP (I typically sleep my Macs every night), and voila...the network drive mounted immediately without me doing anything.

 

It then disappeared from the desktop about an hour later...again.

 

It's funny, I've been "back into Macs" only since 2004 (after using Apple computers in high school & college; then a 9-year hiatus, not by choice, into the world of PCs), and I'm now considered "The Mac Guy" where I work. They've seen my iBook that I use at lunch time, but never showed a ton of interest. But ever since we got the MBP, I'd say about 4-5 people have asked me, then petitioned IT, for a Mac.

 

Our IT Admin are HP specialists, however...and scoff at Macs, mostly due to total/complete lack of knowledge. I could ask one guy, but chances are he won't have a clue...so I'm trying to go this alone as far as answers.

 

Thanks again for your help...still trying to figure this out...

Share this post


Link to post
Share on other sites

I have this same problem...

 

Has anyone come up with a fix on this that they could share here?

 

Thanks.

Share this post


Link to post
Share on other sites

I know its not really a complete solution, but after its mounted, right click on the share and hit Make Alias, that way if it does go away, you can just double click on the alias and it will automatically mount the share and open it, even faster then using cmd+k.

Share this post


Link to post
Share on other sites

it might just be my network, but I've never had the network share disappear once I login... I wasn't able to get it to mount automatically upon login, until I created an apple script and created an app and had it launch on startup...

 

if you would like a copy of the apple script, let me know.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing

    No registered users viewing this page.

  • Who's Online (See full list)

    There are no registered users currently online

×