LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-24-2005, 07:26 AM   #1
prital
LQ Newbie
 
Registered: Dec 2004
Posts: 24

Rep: Reputation: 15
unmount the usb device


I have mounted my USB device by the command
mount -t vfat /dev/sda1 /mnt/usb

When I trying to unmount it by the command
umount /mnt/usb, I have the "device is busy" message.

So, how can I unmount it?
 
Old 01-24-2005, 07:31 AM   #2
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,544
Blog Entries: 4

Rep: Reputation: 57
Are all files finished copying and you're not playing any files that are on the device? They may sound like stupid questions but I know I've done that before
 
Old 01-24-2005, 07:46 AM   #3
yyahmee
LQ Newbie
 
Registered: Jan 2005
Posts: 7

Rep: Reputation: 0
If you really can't remove it, shutdown/restart your computer and pull the USB out.
 
Old 01-24-2005, 07:49 AM   #4
okmyx
Member
 
Registered: May 2004
Location: Cornwall, UK
Distribution: Ubuntu 8.04
Posts: 464

Rep: Reputation: 31
Plus you cant unmount it if your 'cd'ed into a folder on the device.
 
Old 01-24-2005, 07:49 AM   #5
prital
LQ Newbie
 
Registered: Dec 2004
Posts: 24

Original Poster
Rep: Reputation: 15
Really, after I have closed all the terminal windows, the umount works.
Thank you.
 
Old 01-24-2005, 07:50 AM   #6
prital
LQ Newbie
 
Registered: Dec 2004
Posts: 24

Original Poster
Rep: Reputation: 15
Okmyx, it was really my case! Thank you.
 
Old 01-24-2005, 09:08 PM   #7
bareego
Member
 
Registered: Nov 2003
Location: Brisbane, Australia
Distribution: Crux 2.0
Posts: 66

Rep: Reputation: 15
Reasons for not being to unmount

Commonly there are 2 reasons why you get the "busy" message that won't let you unmount.

1) You are still somewhere in the mounted file tree (some terminal or program)
2) There is still data in the write cache that has not been written

Solution to one was posted above
For 2) do
Code:
 sync
It should write the remaining data in the write buffer.
This can take a while, wait until the prompt appears again.

Then try to unmount it.

Cheers
Bareego

Last edited by bareego; 01-24-2005 at 09:09 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unmount cd: device is busy jhimes Linux - Hardware 18 04-08-2008 02:51 AM
how to unmount unknown usb device? touser Linux - Hardware 1 05-30-2007 10:53 AM
How Do I Unmount An Unmounted Device? maatghandi Linux - Software 10 02-17-2005 01:28 PM
USB flash unmount: device busy mkivihar Linux - Hardware 4 11-20-2004 11:32 AM
unmount usb device pmorimer Linux - Hardware 2 08-25-2004 05:36 PM


All times are GMT -5. The time now is 02:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration