Atlanta Macintosh Users Group

Computer Forums => Mac OS X => Topic started by: Jeffrey Prince on August 29, 2007, 07:18:04 PM



Title: Can't unmount disk
Post by: Jeffrey Prince on August 29, 2007, 07:18:04 PM
I am running a TiBook 10.4.10.

I have an external Hard Disk drive that is failing to unmount.
I tried dragging to trash- didn't work.
I tried- "Eject Disk" didn't work.

I tried using Apple Disk Utility to fix and I get the following message.
"Repairing disk failed with error- Could not unmount disk."

What should I do?

Thanks,
JP


Title: Re: Can't unmount disk
Post by: Chris Waldrip on August 29, 2007, 08:10:14 PM
The problem is that something is being used by something on that disk. The 'easy' solution is to restart the computer. Worse case scenario you can hold the power button to force-shutdown the machine.

The more detailed solution needs some more information.

What is on the disk? Is it a disk image (mounts when you open a .dmg file), or a physical disk. Is it an optical disc (CD/DVD) or is it an external HD.

One thing you can try is this...
Launch Terminal (found in /Applications/Utilities)
Type the following...
lsof | grep whatever
...replace 'whatever' with part or all of the name of the disk. If the disk is named SuperWidget then you can use Super or SuperWidget in place of 'whatever'

This will show you the names of programs and/or files that are open on that disk. You can then attempt to quit the program, or programs that have the files open.

A common scenario is you are running a program that is on a disk image (.dmg file). An example might be if you download Firefox and don't copy the program from the disk image to your applications folder. But drag it to the Dock, or run it from the disk image. I've seen this a lot, and so has Apple (in 10.5 you get a dialog asking if you're sure you want to run the program off a disk image).


Title: Re: Can't unmount disk
Post by: Jeffrey Prince on August 29, 2007, 08:52:10 PM
Thanks Chris,

Restarting solved the problem this time.

I appreciate your advise on this.

I was worried about doing some harm to a file if I did the wrong thing.

Jeff