LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
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?


  Search this Thread
Old 04-08-2004, 06:45 PM   #1
Registered: Aug 2003
Location: Weatherford, OK
Distribution: openSUSE 10.1
Posts: 95

Rep: Reputation: 15
Unhappy Removable disk will not unmount


I have a usb key drive I use in Linux to store data. The problem is that when I log in to Gnome, I have two icons, "removable" and "removable2." These two icons WILL NOT go away. If I plug in my key drive, a "removable3" is added to the desktop. If I restart the PC with the key drive attached, a "removable3" and "removable4" will be added to the desktop and the process begins again, so I do not want to restart the PC with the key attached. I have tried right-clicking on the icon and selecting "Unmount Volume" or right-clicking on the desktop and unchecking the disk, but all that happens is a little spike in my CPU meter and the icons remain on the desktop. I have done this both in and out of root access. I have tried deleting the icon, but I get an error message saying, "You cannot delete a volume icon." Any suggestions or solutions? Any will be appreciated. Thanks!

Old 04-08-2004, 09:01 PM   #2
Registered: Oct 2001
Distribution: Mint 15
Posts: 770

Rep: Reputation: 51
Post your /etc/fstab, it's a start.

This seems to happen alot, on my system, I occasionally use a Maxtor external drive that has two partitions; "Dos" and "Linux".

Now whenever I insert the USB disk, I get my old friends "Dos" & "Linux". Somewhere in the system this info is being retained for no apparent reason. I've just been too lazy to deal with it.

Old 04-08-2004, 10:28 PM   #3
Senior Member
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 12.04/14.04, Scientific Linux 6.3/6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,776

Rep: Reputation: 153Reputation: 153
You can open a console window, su to root and force a lazy unmount to the device using:

umount -l /mnt/device

or what-have-you...
Old 04-08-2004, 10:45 PM   #4
Registered: Aug 2003
Location: Weatherford, OK
Distribution: openSUSE 10.1
Posts: 95

Original Poster
Rep: Reputation: 15

I finally got one to disappear. I somehow tricked MDK in believing I never plugged the key in. Then, I sent files to one of the existing icons and then opened the drive to ferify the files were there. Once the files were verified, I closed the window and then unplugged the key and all but one icon disappeared.

Oh well. It worked! Thanks for helping.
Old 04-09-2004, 01:41 AM   #5
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
It sounds like your /etc/mtab may not be getting cleared. I had this same problem once. I was quite surprised one day to type "mount" and see that I had the same partition mounted 5 times.

Of course I didn't really, but mtab wasn't getting cleared at power off, and the mounts kept coming back after a reboot and duplicating themselves.

Post your fstab, and your mtab too, while we are at it.

Last edited by MS3FGX; 04-09-2004 at 02:46 AM.
Old 04-09-2004, 10:34 AM   #6
Registered: Aug 2003
Location: Weatherford, OK
Distribution: openSUSE 10.1
Posts: 95

Original Poster
Rep: Reputation: 15
When I type in:

in the console, I get: Permission denied. I'll also mention I was in the root account. Is that what I type or did I do it wrong? Thanks!
Old 04-09-2004, 02:54 PM   #7
Registered: Apr 2004
Location: Finland
Posts: 32

Rep: Reputation: 15
Try "cat /etc/fstab" or "less /etc/fstab" instead to list the file contents.


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
autofs does not mount removable disk sohmc Linux - Software 0 08-27-2005 05:41 PM
USB Removable Disk Autorun Dr. Bush Linux - Hardware 2 07-31-2005 03:10 PM
Mounting Removable Disk That's Not Plugged In At Boot Time Superman53 Linux - Laptop and Netbook 3 10-21-2004 07:57 AM
Removable disk problem! Braveheart1980 Linux - General 3 02-11-2004 04:58 AM
LAN backup to a removable hard disk chakkerz Linux - Networking 3 12-16-2003 07:11 PM

All times are GMT -5. The time now is 05:45 AM.

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