Skip to main content
Self-hosted · Debian

Test old drives before they go into your NAS

Test HDDs and SSDs thoroughly and erase them securely before they go into your home-built NAS.

Features

Hotplug detection

New drives show up on the dashboard immediately, including USB adapters.

SMART evaluation

Traffic light ok / warning / bad, with baselines for counters such as UDMA-CRC.

Self-tests

Start SMART short and long tests and follow their progress.

Surface scan

badblocks in read mode or as a destructive write test, plus burn-in.

Test plans & automation

Reusable test plans, optionally started automatically after plugging in.

Erase

Quick (signatures, partition table) or secure: zero/random, ATA Secure Erase, NVMe Format/Sanitize, TRIM, with verification.

Email alerts

Notifications for finished tests, failures or high temperatures.

Archive and history

Every drive with search and filters, all jobs and SMART snapshots, matched by serial number.

Quick start

One command as root on a Debian system installs the current version including the systemd service:

Installation

curl -fsSL https://disk-tester.znbw.de/install.sh | sudo bash

Update

sudo /appdata/disk-tester/app/deploy/update.sh

Roll back to the previous version

sudo /appdata/disk-tester/app/deploy/update.sh --rollback

The checksum is verified automatically. Details and alternatives are in the documentation.

How a test works

  1. Connect the driveSATA, USB or NVMe; detection works without a reboot.
  2. Check SMARTThe first finding shows right away whether the drive looks suspicious.
  3. Start a test planSelf-test, surface scan or burn-in, manually or automatically.
  4. Evaluate the resultBefore/after comparison of the SMART values and a clear verdict.
  5. Erase the driveWipe it cleanly and verified before installing or handing it on.

Requirements

System

Debian 12 or 13, running as root (access to smartctl, badblocks and block devices).

Drives

SATA, USB (via adapter) and NVMe.

Access

Web interface on the local network; release package with no build on the target system.