You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

What's the safest way...force eject an external hard drive?

I have 10.6.8 on MacBook Pro. When I try to eject my 1TB external hard drive, I get the error message “one or more programs may be using it.” When I tried to eject it from Utilities, it said that “it could not be unmounted.” What’s the safest way to unmount it? Can I just shut down my laptop and then turn off the external hard drive after the computer is shut down?

MacBook Pro, Mac OS X (10.6.8)

Posted on Jan 1, 2012 7:33 PM

Reply
Question marked as Top-ranking reply

Posted on Jan 2, 2012 4:16 AM

lyartetc wrote:


When I try to eject my 1TB external hard drive, I get the error message “one or more programs may be using it.” When I tried to eject it from Utilities

You mean Disk Utility.

Can I just shut down my laptop and then turn off the external hard drive after the computer is shut down?

Yes, but if this happens more than once or twice, it's not very practical, is it? You need to find out which app still wants the drive. The way to do this is in Terminal with lsof. Say your 1TB drive's name is ExternalDisk. When you get this message, you should go into Terminal and do


$ lsof | grep ExternalDisk


($ is the prompt; this is case-sensitive, so make sure you capitalise the drive's name correctly).


After a little while, you should get one or more lines listing what files are still open on the 1TB drive. The first word in each line is the app using the open file.

16 replies

What's the safest way...force eject an external hard drive?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.