LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Safe Remove USB drive not working in Xubuntu 12.04 (https://www.linuxquestions.org/questions/linux-desktop-74/safe-remove-usb-drive-not-working-in-xubuntu-12-04-a-4175418390/)

dhruvats 07-24-2012 07:05 AM

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.

jefro 07-24-2012 11:47 AM

Boot to live cd of xbuntu and see if it works.

saman_artorious 07-24-2012 01:01 PM

Quote:

Originally Posted by dhruvats (Post 4736696)
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

RealiX 08-08-2012 12:12 PM

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.

sag47 08-08-2012 04:55 PM

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.

dhruvats 08-17-2012 11:30 AM

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.


All times are GMT -5. The time now is 05:58 PM.