# Spearfoot/disk-burnin-and-testing

Shell script for burn-in and testing of new or re-purposed drives

Repository: https://github.com/Spearfoot/disk-burnin-and-testing
Canonical: https://ross.abutalabs.com/products/disk-burnin-and-testing
Language: Shell
License: NOASSERTION
License Family: other
Topics: disk, posix-compliant, freenas, freenas-forum, smartmontools, freebsd-scripts, linux-scripts
Last push: 2026-07-29T21:03:00+00:00

## Health v2 (maintenance only)
Score: 66/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 95, release rhythm 8, longevity 100
- inputs: {"age_days": 3459, "days_push": 35, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1173, forks 128 (observed 2026-08-28T04:03:51.804369+00:00)

## What it is
A POSIX-compliant shell script that automates burn-in and stress testing of new or re-purposed disk drives. It runs SMART short and extended tests around a destructive badblocks write-mode pass, logging results per drive model and serial number.

## Use cases
- burn in new hard drives before putting them into service
- test re-purposed drives for bad sectors
- run SMART tests and badblocks on disks without data
- screen drives for reallocated or pending sectors before RMA
- validate multiple disks in parallel under tmux or screen
- prepare disks for a FreeNAS or other NAS build

## When to choose
- you want a simple scripted workflow combining SMART tests and badblocks
- you are testing drives on Linux or FreeBSD/NAS systems from the command line
- you need per-drive logs named by model and serial number

## When to avoid
- the disk contains any valuable data, since badblocks runs in destructive write mode
- you need a GUI or automated fleet-wide drive testing solution
- you cannot run as root or cannot afford multi-day test runtimes

## Facets
- artifact type: cli-tool
- maturity: active
- function: testing, benchmarking
- domain: hardware, developer-tools, self-hosted
- platform: bsd, cli
- tags: disk-burn-in, smartmontools, badblocks, freenas, drive-health, posix-shell, linux

## Member repositories
- Spearfoot/disk-burnin-and-testing (main) score 66

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:51.804369+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:28:21.042408+00:00, confidence not recorded.
  - readme: https://github.com/Spearfoot/disk-burnin-and-testing (fetched 2026-08-28T04:03:51.804369+00:00, sha 608e10fd8a76)
- Data as of 2026-08-30T08:39:29.467469+00:00.
