4

i have a problem trying to safely remove an external portable drive in Ubuntu 14.04 because when i tried to safely remove the drive it closes for a while but then just keeps coming back(mounts itself again and opens a window).

there was that one time only that when i safely remove the drive it just completely removed the drive where the drive stopped spinning and the LED indicator turned off just like when i safely remove it in Windows. i did not changed any settings i just turned on my computer, copied a file, then safely removed the drive.

what is the problem with this? is there a solution? i just wan't to safely remove my drive by making sure it stops spinning and the LED indicator is off. i know its possible because it happened once.

Additional info that could be useful Drive is a Seagate Backup Plus Slim 1TB Ubuntu 14.04 is a fresh installation.

if you need additional info just ask.

Goyzki
  • 41

2 Answers2

0

Install udisks.

sudo apt-get install udisks

Then try to execute this command in the terminal, open terminal with CTRL + ALT + T

sudo udisks --unmount 'device' && udisks --detach 'device'

Replace 'device' with the name of your device, might be /dev/sdb1. If you are unsure execute the command mount in the terminal and post back the result here.

0

The answer to this question solved this problem for me:

Prevent USB Drives from auto-remounting after remove

In particular, I used the command

gvfs-mount --eject "file:///media/$USER/DISK_LABEL"

with '$USER' replaced by my username and 'DISK_LABEL' replaced by the name of the drive (e.g. TOURO, 16GB_USB, etc.)

Dan Yard
  • 5
  • 2