This is part 4 of a multi-part series. See part 1 for the beginning of the series.
Note that this was written long before solid state drives were common (or possibly before they existed), so when I say "drive", I mean traditional spinning hard drives. Burn-in testing like this on SSDs makes a lot less sense and will likely only reduce their useful lifespan.
Burn-in testing
A good way to do a burn-in test on a new drive is to use a combination of SMART self-tests and the badblocks utility. An example of how to do this can be found at https://github.com/silug/drivetest.
This script does the following:
- Enables SMART on the drive
- Checks for existing SMART health problems
- Runs a SMART conveyance or short test if the drive advertises that capability
- Uses badblocks to do a non-destructive read/write test of the whole drive
- Checks for resulting SMART errors
- Runs an extended SMART test
To be continued in part 5.
No comments:
Post a Comment