Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-25-2005, 02:08 PM
|
#1
|
Member
Registered: Feb 2002
Posts: 393
Rep:
|
Can't unmount my drives?!?!
Hi for some reason that I cannot figure out, I cannot unmount devices as an ordinary user - or even as root any more. I can mount them no problem, but I just cannot unmount them. If I try I get an error message saying:
Code:
sudo umount /dev/hda1
umount: /mnt/hda1: device is busy
umount: /mnt/hda1: device is busy
But the same is true if I try to unmount any of my devices.
Here is myfstab file.
Code:
/dev/hda3 / reiser4 defaults 0 1
/dev/hda7 /home reiser4 defaults,auto 0 2
/dev/hda6 /boot ext3 defaults,auto 0 2
proc /proc proc defaults 0 0
/dev/fd0 /mnt/floppy subfs fs=floppyfss,iocharset=iso8859-1,users,sync,umask=000
usbfs /proc/bus/usb usbfs devmode=0666 0 0
tmpfs /dev/shm tmpfs defaults 0 0
/dev/hdc /cdrom subfs fs=cdfss,iocharset=iso8859-1,users,ro,exec,umask=0000 0 0
/dev/hdd /dvd subfs fs=cdfss,iocharset=iso8859-1,users,ro,exec,umask=0000 0 0
/dev/hda5 none swap defaults 0 0
/dev/sda1 /mnt/ntfs_1 ntfs noauto,users,ro,exec,umask=0000 0 0
/dev/hda1 /mnt/hda1 vfat auto,uid=1000,gid=1000,exec,umask=000,shortname=mixed,quiet 0 0
/dev/hdb1 /mnt/hdb1 vfat auto,uid=1000,gid=1000,exec,umask=000,shortname=mixed,quiet 0 0
none /sys sysfs defaults 0 0
Has anyone got any idea what is going on?
It was working fine a few days ago. I have probably installed some updates since then, but beyond this I haven't changed my fstab at all.
GJ
|
|
|
09-25-2005, 02:26 PM
|
#2
|
Senior Member
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016
Rep:
|
try umount /mnt/hda1 -l (lowercase letter "L")
Code:
-l Lazy unmount. Detach the filesystem from the filesystem hierarchy
now, and cleanup all references to the filesystem as soon as it is
not busy anymore. (Requires kernel 2.4.11 or later.)
Last edited by slackhack; 06-27-2006 at 05:52 PM.
|
|
|
09-25-2005, 07:31 PM
|
#3
|
LQ Guru
Registered: Oct 2004
Distribution: Arch
Posts: 5,384
|
/dev/hda1 /mnt/hda1
sudo umount /mnt/hda1
Try unmounting the mounting point and not the device. let us know if that works. Also try to su to root then umount. sudo won't do somethings.
Last edited by teckk; 09-25-2005 at 07:33 PM.
|
|
|
09-26-2005, 07:54 AM
|
#4
|
Senior Member
Registered: Jul 2005
Distribution: Slackware
Posts: 1,274
Rep:
|
Also make sure that no processes or apps are currently using the drive.
|
|
|
06-27-2006, 12:30 PM
|
#5
|
LQ Newbie
Registered: Jun 2006
Posts: 1
Rep:
|
I am running Red Hat 9, in a lab environment in school, and I've encountered this problem trying to umount the floppy at times, as well as a usb device.
For the usb, I checked the processes and killed them -9 baby, and it worked like a charm then. However, that didn't work for my floppy. But I read this and got the Lazy Umount command, and it worked fine.
Just FYI, I'd thought I'd let you guys know that it worked for my problem, and thanks.
|
|
|
06-27-2006, 05:52 PM
|
#6
|
Senior Member
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016
Rep:
|
wow, that's really bringing a thread back from the dead.  but glad to know it worked for you. i'll also take this opportunity to change a small typo in my original post. 
|
|
|
All times are GMT -5. The time now is 10:35 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|