Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

umount drives fail.

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help!
View previous topic :: View next topic  
Author Message
AJB2K3
LXF regular


Joined: Sat Jun 11, 2005 12:51 pm
Posts: 175

PostPosted: Wed Jul 13, 2005 6:48 am    Post subject: umount drives fail. Reply with quote

I have managed to mount my usb camera in mass storage mode copy files from it (using a terminal) but i just cant umount the device. All i get is the messg
Device busy how do i sort this?

I have come to the conclusion that as a noob i need a utility to mount/copy/umount usb drives.
Back to top
View user's profile Send private message
tuan168



Joined: Thu Jun 30, 2005 11:54 am
Posts: 3

PostPosted: Wed Jul 13, 2005 9:18 am    Post subject: RE: umount drives fail. Reply with quote

hi
sometime all you need is to close apps which refer to usb drives, change to /home then umount /dev...../usb drive
_________________
Tuan
Freedom and liberty are seldom appreciated until they are lost.
Every obstacle that is overcome adds to ther freedom you can dnjoy.
Freedom to Linux World
Back to top
View user's profile Send private message
Nigel
LXF regular


Joined: Fri Apr 08, 2005 9:03 pm
Posts: 1141
Location: Gloucestershire, UK

PostPosted: Wed Jul 13, 2005 9:47 am    Post subject: RE: umount drives fail. Reply with quote

What distro are you running ? I sometimes get this when I browse the LXF DVDs under SuSE 9.2. It seems like there's a KDE process that's indexing the disk (can't remember the process name, but killing it frees the dvd & lets me umount/eject it).
_________________
Hope this helps,

Nigel.
Back to top
View user's profile Send private message
sjl



Joined: Sat May 07, 2005 7:46 pm
Posts: 2
Location: Ashford, Middx

PostPosted: Wed Jul 13, 2005 1:45 pm    Post subject: Reply with quote

If you right-click on the device icons in KDE, you can unmount them there.
If you can't see your device, then go into the Control Centre (From 'K' menu) and search for 'devices'. There, there will be a long list of check boxes which you can tick in order to get KDE to display the device on your desktop. Check your device, click OK, and you're done!
Hope this helps. Smile
Back to top
View user's profile Send private message
AJB2K3
LXF regular


Joined: Sat Jun 11, 2005 12:51 pm
Posts: 175

PostPosted: Wed Jul 13, 2005 5:48 pm    Post subject: Reply with quote

im running kde on mandriva and that process could be the problem.
@tuan168 all known apps were closed except terminal.
Back to top
View user's profile Send private message
towy71
Moderator


Joined: Wed Apr 06, 2005 3:11 pm
Posts: 4258
Location: wild West Wales

PostPosted: Wed Jul 13, 2005 5:55 pm    Post subject: Reply with quote

run either
umount -f
or
umount -l
as root
man umount
Wink
_________________
still looking for that door into summer
Back to top
View user's profile Send private message
graham
Site admin


Joined: Tue Apr 12, 2005 10:31 am
Posts: 37

PostPosted: Wed Jul 13, 2005 6:05 pm    Post subject: Reply with quote

Sadly, this happens all too often. Mandriva should take care of this automatically, but it sometimes runs into problems. umount /mnt/removable is what you need to run from the command line to unmount the device. But, if another process is using it then this won't work.

You can check which processes are using the device using lsof as root:

lsof /mnt/removable

This will produce something like:
Code:
COMMAND   PID   USER   FD   TYPE DEVICE    SIZE NODE NAME
kio_file 8302 graham    6r   REG    8,1 5018608 6042 /mnt/removable


PID is the column you need, as this is the process ID for whatever it is that's accessing your device. You can kill the process using:

kill -9 8302

Then you should be able to umount the device. Crude, but it should do the trick.
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help! All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast