Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 24947  / 2 Years ago, tue, february 8, 2022, 7:08:15

So I'm trying to safely remove this USB drive, because when I don't it does not work properly. When I go on Nautilus and try to eject it, I get this error message:



Error ejecting: eject exited with exit code 1: eject: unable to eject, last error: Invalid argument


And when I try to safely remove it via Nautilus or Disk Utility:



Error detaching: helper exited with exit code 1: Detaching device /dev/sdb
USB device: /sys/devices/pci0000:00/0000:00:12.0/usb3/3-1)
SYNCHRONIZE CACHE: FAILED: No such file or directory
(Continuing despite SYNCHRONIZE CACHE failure.)
STOP UNIT: FAILED: No such file or directory


Doing a file system check on Disk Utility returns File system is clean.. Trying to unmount it via terminal returns this:



~sudo eject /dev/sdb
eject: unable to eject, last error: Invalid argument


I've tried to unmount it on Windows (dual boot system), but I simply got an error message saying that it was unable to eject it. No programs running or anything.


More From » 12.04

 Answers
0

So, the problem has been solved thanks to Douggro, who helped me in the comments. I'm just reposting his answer here to close the question.




Try ls /media and see if the drive shows there. If it does, sudo umount /media/drivename – douggro



[#27836] Thursday, February 10, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
darpose

Total Points: 424
Total Questions: 99
Total Answers: 121

Location: Jersey
Member since Fri, Oct 1, 2021
3 Years ago
darpose questions
Sun, Jan 23, 22, 04:32, 2 Years ago
Tue, Apr 25, 23, 23:44, 1 Year ago
Wed, Dec 15, 21, 14:42, 2 Years ago
Wed, Jun 2, 21, 23:41, 3 Years ago
;