Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > OS X

Reply
 
Thread Tools Search this Thread Display Modes
Old Jul 12, 2007, 11:57 PM   #1
invasian
macrumors regular
 
Join Date: Jun 2007
Location: Houston
Send a message via AIM to invasian Send a message via MSN to invasian
can't unmount external hard drive

i have a weird problem that googling around didn't seem to help. I have an external hard drive connected but cannot unmount it. All I've done is access and transfer some files. I found some sites that said to try lsof in terminal to see what files are being used...so here it is

lsof | egrep 'Backup'
Finder 506 30r REG 14,15 251063 17600 /Volumes/Backup/90B02.jpg
Finder 506 32r REG 14,15 215706 17556 /Volumes/Backup/F90T03.jpg

I'm not even using these files. And I've quit all applications and I still can't eject the drive. I made a copy of these files on my notebook, then dragged these files from the external hard drive to the trash. Then I tried ejecting, still can't. I try emptying the trash, but I can't cause those files are in use. I have no idea what program is using them.

Is there a way to find out or force quit somehow?
__________________
SR MBP 2.2GHz C2D
invasian is offline   0 Reply With Quote
Old Jul 13, 2007, 07:18 AM   #2
Millwood
macrumors regular
 
Join Date: Jul 2006
Location: NY/NY
Try restarting your computer and then eject the external hd.

Or you can try this
__________________
My First Mac!
iMac G5 1.8GHz | 2 GB DDR | 160GB HD
Millwood is offline   0 Reply With Quote
Old Jul 13, 2007, 12:57 PM   #3
invasian
Thread Starter
macrumors regular
 
Join Date: Jun 2007
Location: Houston
Send a message via AIM to invasian Send a message via MSN to invasian
It seemed that Finder was the program that was "using" these files even though I wasn't doing anything.

So I opened up terminal and did 'killall Finder'. i was then able to eject the disk. This didn't work the first time I tried (which was last night). Upon using my computer this morning, same problem occurred and I tried killall Finder, and this time it worked.

So I guess it's a temp solution.
__________________
SR MBP 2.2GHz C2D
invasian is offline   0 Reply With Quote
Old Jul 27, 2007, 02:41 PM   #4
invasian
Thread Starter
macrumors regular
 
Join Date: Jun 2007
Location: Houston
Send a message via AIM to invasian Send a message via MSN to invasian
I just wanted to post this since I finally figured out the problem and how to solve it.


So basically, if you can't unmount your drive, it's cause some process is using it. So in terminal, run this command, where Backup is the name of your drive

lsof | egrep 'Backup'
Finder 506 30r REG 14,15 251063 17600 /Volumes/Backup/90B02.jpg
Finder 506 32r REG 14,15 215706 17556 /Volumes/Backup/F90T03.jpg

In my case, it's Finder that was using it, even though there is nothing going on and i'm not using Finder or transferring any of those files. Anyways, sometimes you'll find that Finder isn't listed and it's something else, like this time, it was

SystemUIS 116 14r REG 4,15 153343 18225 /Volumes/SPIDER4.jpg

No clue what SystemUIS is, but anyways, what you want to do is kill the process whatever it is that is keeping your external hard drive busy.

so in terminal you type,

kill -9 ###

where ### is the process number. In this case, it is 116 (for SystemUIS) or 506 (for Finder)

You will then be able to unmount your drive normally. Again, I don't know what SystemUIS is.
__________________
SR MBP 2.2GHz C2D
invasian is offline   0 Reply With Quote
Old May 29, 2008, 08:10 PM   #5
Rezadarius
macrumors newbie
 
Join Date: May 2008
Location: Brisbane, Australia
Send a message via MSN to Rezadarius
External hard drive is in use !!!

Hi,

I have a purchased a external hard drive but I have the same problem, when I want to eject it there is message saying it is in use, I have tried force quiting finder or spotlite but still does not eject.
How can I do it,

Thank you for your help.

Reza.
Quote:
Originally Posted by invasian View Post
I just wanted to post this since I finally figured out the problem and how to solve it.


So basically, if you can't unmount your drive, it's cause some process is using it. So in terminal, run this command, where Backup is the name of your drive

lsof | egrep 'Backup'
Finder 506 30r REG 14,15 251063 17600 /Volumes/Backup/90B02.jpg
Finder 506 32r REG 14,15 215706 17556 /Volumes/Backup/F90T03.jpg

In my case, it's Finder that was using it, even though there is nothing going on and i'm not using Finder or transferring any of those files. Anyways, sometimes you'll find that Finder isn't listed and it's something else, like this time, it was

SystemUIS 116 14r REG 4,15 153343 18225 /Volumes/SPIDER4.jpg

No clue what SystemUIS is, but anyways, what you want to do is kill the process whatever it is that is keeping your external hard drive busy.

so in terminal you type,

kill -9 ###

where ### is the process number. In this case, it is 116 (for SystemUIS) or 506 (for Finder)

You will then be able to unmount your drive normally. Again, I don't know what SystemUIS is.
Rezadarius is offline   0 Reply With Quote
Old Sep 24, 2010, 07:56 AM   #6
cwingrav
macrumors newbie
 
Join Date: Mar 2008
Same problem. It was my SystemUIServer. I killed its process and things worked well. SystemUIServer also was keeping Time Machine backups from running, even after I restarted my machine. Odd that killing it fixed it since a reboot didn't but oh well.

Gads, been using Un*x for years but never knew the 'lsof' command. Quite useful.
cwingrav is offline   0 Reply With Quote
Old Oct 2, 2010, 04:09 PM   #7
peterrosen
macrumors newbie
 
Join Date: Jul 2007
How to Eject Resistant External HD - This Works!

So basically, if you can't unmount your drive, it's cause some process is using it. So in terminal, run this command, where Backup is the name of your drive

lsof | egrep 'Backup'
peterrosen is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > OS X

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Time Machine Backups External Hard Drive can't unmount. ghostoth Mac Basics and Help 2 Oct 3, 2012 12:46 PM
Use external hard drive as time machine and external hard drive Cubeeless MacBook Pro 4 Aug 20, 2012 04:00 PM
Unable to unmount hard drive EODgeier Mac OS X 10.7 Lion 2 Jul 5, 2012 09:44 AM
Dead hard drive - need temporary external hard drive solution Gwenyn iMac 20 Jun 14, 2012 06:15 AM

Forum Jump

All times are GMT -5. The time now is 11:43 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC