External Drive Won't Eject. LSOF no help.

I have an eSATA bay and we use it to frequently swap out external SATA drives. Very often, my attempts to eject the drives through the Finder fail. I get the message:

"The disk <disk name> is in use and could not be ejected"

To find out why, I turn to Terminal and enter:

lsof | grep <disk name>

Much of the time I see the app which has locked the drive and deal with it. But, almost as much, the lsof/grep command produces an empty result. I'm pretty confident I'm typing the disk name correctly. And to be doubly sure, I'll try

lsof | grep Volumes

to find locks on any external files. Still, these drives just don't appear.

Right now, I'm in the middle of an image database import which which will take a while. I would really like not to be in the position of having to kill such processes in order to swap drives.

Does anyone know what I could do about this short of restarting the computer? Does anyone know what I could do to prevent this from happening?

Thanks much!

Mac Pro 3GHz, Mac OS X (10.5.7)

Posted on Jul 3, 2009 7:17 AM

Reply
3 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

External Drive Won't Eject. LSOF no help.

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