I can't eject usb ''writing data to usb trans memory'' it shouldn't be unplugged - Debian

digitard

Active Member
Joined
Jan 3, 2021
Messages
115
Reaction score
37
Credits
1,041
The led still blinking 20 minutes now, and one usb that i pulled out cannot mount now.
I think i found a fatal problem with Debian, if there is a workaround I will forgive the broken usb... but if i can't casually backup everything then there is no OS for me in this world
 
Last edited:


is there a way to fix a usb stick that does not mount because I pulled it out while it was blinking??
 
What filesystem is on the usb stick?
 
You can try the following:
Code:
sudo dosfsck -wrlavt /dev/sdXZ
Where X is the disk and Z the partition, check the man page to read about the flags: man dosfsck
 
Buy a new usb stick.....and do not remove it while it is still mounted.

There will be a way to remove a USB without breaking it, in Debian

Turning off a single usb device... again
http://stackoverflow.com/questions/18765725/ddg#23073364


Turn off device ID 2-1:
echo '2-1' |sudo tee /sys/bus/usb/drivers/usb/unbind
Turn device ID 2-1 back on:
echo '2-1' |sudo tee /sys/bus/usb/drivers/usb/bind
In my case, using device ID 2-1 controls power to my usb stick, and as a consequence controls the light.
  • TIP: If they work for you in Debian, create an alias for them to make life easier for you later.
 

Members online


Top