LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-26-2010, 11:34 AM   #1
xmrkite
Member
 
Registered: Oct 2006
Location: California, USA
Distribution: Mint 16, Lubuntu 14.04, Mythbuntu 14.04, Kubuntu 13.10, Xubuntu 10.04
Posts: 554

Rep: Reputation: 30
Can't unmount after I unplugged usb drive on accident


Hello,

I accidentally unplugged my usb drive before unmounting it. In windows this is no big deal, so I'm used to that. However, I'm finding that in Kubuntu 10.04 this is a big deal.

Now I can't mount any other drives unless I use the command line. Also, I can't unmount anything, even if I mount it on the command line.

What do i do? I know a reboot will fix this, but if it happens again i will be right back at this point. It should not take a full reboot just to unmount a drive.

I have tried umount -l and umount -f and the terminal window just hangs.

Please let me know if this is a bug or if there is a fix for this.
-Thanks
 
Old 10-26-2010, 12:44 PM   #2
SaintDanBert
Senior Member
 
Registered: Jan 2009
Distribution: Mint-19.3 with Cinnamon
Posts: 1,708
Blog Entries: 3

Rep: Reputation: 107Reputation: 107
Are you doing your umount commands using sudo or as a plain user. Unless you took special pains to permit plain user actions, any mount and unmount usually require sudo.

When something gets mounted, there is a file called mtab -- similar to fstab that tells everyone what is mounted now.
If sudo umount does not help, a reboot should clear the dead wood away.

Bonne chance,
~~~ 0;-Dan
 
Old 10-26-2010, 12:59 PM   #3
xmrkite
Member
 
Registered: Oct 2006
Location: California, USA
Distribution: Mint 16, Lubuntu 14.04, Mythbuntu 14.04, Kubuntu 13.10, Xubuntu 10.04
Posts: 554

Original Poster
Rep: Reputation: 30
Hello, this is a vanilla kubuntu install. So no pains were taken to get mounting going. For example, I use sudo mount /dev/sdb1 /media/test to mount and sudo umount /dev/sdb1 to unmount.

But usually, I go into dolphin file manager and click on the hard drive that appears on the left hand column. To unmount i right click on it and select unmount.

The issue is that no matter which method I use to mount the drive, if you unplug the drive before unmounting, all mounting functions work, but no unmounting functions work.

So to be forced to reboot just because I unplugged a drive a little early is just unacceptable. Especially since this has never been an issue in windows going back to windows 95. I would think that there should be a simple solution for ubuntu/kubuntu/all linux users. Or could this really be the way it was designed? What if I'm running a server and can't reboot often. How would someone in the situation handle this?
 
  


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
How to unmount USB drive on LTSP Client - NOT ROOT error. avinash.rao Ubuntu 2 07-01-2008 07:47 AM
How to fix USB Pen Drive unmount problems with slack 9.1? asowani Linux - Software 4 04-24-2008 04:16 AM
Cannot unmount usb drive without sudo mg92865 Linux - Newbie 10 12-30-2007 11:56 AM
USB Flash drive works great, BUT I can't unmount it?? Balarabay1 Linux - Hardware 6 11-20-2006 02:02 PM
Unmount USB Drive stevsom Linux - General 2 05-15-2005 01:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:06 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
Open Source Consulting | Domain Registration