Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 04-20-2009, 07:55 PM   #1
LQ Newbie
Registered: Apr 2009
Posts: 7

Rep: Reputation: 0
Force Check done ever time. Unmount won't work on "Busy device"...

I have searched for hours on this site and I cannot find the answer (and my eyes are crossing now.) I have just installed backtrack 3 and am fairly new to Linux. I have it installed on my harddrive (as /dev/sda6) on a dual boot with Qindows XP using Lilo. My problem is everytime I try to shutdown the last message is "unmount: /dev/sda6 device is busy" so that everytime I boot up my system goes through a several minute check on my main disk as it was "unmounted improperly."

I have tried logging off, ctrl-alt-del, sync;sync;halt, shutdown -h now, reboot, poweroff etc. I read somewhere that you cannot unmount a disk you're currently on, but I can't figure out how to log onto another disk at shutdown as this is the last one to shutdown (I tried 'cd ~' before but that didn't work.

Please tell me if I am missing something as a 2-3 minute boot up time is annoying.

Old 04-21-2009, 01:52 PM   #2
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,043
Blog Entries: 14

Rep: Reputation: 1212Reputation: 1212Reputation: 1212Reputation: 1212Reputation: 1212Reputation: 1212Reputation: 1212Reputation: 1212Reputation: 1212
First you need to know what is on /dev/sda6. Type "df -h" and see what filesystem is mounted there. It may not be the one you think.

One you see a filesystem (e.g. /var) you can use lsof or fuser to determine what is using the filesystem (e.g. lsof /var). It may be there is some process running that you need to stop first.

Linux does allow for init scripts to stop and start things automatically so if you do find something to stop manually you might investigate creating an init script to stop it automatically when you issue the shutdown command.

Also "cd ~" goes to the current user's home directory. If you're not root user then that is likely somewhere under /home. Try logging in as root and doing a "cd /" to go to root directory to do the shutdown if you can't figure it out with lsof.


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
The "init_module: Device or resource busy" message in the 2.4.26 kernel. tommyclee Linux - Kernel 3 12-30-2008 08:09 PM
LXer: Tips and tricks: Why do I see "VFS: Busy inodes after unmount" messages in my s LXer Syndicated Linux News 0 08-14-2007 06:50 AM
gnomemeeting crashed, now i got "video0: Device or resource busy" B sirpelidor Linux - Hardware 0 01-10-2005 04:02 AM
samba - smbmount freezing my terminals -> "Device is busy" Yntarius Linux - Networking 4 05-21-2004 08:19 AM
nvidia insmod: "Device or resource busy" w/GeForce 4 MX KeithSpook Linux - Hardware 4 03-03-2004 01:21 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:36 PM.

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