unable to eject external USB drives 16.04
8,031
Use umount with Force option. if your device is/dev/sdb1, use:(to check usb type lsblk
)
sudo umount -f /dev/sdb1
Edit :
ls /media
and see if the drive shows there. If it does,
sudo umount /media/drivename
Related videos on Youtube
Author by
Silvija Milovac
Updated on September 18, 2022Comments
-
Silvija Milovac over 1 year
I can't safely eject my MP3 player.
I am getting the error as follows.Error ejecting /dev/sdb: Command-line `eject "/dev/sdb"' exited with non-zero exit status 1: eject: unable to eject, last error: Invalid argument
help, pls tnx
-
WinEunuuchs2Unix over 7 yearsCan you include within your question the command you are using to unmount the mp3 player?
-
Boris Hamanov over 7 yearsAre you sure that you're trying to eject the correct device? If so, did you leave any application open that was using the MP3 player? Can you eject the MP3 player using the eject icon in the left pane of a Nautilus (File Manager) window? Show us the output of
df
andsudo fdisk -l
(lower case L) from the terminal app. Cheers, Al -
Silvija Milovac over 7 yearsCommands do not work, The error pops up when I try to eject it.
-
Silvija Milovac over 7 yearsI have upgraded today, and the problem kinda disappeared. But I'll check it one more time when I get home. Maybe it is a USB device problem.
-
Silvija Milovac over 7 yearsOK, so here is the thing. Sometimes USB port works, sometimes not. Right now it is not able to detect my USB stick. --- While I was upgrading to 16.04 the box popped out and it said something about usb port, recommend to 'turn it off'. And something about 'turning it on' later in settings or something like that. And I've clicked OK. Now 2 out of 4 usb ports wont even detect devices(exept mouse and cooler). The other 2 work just fine.
-
Silvija Milovac over 7 yearsand as for sony walkman MP3 player, I still cant eject it. Still get the same error as written above. And insted of 'safe to remove' -sometimes! I am getting " Dont unplug, writing data tralalla..."
-
-
minigeek over 7 yearsMay be your mp3 player is running in background.. check the edit
-
Silvija Milovac over 7 yearsumount: /dev/sdb1: not mounted (and it is not running in backgroud)
-
minigeek over 7 yearsNot necessarily sdb1 check what is sdX in lsblk...did u read my edit section in answer
-
minigeek over 7 yearsOhk.. seems like it it not mounted...is it causing errors if u directly remove them?
-
Silvija Milovac over 7 yearsnope, everything seems fine, but I am worried about the device
-
Silvija Milovac over 7 yearsas for USB stick, does not recignise it