PDA

View Full Version : [ubuntu] Unable to safely remove external h.d.



ortaa23
November 8th, 2009, 02:00 PM
Greetings,

I am getting this message when I tryto safely remove my Maxtor h.d.

"Unable to stop drive

Error detaching: helper exited with exit code 1: sense buffer empty.
Error STOP UNIT for /dev/sdb: Success"

This is with Ubuntu 9.10. Is there anything I can do to fix this?

Adam

Zoot7
November 8th, 2009, 02:35 PM
You should be able to force it to umount by running


sudo umount -l /dev/sdb1

ortaa23
November 8th, 2009, 04:21 PM
Hello there

Thanks for your reply.

Unless I am typing it wrong, the command you suggest was not found.

sudo, <space>, unmount, <space>, -,1, <space>, /, dev, /, sdb1

PS Very ignorant about this sort of thing

Miljet
November 8th, 2009, 04:51 PM
The command is umount, not uNmount. Don't ask me why. You certainly are not the first to be tripped up by this command.

Zoot7
November 8th, 2009, 05:35 PM
Hello there

Thanks for your reply.

Unless I am typing it wrong, the command you suggest was not found.

sudo, <space>, unmount, <space>, -,1, <space>, /, dev, /, sdb1

PS Very ignorant about this sort of thing

Yeah it's "umount" as opposed to "Unmount", and also that's also a "-l" as in lower case "L", not 1.

Also don't worry about being inexperienced, that's what we're here for. ;)

ortaa23
November 8th, 2009, 05:54 PM
OK, thanks for that. I now have a new message when I select Safely remove drive:


Unable to stop drive

This file cannot be stopped

Any ideas?

Bunnybugs
November 8th, 2009, 06:04 PM
Well, I guess that you have some kind of programs/files in use from your harddisk, shut down all the applications that have use of your E-HDD

(Had the same trouble with an USB-Flash Drive)

ortaa23
November 8th, 2009, 09:02 PM
Hello

Unless there are things hiding away somewhere, then all apps are closed when I try to remove the drive.

Zoot7
November 8th, 2009, 09:05 PM
OK, thanks for that. I now have a new message when I select Safely remove drive:


Unable to stop drive

This file cannot be stopped

Any ideas?
Does forcing it to unmount with umount -l work?

ortaa23
November 10th, 2009, 01:47 PM
Hi

The umount -l command has no effect.

bovender
November 15th, 2009, 02:41 PM
Hi all,

I have the same problem here, it occurs quite frequently. I attach a screenshot of the error message. As far as I can tell, the drive does get unmounted even when this message is display. Just not sure if it was "safely" unmounted.

lazy

Zoot7
November 15th, 2009, 05:26 PM
Try right clicking it and selecting "Unmount", then do the safe removal.

It it won't let you umount you can force it to do so by running

sudo umount -l <hard drive>
and then do the safe remove.