Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Share Folder on Mountain Lion has -1 behind name

Posted on 2013-10-28
3
Medium Priority
?
396 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 41

Accepted Solution

by:
Eoin OSullivan earned 1200 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 41

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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

The error "There was an error performing the update" occurred on a Mac OS X client workstation running  Symantec AntiVirus for Mac (http://www.symantec.com/business/products/purchasing.jsp?pcid=pcat_security&pvid=825_1) - the Enterprise product vers…
An introduction to the wonderful sport of Scam Baiting.  Learn how to help fight scammers by beating them at their own game. This great pass time helps the world, while providing an endless source of entertainment. Enjoy!
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 …
Integration Management Part 2

963 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