LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 07-24-2012, 08:05 AM   #1
dhruvats
LQ Newbie
 
Registered: Jun 2012
Location: Bangalore,India
Distribution: Linux Mint 13 XFCE,Windows XP
Posts: 29

Rep: Reputation: Disabled
Safe Remove USB drive not working in Xubuntu 12.04


Whenever I try Safe Remove/Eject Volume option for removing USB drive in the Thunar file manager, the drive is still mounted.
Sometimes very rarely, the USB drive gets unmounted properly.

Is there a way to make this work properly.
 
Old 07-24-2012, 12:47 PM   #2
jefro
Guru
 
Registered: Mar 2008
Posts: 11,970

Rep: Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485
Boot to live cd of xbuntu and see if it works.
 
Old 07-24-2012, 02:01 PM   #3
saman_artorious
Member
 
Registered: Sep 2008
Posts: 78

Rep: Reputation: 1
Quote:
Originally Posted by dhruvats View Post
Whenever I try Safe Remove/Eject Volume option for removing USB drive in the Thunar file manager, the drive is still mounted.
Sometimes very rarely, the USB drive gets unmounted properly.

Is there a way to make this work properly.
what about when you try the fuse -k command? the device cannot get unmounted because it is still busy,
if you kill all processes keepin it busy, it will do work
 
Old 08-08-2012, 01:12 PM   #4
RealiX
LQ Newbie
 
Registered: Aug 2012
Location: Italy
Distribution: Slackware64 13.37
Posts: 5

Rep: Reputation: Disabled
Try to umount the device by this terminal command:

sudo umount /media/point-of-mount

obviously, you need replace "point-of-mount" with the real mount point assigned to your USBDrive.
 
Old 08-08-2012, 05:55 PM   #5
sag47
Senior Member
 
Registered: Sep 2009
Location: Philly, PA
Distribution: Kubuntu x64, RHEL, Fedora Core, FreeBSD, Windows x64
Posts: 1,503
Blog Entries: 35

Rep: Reputation: 382Reputation: 382Reputation: 382Reputation: 382
Code:
lsof | grep mountpoint
Is it actually mounting or is your system just "reporting" that it's mounted? There could be a discrepancy between /proc/mounts and /etc/mtab which tends to happen sometimes.
 
Old 08-17-2012, 12:30 PM   #6
dhruvats
LQ Newbie
 
Registered: Jun 2012
Location: Bangalore,India
Distribution: Linux Mint 13 XFCE,Windows XP
Posts: 29

Original Poster
Rep: Reputation: Disabled
Sorry for the late response. I was on vacation.

When mounted my drive, here are the details.
df
Quote:
/dev/sdc 3914256 7272 3906984 1% /media/dhruva
/etc/mtab
Quote:
/dev/sdc /media/dhruva vfat rw,nosuid,nodev,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush,uhelper=udisks 0 0
/proc/mounts
Quote:
/dev/sdc /media/dhruva vfat rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0077,codepage=cp437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro 0 0
When I select "Eject Volume", error about device cannot be unmounted is displayed telling about device being busy and writing data to device.

But the entries for the USB mount points are not there in the outputs of /proc/mounts,/etc/mtab and df once "Eject Volume" is selected. However the USB is still mounted and the USB light is on.
 
  


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 Install Xubuntu 11.04 Onto USB Drive cjc811 Ubuntu 3 05-19-2011 02:03 AM
Cant mount USB drive on Xubuntu asdandekar Ubuntu 5 02-01-2009 11:04 AM
firewire drive no safe remove roofninja Ubuntu 2 06-01-2007 12:16 AM
When is it safe to remove USB devices? mysticsound Linux - Laptop and Netbook 8 05-23-2005 06:17 PM
Safe shutdown of external USB hard-drive? blixel Linux - Hardware 3 12-12-2003 01:57 PM


All times are GMT -5. The time now is 01:53 AM.

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