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

ccnp11

macrumors newbie
Original poster
Nov 26, 2011
12
0
I have two references to now offline AFP shares on a NAS VM. I can not remove them. I've searched the forums and google and everything I've tried has failed. They are actually causing some issues with Finder and I would very much like to get rid of these annoying things. Here's a transcript of some of the things I've tried-

Code:
:
root# cd /Volumes/ 
root# ls -al
drwxrwxrwt@  9 root      admin      306 Jun 12 00:31 .
drwxr-xr-x  32 root      wheel     1156 Jun 12 00:31 ..
lrwxr-xr-x   1 root      admin        1 Jun 11 23:02 Macintosh HD -> /
dr-xr-xr-x   2 root      wheel        1 Jun 11 23:02 backup
dr-xr-xr-x   2 root      wheel        1 Jun 11 23:02 docs 
root# rm -rf docs
rm: docs: Operation timed out 
root# chmod -R 777 docs
chmod: Unable to change file mode on docs: Operation timed out
root# chflags nouchg docs
root#chmod -f +w docs
chmod: Unable to change file mode on docs: Operation timed out 
root# rmdir docs
rmdir: docs: Resource busy

I'm at a loss. When I run
#lsof /Volumes
the only process accessing it is Finder....how can I get Finder to release its hold on this mount point? I've even tried to run
root#killall Finder && [rmdir/rm/mv]
to try and sneak a command in there before Finder restarts but no luck.


Any ideas?
 
That did open /Volumes and I saw all my local images and attached NAS shares ....except for the two that are causing trouble. I see them in CLI and i list the directory content but not in Finder. And I have set Finder to show all files including hidden ones. Ugh.

On a side note- I called Apple and they were as clueless as I. In fact the guy on the phone (supposedly "advanced" support) commented that they really don't know "all that complex command line stuff." Really? You're advanced tech support for an OS built on Unix and you "don't do" CLI? LOL
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.