unable to eject - disk in use

Discussion in 'OS X' started by johny5, Oct 25, 2007.

  1. macrumors 6502a

    johny5

    Joined:
    Mar 31, 2007
    Location:
    UK
    #1
    I have just started getting this pretty annoying error today on my external FW drive.
    I want to eject it so I can put some felt pads underneath it as its making a right humming noise on the desk but when i try to eject it i get the error.

    Now unless I am missing something, it tells me to quit all apps, yes, ive done that, the only thing that is running is finder.

    Is there any easy way of finding out what is open on the external drive before I just pull the plug on the whole thing!?


    ta
     
  2. macrumors Penryn

    Eidorian

    Joined:
    Mar 23, 2005
    Location:
    Cuidad de México
    #2
    Did you check to see if any processes are accessing the disk? (e.g. Finder, mdimpiort)
     
  3. thread starter macrumors 6502a

    johny5

    Joined:
    Mar 31, 2007
    Location:
    UK
    #3
    I did just check finder, but this is a pretty laborious way to check it isnt it?
    I take it I am doing it right...... go into activity monitor and then inspect the process? (quite a few of them!)
     
  4. macrumors 68040

    motulist

    Joined:
    Dec 2, 2003
    #4
    Just log out and log back in, and all should be well. If not, then a restart will almost definitely cure what ails you.
     
  5. thread starter macrumors 6502a

    johny5

    Joined:
    Mar 31, 2007
    Location:
    UK
    #5
    ok, that sort of worked. I logged out the my imac hung with a black screen.

    I think I might have found out what was using the external drive, one of my other macs reported that this drive had been disconnected from the network.
    Ok it was maybe sat on the network share, but nothing was open. Anyway you would have thought a message along the lines of "this drive is currently shared and ejecting it will disconnect other users" might have been nice!?

    Imac rebooted and all up and running now
     
  6. macrumors 68000

    Joined:
    Jun 22, 2006
    #6
    I'm having this same problem with both my FW External and my iPod. Neither will eject from Finder, and both are saying, "Disk in use". Is this a problem people are still having?
     
  7. macrumors 68040

    motulist

    Joined:
    Dec 2, 2003
    #7
    It's a very rare problem that's existed for a long time, but very occasionally it happens. As long as the disks aren't new or you just upgraded to leopard or reinstalled the OS or something that might've caused spotlight to reindex them, then it'd be super-rare to see it happening to 2 disks at once. So unless spotlight is busy indexing your drives, then you have a weird problem on your hands.
     
  8. macrumors 6502

    Joined:
    Apr 10, 2006
    Location:
    Belleville, ON, Canada
    #8
    Sorry to revive this oldie, but I found this thread in a search.

    I'm having the same thing whenever I try and disconnect any external media like my Blackberry (with SD card) and a thumb drive, plus an external HD I use with Time Machine. It seems that it only started happening after the OS 10.5.7 update.

    No apps running, just Finder. I've repaired permissions, logged out and back in, etc. Any hints as to what's going on?
     
  9. macrumors 6502

    Joined:
    Mar 15, 2008
    #9
    I may be having a memory lapse, but I think I fixed this issue by going into Energy Saver preferences and unchecking the option to "put hard disk(s) to sleep when possible."
     
  10. Moderator emeritus

    angelwatt

    Joined:
    Aug 16, 2005
    Location:
    USA
    #10
    To find out what files are being accessed you can enter the following command into Terminal,
    Code:
    sudo lsof > ~/Desktop/lsof.log
    This will create a log file listing all files that are currently in use by the system. It's easiest to open this log file in Console where you can use the search field to filter the listing. Enter in the name of the external drive and that should shorten the list greatly. From there it may provide clues. Often I find Spotlight is to blame.
     
  11. macrumors 6502

    Joined:
    Mar 15, 2008
    #11
    Sorry, but my memory has returned and the above is incorrect. This solved the problem of thumb drives ejecting on their own and giving me that "you better eject next time before you remove a drive!" warning. You are having the opposite issue. I apologize for my first post.
     
  12. macrumors 68040

    motulist

    Joined:
    Dec 2, 2003
    #12
    Open up Activity Monitor, pull the menu down to show "all processes", and click the CPU column to sort by CPU usage. Do you see a process called mdworker taking up a constant amount of cpu greater than 10%, or is it just jumping up to like 4% every few seconds and then dropping down to zero again for most of the time? mdworker is spotlight's process (iirc), so if mdworker is taking up a significant and constant amount of processor, then you have a runaway spotlight problem on your hands, which can be easily remedied.
     
  13. macrumors regular

    Trinity

    Joined:
    Sep 10, 2005
    Location:
    Barcelona - CAT
    #13
    It happens very often but I think it's a system bug, if you have an activity light in the external hard drive you can see if it is really in use or not. I just unplug the cable and press the ok button in the bad boy warning dialog.
     

Share This Page