Solved

Share Folder on Mountain Lion has -1 behind name

Posted on 2013-10-28
3
391 Views
Last Modified: 2013-11-12
I have a mac mini running Mountain Lion that I have been sharing a folder from.  I took it out from sharing and then reshared it, the name of the folder is Media, normally it shows up as a shared folder called Media, but for some reason it shows up in every Mac as Media-1 , there is no other share called Media (which would cause this) nor a folder with the same name on the same drive, I can't figure this one out.

Paul
0
Comment
Question by:Peterson50
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 40

Accepted Solution

by:
Eoin OSullivan earned 300 total points
ID: 39608012
This issue occurs when the first share is not fully cleared/deleted and osx tries to recreate the share and cannot overwrite the previous share so it appends -1 to the share name.

This happens on the client computers who end up with multiple mount points for the same share as the previous share is not properly cleared.

In the past my method to clear this would involve the following
On the computer that has the media folder
1. Remove the Media share in the system preferences
2. Turn off file sharing in osx
This will stop the host computer broadcasting the share data.  If you want to be super safe disconnect it from the network or shutdown while you work on the client computers.

On the client computers that access the share
1. Do a full shutdown and then restart the mac
2. After restart open Terminal window and check that there is no legacy mount point on the client computer
sudo ls laF /Volumes

Open in new window

This will show all mounted shares.  You should NOT see any Media folders. If you do they will have to be manually deleted
sudo rm -rf /Volumes/Media
or
sudo rm -rf /Volumes/Media-1

Open in new window

3. Once you've checked and cleared all client computers you can then re-enable file sharing on the host computer and share the Media folder again
0
 

Author Comment

by:Peterson50
ID: 39609265
I did that and it did not work.  I renamed the share to Music and it appears fine.  I disabled sharing and renamed it to Media and the share still comes up as Media-1, so I've put it back to Music for now
0
 
LVL 40

Expert Comment

by:Eoin OSullivan
ID: 39609356
The issue lies on the client computers (the ones trying to access the Media folder)  .. not the host computer (the one sharing the Media folder).

Did you disable sharing and check all the client computers?
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article we have discussed about the OS X EI Capitan and how to fix Wi-Fi issue in OS X El Capitan. We have explained how to delete system level preferences and create a new Wi-Fi location to resolve Wi-Fi issue.
Article by: Justin
In light of the WannaCry ransomware attack that affected millions of Windows machines, you might wonder if your Mac needs protecting. Yes, it does and here is how to do it.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question