Reliable USB flash drives

Used loads of usb flash drive with FreeBSD no problems. Sandisk, Pye, HP & unbranded with no failures. Any error messages & did you sync before removal. The only usb drive i have had a failure with was a Sandisk that failed in to read only & that was on a Windows 10 system.
 
Non-bricked dmesg:
ugen0.15: <Kingston DataTraveler 3.0> at usbus0
umass0 on uhub5
umass0: <Kingston DataTraveler 3.0, class 0/0, rev 3.20/1.10, addr 16> on usbus0
umass0: SCSI over Bulk-Only; quirks = 0xc000
umass0:8:0: Attached to scbus8
(probe0:umass-sim0:0:0:0): REPORT LUNS. CDB: a0 00 00 00 00 00 00 00 00 10 00 00
(probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(probe0:umass-sim0:0:0:0): SCSI status: Check Condition
(probe0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:20,0 (Invalid command operation cod
e)
(probe0:umass-sim0:0:0:0): Error 22, Unretryable error

Looks pretty bad to me for a "working" drive.
 
I got a literal bucket full of Kingston 120gb SSD from a friend who was disposing of them for his company.
These are not flash drives, but regular SSD.

I have these running as the sysvol in client machines and my own.
They have run for thousands of hours without bricking.

The only SSD that has bricked on me was a Samsung 840 Pro.
I strongly favor Samsung SSD and figure this was a fluke.

For thumb drives, I was using Patriot Rage without problem.
Currently using the tiny Samsung FIT thumb drives, again no problems.

MLC technology has a finite WRITE limit.
SLC does not, but is more expensive and much harder to find.

I don't think it is a brand problem.
 
they probably have crappy firmware that nobody tests against heavy dd.
also all flash drives potentially suck because controller chip and firmware version are not stable even for same external markings
 
This morning I bricked a Kingston Traveller 64Gb USB flash drive when using dd to put 15.0-BETA4 amd64 onto the drive.

It's the second time this has happened. The first was just after I got a pair of drives and Kingston replaced it. Now it looks like FreeBSD was at fault.

Any recommendations for USB flash drives that FreeBSD won't brick if I use them with dd?
Cheap as chips USB drives will die quite frequently and are awfully slow too,


If you want a faster drive but a bit more expensive https://ssd-tester.de/transcend_jetflash_920_128gb_usb_3_0.html might be of interest.

Have worked well for me in various applications without breaking the bank but I would expect them to die at some point.
 
The drives in question are this model

The first one was bricked on my old HP Xeon workstation running 14.2-RELEASE
The second was bricked on my new workstation with an Asus mobo running 14.3-RELEASE.

I _do_ think that there is a significant chance that I'm the only one that is complaining about FreeBSD dd bricking Kingston DataTraveler Exodia M 64 Go USB flash drives.
I have one, it works but it's really slow (by design).
 
An interesting thing I've learned over the years with repect to flash drives: you need to wait.

You plug in a USB drive, you mount it, you write to it you even have sync enabled.
Once the kernel sends the buffers to the specific device driver and specific device driver to
hardware, user has no control.
Some/lots of hardware may do write cache/buffering.
What does that mean in practical use?
I mount a USB drive, write stuff to it (cp or dd), umount it. I leave it plugged in for at least 15 to 30 secs
so any internal hardware things can complete, then I remove.

I've been bit in the past by immediately removing.

Not sure if this relates to the OP, but I can see USB "corrupted" by not waiting before removing.
 
they probably have crappy firmware that nobody tests against heavy dd.

well they seem to have a phison controller...

Phison controllers are notoriously unreliable and known for locking up or dying in a multitude of failure modes. There are several tools and *a lot* of guides available on how one can try to revive a locked up phison-based usb drive (and even SSDs).

Basically phison is to the storage world what realtek is for NICs - the cheapest crap available on the market and hence very widely used...
 
This morning I bricked a Kingston Traveller 64Gb USB flash drive when using dd to put 15.0-BETA4 amd64 onto the drive.

It's the second time this has happened. The first was just after I got a pair of drives and Kingston replaced it. Now it looks like FreeBSD was at fault.

Any recommendations for USB flash drives that FreeBSD won't brick if I use them with dd?
Late to the party but was looking for a USB drive myself.
I think some USB 3.* drives have a firmware file that gets overwriten with the "dd" command. I had that happen with a Team Group drive and it was not uncommon. There was a recovery procedure, specific to windows.
If you use a USB 2.0 drive they do not have the phison controller or other firmware, and will not get bricked by "dd". They can be reformated either with an MBR or the whole disk w/o and MBR.
I've been searching for a cheap USB2.0 1/2/4GB drive and found several under 5 dollars. My local Walmart had a 3pk of 4GB Onn drives for ~$13USD but it's currently out of stock. A single 4GB drive is also out of stock.

There are also a number of companies that put custom logo's in small drives ~$3USD but you need to buy in bulk
https://www.ideastage.com/aisearch?s=Flash Drives

I think a red USB 2.0 drive with a FreeBSD logo would make some great swag for the project.:)
 
Back
Top