Ethan_Pixelate
Posts: 2
Joined: Mon Mar 02, 2020 12:57 am

Being told USB wasn't ejected after ejecting and taking USB out

Mon Mar 02, 2020 1:03 am

Hello, i have a raspberry pi 3B+ running Rasbian Buster.

I am working on a project that i store on my usb but whenever i need to take it out it out of the pi, i eject and then pull it out as fast as humanly possible. However, no matter how fast out pull out the usb, it will tell me "USB was disconnected without ejecting", even after i JUST ejected it. And its becoming pretty bad for me as a file called game.lua keeps becoming corrupted i have to re-save it on the pi, hoping to god that i didnt close geany. Could anybody please help? This is really starting to make my head explode :x .

User avatar
Botspot
Posts: 1241
Joined: Thu Jan 17, 2019 9:47 pm
Location: Texas
Contact: Website

Re: Being told USB wasn't ejected after ejecting and taking USB out

Mon Mar 02, 2020 2:21 pm

Ethan_Pixelate wrote: i eject and then pull it out as fast as humanly possible. However, no matter how fast out pull out the usb, it will tell me "USB was disconnected without ejecting", even after i JUST ejected it.
Doing it fast won't help. To eject, click the eject button on the taskbar (panel), select the device you want to eject, then WAIT until you see this pop up:

Code: Select all

Device has been ejected.
It is now safe to remove the device.
NOW the usb drive has been ejected and NOW you can unplug it.
Want to make your own Raspbian image?
  • Hard way: Mess with confusing terminal commands.
  • Easy way: Let Pi-Power-Tools do it all for you!
Boot your image in a VM, Flash from the Internet at top speed, Mount (to drop files in), Edit partitions, Shrink/Expand, Repair, and more. Enjoy! :)
https://github.com/Botspot/Pi-Power-Tools

User avatar
Burngate
Posts: 6290
Joined: Thu Sep 29, 2011 4:34 pm
Location: Berkshire UK Tralfamadore
Contact: Website

Re: Being told USB wasn't ejected after ejecting and taking USB out

Mon Mar 02, 2020 6:35 pm

The reasoning behind that advice:

When you tell the Pi (or any other computer) to "eject" a device, it tells the device to clean itself up, stop its housekeeping, and get ready for power-down.
Some of these things can take ages to sort themselves out - like a child getting ready for bed.

Ethan_Pixelate
Posts: 2
Joined: Mon Mar 02, 2020 12:57 am

Re: Being told USB wasn't ejected after ejecting and taking USB out

Tue Mar 03, 2020 4:38 pm

Botspot wrote:
Mon Mar 02, 2020 2:21 pm
Ethan_Pixelate wrote: i eject and then pull it out as fast as humanly possible. However, no matter how fast out pull out the usb, it will tell me "USB was disconnected without ejecting", even after i JUST ejected it.
Doing it fast won't help. To eject, click the eject button on the taskbar (panel), select the device you want to eject, then WAIT until you see this pop up:

Code: Select all

Device has been ejected.
It is now safe to remove the device.
NOW the usb drive has been ejected and NOW you can unplug it.
But i do wait for it to tell me that i can remove the usb.

However few days later and ive found out that its just the usb that has become horrifyingly corrupt, it even locked itself up as read-only :P, so now ive copied everything important to another usb and everything seems to be in working order now, thanks for the help though :D.

Return to “Troubleshooting”