Hi there.
Do you have only Linux as an OS or you have another one installed as well? I'm asking because there is no way to query a USB memory stick for SMART-like parameters; I'm not aware of any memory sticks which support doing so even via publicly-available proprietary software. The best you can do is to check that you can successfully read+write to the entire device using badblocks:
https://en.wikipedia.org/wiki/Badblocks
You want to specify one of the write tests, which will wipe all data on the stick; make a backup first.
Find the device by looking at dmesg after plugging in the USB stick; you'll see a device name, and manufacturer information. Make sure you're using the proper device!
If the stick is formatted with a valid file system, you may have to unmount it first.
Example syntax, for a USB stick enumerated as /dev/sdz, outputting progress information, with a data-destructive write test and error log written to usbstick.log:
sudo badblocks -w -s -o usbstick.log /dev/sdz
You'll need to repartition and reformat the stick afterwards, assuming it passes; this test will wipe everything on the stick. Any failures indicate a failure of the device's memory controller, or it has run out of spare blocks to remap failed blocks. In that case, no area of the device can be trusted.
Let me know how it went. ![]()
i bought a flash drive about two weeks ago, it was working i had movies on there and i have formatted it multiple times before and worked fine. i deleted some files and ejected it, nothing i have done before and now i cannot format it or use it. im running on linux too

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic