[SOLVED] 2.5" external USB cases that support trim

NickJHP

Prominent
Jul 21, 2021
10
2
515
Is there any listing anywhere that shows what 2.5" USB cases allow Trim to be run on an SSD installed in the case?

I have an Asmedia 128Gb SSD on which I could run Trim without problems when I had it running in a dsektop PC. I ran out of space on it, so replaced it with a larger SSD and put the 128Gb SSD in a Nexstar TX case that I had lying around, so that I could boot a Raspberry Pi off it. It boots without any problem, but when I check for Trim support (sudo fstrim -v /), I get a response that "the discard operation is not supported", meaning that I can't get Trim to run. I have another identical RPi that is booting off a Transcend Jetflash USB stick, and Trim runs without any problem on that, so it appears to me that the problem with Trim not being supported on the SSD lies with the interface in the case between the SSD and the RPi.
 
Solution
for trim on USB you will need UASP (USB attached SCSI protocol), some external sata usbs still using older BOT (bulk only protocol) which doe not support trim
google search "uasp usb3 sata" it should throw you lots of results

Raspberry Pi 4 supports uasp (if its older it doesnt support uasp)
Nexstar TX usb 3.0 or better should support trim, what is your product number?
for trim on USB you will need UASP (USB attached SCSI protocol), some external sata usbs still using older BOT (bulk only protocol) which doe not support trim
google search "uasp usb3 sata" it should throw you lots of results

Raspberry Pi 4 supports uasp (if its older it doesnt support uasp)
Nexstar TX usb 3.0 or better should support trim, what is your product number?
 
Solution