LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-23-2004, 11:35 PM   #1
bsolo34
LQ Newbie
 
Registered: Aug 2004
Posts: 3

Rep: Reputation: 0
umount: /mnt/floppy: device is busy


i am trying to unmount my floppy drive, and i get a busy error:

$ umount /dev/fd0
umount: /mnt/floppy: device is busy

i've tried to find out why it's busy, but i can't figure it out. i'm not accessing it.

any help? please.
 
Old 08-23-2004, 11:41 PM   #2
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 47
are you in the floppy directory when you're trying to unmount it? (edit: ie., don't be. ) also, try running sync first, any data you transferred might still be cached in the buffer.

Last edited by synaptical; 08-23-2004 at 11:43 PM.
 
Old 08-23-2004, 11:45 PM   #3
bsolo34
LQ Newbie
 
Registered: Aug 2004
Posts: 3

Original Poster
Rep: Reputation: 0
thanks. i'm not in the directory, but what is sync? Can i just erase the cache somehow?
 
Old 08-23-2004, 11:50 PM   #4
Travers
Member
 
Registered: Jul 2004
Location: Des Moines
Distribution: Gentoo
Posts: 111

Rep: Reputation: 15
Use: umount -l /dev/fd0

The -l means -lazy. I'm not kidding. =) This will make the dev unmount at the moment it stops being busy. I think the umount command actually accesses some devices whilist trying to unmount them, making that impossible. Kinda funny, isn't it?
 
Old 08-23-2004, 11:52 PM   #5
bsolo34
LQ Newbie
 
Registered: Aug 2004
Posts: 3

Original Poster
Rep: Reputation: 0
Smile

thanks. very much appreciated.
 
Old 04-16-2010, 09:49 AM   #6
vsurlan
Member
 
Registered: Jun 2004
Location: Zagreb, Croatia
Distribution: Debian Lenny
Posts: 49

Rep: Reputation: 15
Quote:
Originally Posted by bsolo34 View Post
i am trying to unmount my floppy drive, and i get a busy error
There is a way to unmount busy drives immediately. The solution is, obviously, to find out what is using the drive and stop that process.

For example:

fuser /media/cdrom <- Gives you the processes using the drive
fuser -k /media/cdrom <- Kills the processes using the drive

Taken from: Linux tricks: unmounting unresponsive drives
 
  


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
umount :device busy Pedroski Linux - Hardware 14 12-29-2004 04:37 PM
umount - device is busy - with what??? Moebius Linux - Software 16 12-08-2004 11:32 AM
umount /var device busy winchester169 Linux - Networking 1 06-25-2004 08:53 PM
umount: /mnt/floppy: device is busy tryangle Linux - Newbie 4 11-10-2003 11:16 PM
umount: /mnt/a5: device is busy PTBmilo Linux - General 2 01-31-2003 11:48 PM


All times are GMT -5. The time now is 02:43 PM.

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