examples: badblocks -nvs /dev/xxx This would check the drive "sdb" in non-destructive read-write mode and display progress by writing out the block numbers as they are checked. badblocks -wvs /dev/xxx This would check the sixth partition of the drive "sdb", in destructive[...]
#linux #gnu #gnulinux #opensource #administration #sysops #storage #harddisk #ssd #hdd #smart #mtbf
Originally posted at: https://dwaves.de/2014/11/25/gnu-linux-bash-script-detailed-info-about-harddisk-and-smart-tests-short-and-long-and-scanning-for-badblocks/