Solved

Share Folder on Mountain Lion has -1 behind name

Posted on 2013-10-28
3
381 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
  • 2
3 Comments
 
LVL 39

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 39

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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

With the major release of Apple's 7th addition to the Mac OS X family, Mac OS X 10.6 Snow Leopard, there are a lot of enhancements which have arrived with this new OS X upgrade. With the number of enhancements and refinements I can provide deta…
Syslogd is a utility that traps and logs messages sent by running processes. It is configured with the syslog.conf file, which consists of lines containing a pair of fields: "the selector field which specifies the types of messages and priorities to…
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 …
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

911 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now