LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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

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

Rep: Reputation: 15
Unhappy Removable disk will not unmount


Hello!

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!

Billy
 
Old 04-08-2004, 08:01 PM   #2
rootboy
Member
 
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.


John
 
Old 04-08-2004, 09:28 PM   #3
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 10.04/12.04, Scientific Linux 6.3, Android-x86, Maemo
Posts: 1,658

Rep: Reputation: 138Reputation: 138
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, 09:45 PM   #4
czechknight93
Member
 
Registered: Aug 2003
Location: Weatherford, OK
Distribution: openSUSE 10.1
Posts: 95

Original Poster
Rep: Reputation: 15
Talking

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, 12:41 AM   #5
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
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 01:46 AM.
 
Old 04-09-2004, 09:34 AM   #6
czechknight93
Member
 
Registered: Aug 2003
Location: Weatherford, OK
Distribution: openSUSE 10.1
Posts: 95

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

Code:
/etc/fstab
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, 01:54 PM   #7
lotheac
Member
 
Registered: Apr 2004
Location: Finland
Posts: 32

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


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


All times are GMT -5. The time now is 06:45 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration