Checking for bad sectors on USB drive

I have a 2 year old flash drive that I've always had trouble with. I suspect it might have bad sectors on it. How do I check for that?

Hi emerald - I regularly get problems with USB flash drives, but that's probably because I'm swapping them back and forth between Linux and Windows machines! I'm always able to get them working again though by deleting/recreating the drive's partition with Gnome Disks, GParted or - under Windows - Minitool Partition Wizard (free edition)... one or another usually does the trick :slightly_smiling_face: If you have important files on the drive though you'll need to copy them elsewhere first...

2 Likes

Also:

https://www.cyberciti.biz/faq/linux-check-the-physical-health-of-a-usb-stick-flash-drive/

2 Likes