[HOWTO] Test a hard drive, SDD, or thumbdrive for bad blocks
Warning! This is a destructive test!
Badblock utility writes a value to the drive, reads it back, and compares the two.
Where X is the drive letter: a,b,c,d
sudo badblocks -wvs /dev/sdX
To test a particular partition, X is the drive letter, Y the partition number: 1,2,3,4
sudo badblocks -wvs /dev/sdXY
David Gregory Medina
Post created by: David Gregory Medina