Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

gizmotek

macrumors newbie
Original poster
Nov 28, 2012
4
0
Denver
Hello all, first time posting.
I'm having an odd issue with my server. I have a Mac with OSX 10.8.2 Server installed, that shares a RAID drive via AFP to a couple other macs. It's worked flawlessly for the last few months, until a couple days ago. I rebooted the server, and the shared drive was no longer on the desktop or in the finder sidebar! I immediately freaked out, and went to the disk utility. Sure enough, it was there and mounted. I checked the server's finder preferences, and nothing changed there either. I looked in the /Volumes folder, and no drive.
But, here comes the interesting part. If I specifically go to /Volumes/MyDrive using 'Go to Folder', it shows up! But it is grayed out, like a hidden file (like the home library folder is).

What's more, the same thing happens when you mount the drive from another computer, it shows up as hidden. Which means no icon on the desktop or in the sidebar for the networked computers either.

Any thoughts on what I might have done to create this problem? I'm at a loss.
 

Attachments

  • hidden.png
    hidden.png
    13.4 KB · Views: 979

gizmotek

macrumors newbie
Original poster
Nov 28, 2012
4
0
Denver
Just checked, I can get in the volume using Terminal too, with everything visible.
It's just Finder that refuses to see it, all other programs (Disk Utility, Terminal, even recent documents in Word) can see the volume just fine. It's bizarre.
 

switon

macrumors 6502a
Sep 10, 2012
636
1
RE: Finder...

Hi gizmotek,

Have you killed the Finder? I would start by killing all Finders from the Terminal:

killall Finder

This should kill all Finders and restart them. You should notice that all of your desktop disk icons should disappear momentarily and then reappear. Does the "hidden" drive now appear? If not, then I would check the permissions on the problem drive. Do you have read and write access? If you do, then the next thing I would do is to reboot both machines and the RAID drive: first reboot the RAID drive, then the machine that shares the RAID drive, then lastly your computer. It is possible that your server has fouled up its AFP service and thus rebooting may fix this.

Let us know what happens.

Regards,
Switon
 

gizmotek

macrumors newbie
Original poster
Nov 28, 2012
4
0
Denver
I've restarted a few times now to see if I could resolve it, and reinstalled the RAID drivers without any change. I'm beginning to think if it's permission related too. I tested sharing a subfolder on the SAN, and it shows up normally to the client computers. Is there an easy way to reset permissions on a volume via a terminal command?
 

switon

macrumors 6502a
Sep 10, 2012
636
1
RE: chmod, chown, etc...

Hi,

Yes, you can use chmod and chown to reset the owner, group, and permissions. If you use the -R option, then the permissions are recursively propagated down the subdirectory hierarchy. See the man pages for these commands for further information. Be careful that you do the right thing before proceeding. An example of the type of commands you will use is:

chmod -R ug+rw .[A-z]*
chmod -R ug+rw [A-z]*

The first command is required since all files that begin with a dot (.) will not be picked up by a simple star (*) wildcard under the bash shell, thus you must specify them with a separate command.

There are also finer-grained ACL permissions commands too.

Good luck,
Switon

P.S. Just to let you know, you can also get Mac OS X Server to alter the permissions for you from the File Sharing pane of the Server.app. If you use this method, be careful to wait long enough before killing the Server.app for it to finish changing all of the permissions throughout the entire volume's directory hierarchy --- this can take quite a long time.
 
Last edited:

gizmotek

macrumors newbie
Original poster
Nov 28, 2012
4
0
Denver
Well now I'm feeling sheepish. I figured out the problem, and I only had to look up hidden file attributes. Thanks to this thread:
https://forums.macrumors.com/threads/843620/
I just ran that on /Volumes/MyVolume, and voila! Everything appears to be working great now. Not sure how the hidden flag got put on my volume, but there it is. Thanks for working through this with me!
 

mwhities

macrumors 6502a
Jul 13, 2011
899
0
Mississippi
Well now I'm feeling sheepish. I figured out the problem, and I only had to look up hidden file attributes. Thanks to this thread:
https://forums.macrumors.com/threads/843620/
I just ran that on /Volumes/MyVolume, and voila! Everything appears to be working great now. Not sure how the hidden flag got put on my volume, but there it is. Thanks for working through this with me!

Thanks for posting a fix for it. I like to read these and I save the info in my lil 'notes.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.