in various "Great Deal" threads, I've shared how i run badblocks to test my HDDs and during some of those great deals, I use my 24-bay Supermicro to test as many as I can in parallel. in the most recent of such discussions here:
https://forums.servethehome.com/ind...b-sata-for-85-after-coupon.21440/#post-199937
I decided to write a script to automate such testing. So, yesterday I threw together this script I call 'bht' and wanted to share with other STHers. It can be found on github:
ezonakiusagi/bht
I've done some rudimentary testing, but please use it with some caution as the badblocks testing is data destructive (don't accidentally run the test on your boot drive!). Instructions are provided in the README, but feel free to ask questions here.
welcome any feedback. it's just a first draft really...
UPDATE1: fixed issue when testing SAS drives and added some protections against accidental data destruction.
UPDATE2: made a video demonstrating this tool:
https://forums.servethehome.com/ind...b-sata-for-85-after-coupon.21440/#post-199937
I decided to write a script to automate such testing. So, yesterday I threw together this script I call 'bht' and wanted to share with other STHers. It can be found on github:
ezonakiusagi/bht
I've done some rudimentary testing, but please use it with some caution as the badblocks testing is data destructive (don't accidentally run the test on your boot drive!). Instructions are provided in the README, but feel free to ask questions here.
welcome any feedback. it's just a first draft really...
UPDATE1: fixed issue when testing SAS drives and added some protections against accidental data destruction.
UPDATE2: made a video demonstrating this tool:
Last edited: