... Is In Use and Could Not Be Ejected!

Weird problem, simple solution. I have an external Maxtor backup disk connected to my Macbook Pro, and I cannot eject it. I get the error:

"DRIVENAME is in use and could not be ejected."

First, I try to use the lsof command to figure out what program still had open files on the drive. Unfortunately, I get no output, meaning no files are open on the drive.

Next I resorted to the Mac OSX hdiutil command. Using sudo hdiutil unmount reported that it was already unmounted.

Finally:

sudo hdiutil eject -force diskname

And the drive immediately disappeared from the Desktop. Hallelujah!

0 TrackBacks

Listed below are links to blogs that reference this entry: ... Is In Use and Could Not Be Ejected!.

TrackBack URL for this entry: http://aaronlongwell.com/mt/mt-tb.cgi/8

Leave a comment


Type the characters you see in the picture above.

Who's this guy?

Aaron Longwell is Chief Web Craftsman at New Media Logic Corporation in Coeur d' Alene, Idaho. As a professional software developer for 12 years and a student of public policy, he occasionally has interesting things to say about software, technology, culture and politics.

Subscribe to feed Subscribe to my RSS Feed

  • View Aaron Longwell's profile on LinkedIn
  • Recommend Me