How to remove permanent map of a network drive on OS X Lion?

Solution 1:

I was getting this random pop up randomly...

(screen captures available at: drivecreative/fix )

that said, "There was a problem connecting to the server "M17".

I use to have my 17" laptop connected via wifi to my MacPro. If my laptop was off, I would often get this dialog telling me that M17 was missing.

Which it was.

If my laptop was on, then no random messages. So far so good. But what happens when you replace your laptop with a new MBPr with a new name? Well.. you get these little reminders about your missing machine whether you want them or not...

To stop the madness...

in finder, go to the "Go" menu and select "Connect to Server..."

After the "Connect to Server" window pops up, click the button with the "clock icon" and select "Clear Recent Servers..."

A scary dialog box pops up, click "ok" if you are not scared.

E r i c W h i t e { D r i v e C r e a t i v e . n e t }

(screen captures available at: drivecreative/fix )

PS APPLE:

It would be nice if we had a "Forget" button on the dialog this dialog so it would be obvious how to resolve this issue.

It would be nice to be able to just clear the one connection that is giving you issues instead of doing a "clear entire list" solution we have now...

Solution 2:

I found that in my case those "There was a problem connecting to the server xxx" happened because they were in open automatically list. Here is how you can remove those:

  1. Go to System preferences > Users and groups > Select your user account
  2. Select tab Login items
  3. Select network mounts from list that you don't wont open automatically anymore and press minus button

(Be sure to have clicked the lock icon below in order to make changes.)

Solution 3:

I found after updating from Snow leopard to Lion that FSTAB mounts have now been removed and replaced with automount binaries.

I could not find where or what config file repeatedly mounted my inaccessable nas share.

Every time i "umount" or forced un mount using diskutil e.g. sudo diskutil umount force /Volumes/nas it kept re appearing.

Finally after studying automountd and what Apple decided to do with -static mounts other than fstab, installed server admin tools (apple web site) for Lion and used Apple Directory Utility and under mounts there it was HOW ANNOYING but issue is now resolved. No more hanging or /Volumes/xxxxx

Utility is in /System/Library/CoreServices and you can launch with

Open Directory\ Utility.app

Then drop down mounts

Those more familiar with Unix would type open Dire so that it auto completes the command.


I found a quicker way to get to the Directory Utility:

  1. Go to System preferences > Users and groups > Login options.
  2. Press the Join button next to network account server.
  3. Press open Directory Utility, then as before go to mounts in the drop down.

Solution 4:

I had the same problem.

I had Bonjour Mounter installed that kept trying to SMB to the old NAS drive, my issue started when I changed the IP address of my NAS Device and wouldn't quit. After reviewing the console I found out that Bonjour Mounter kept attempting to access the old IP.

The fix, I updated Bonjour Mounter with the new IP address and the issue is gone now. I am not sure what to do if you actually use the Finder >> Go Menu >> "Connect to Server" option to smb://ipaddress/ to your NAS Directly ...

I believe if you install Bonjour Mounter you can view and update and old Servers that you may be connecting to. If you have Bonjour Mounter - go fix the IP address of delete it, if you dont have Bonjour Mounter, Install it and it might actually show you the hidden Server IP your OS is trying to get to and from there you should be able to delete it