Re: MacOSX-admin Digest, Vol 106, Issue 1

Tim Roberts <[email protected]> Fri, 15 Feb 2013 14:08:55 -0600
Newsgroups gmane.comp.macosx.admin
Message-ID <[email protected]>
On Feb 15, 2013, at 2:00 PM, [email protected] wrote:

> Message: 1
> Date: Sat, 16 Feb 2013 02:24:41 +0800
> From: Ashley Aitken <[email protected]>
> Subject: Problems ejecting volumes / disks from GUI but not command
> 	line...
> To: "[email protected] OSX" <[email protected]>
> Message-ID: <48DBFC44-30D4-4481-8961-23C57284A46D-ee4meeAH724@public.gmane.org>
> Content-Type: text/plain; charset=3Dwindows-1252
>=20
>=20
> Hi All,
>=20
> I'm having problems ejecting volumes (e.g. external disk) and optical =
disks (e.g. DVDs) from the Finder (GUI) in Mac OS X Mountain Lion =
(latest update) on MacBook Pro (around 2010).  It won't eject, even when =
I choose the option to Force Eject, it won't successful eject.  Seems =
like MDS and sometimes Finder have files open, but this doesn=92t =
explain inability to Force Eject. =20
>=20
> I can Eject and Force Eject (not necessary now because Eject works) =
from the command line using something like "sudo hdiutil eject =
/Volumes/France" which is strange.  I have had some problems in the past =
with my user's groups. I think it was since the upgrade to ML that my =
groups got mangled some way and I ended up in Wheel (as well as many =
other groups) but not correct primary group (Username).
>=20
> I wonder if the fact that eject works with sudo (I should try without) =
but Finder eject always fails, even with a force eject, may be related =
to the mixup in groups?  Should I be in Wheel if the account is an Admin =
account?   How can I add myself back into Wheel (there is a file in Unix =
I seem to remember).  Others have had similar problems with not being =
able to eject volumes in ML due to mds process.
>=20
> Any help or suggestions most appreciated.
>=20
> Cheers,
> Ashley.
>=20
> PS  I've used lsof to see open files on the volume.   I've tried =
killing the mds processes (they start again almost immediately). I've =
added volumes to the Spotlight preferences panel to stop it searching =
the volumes with no improvement.  I've tried restarting the Finder. Of =
course, if I shutdown the volume is ejected but that is not a real =
solution ;-)
> --
> Ashley Aitken
> Perth, Western Australia
> mrhatken at mac dot com
> Social (Facebook, Twitter, Skype etc.): MrHatken=20
> Professional (LinkedIn, Twitter, Skype etc.): AshleyAitken


Use the following to disable mds aka Spotlight. 'off' for disable 'on' =
to enable.

sudo mdutil -a -i off[on]

If you still have problems ejecting then some other process is accessing =
that Volume.
BTW, If you have a Terminal open and cd to that volume, it will block =
eject.

Best,

Tim Roberts=