Before you begin
⚠️ LEGACY MAINTENANCE NOTICE (July 30, 2026): This guide is in maintenance mode and ends March 2027 (Ubuntu 22.04 LTS EOL is April 2027). Due to Ubuntu's transition to Snap packages, updated guides use non-Snap Debian distros. Critical errors will be corrected, but Snaps will not be accommodated. For a stable testing solution, refer to the updated guide using Debian. Ubuntu 26.04: Confirmed to work (ongoing accuracy not guaranteed).Other Distros: Any distro supporting ATA SMART access commands out of the box works, provided smartctl is installed (e.g., Debian).High-Capacity Drives (>2TB): The guide's 7-day completion estimate for erasure/sanitization will likely be inaccurate.WARNING (Seagate Rosewood): Avoid Secure Erase via USB or on drives with SMART errors—connect directly to a motherboard or use nwipe over USB to avoid creating a condition that is prime for a BSY brick. If you still use Secure Erase, save the SMART data first to support warranty claims in case it gets bricked, especially if your hand is forced by regulation like HIPAA, FINRA, SOC 2 or PCI-DSS. Why Test Your Drives? Most failures happen without warning. Catching silent errors early with the SMART data gives you time to catch the issue, make backups and replace the drive before sudden failure. Reliability Note: Budget drives (like WD Blue/Green) carry higher failure risks after 3–5 years than performance drives (like WD Black); some series also have known firmware bugs (e.g., 7200.11), or fatal issues such as platter scraping that create SMART errors (e.g, Seagate Rosewood and 7.01, IBM DeathStar/DeskStar 75GXP) Guide notes Parted Magic: While open-source (GPL) and redistributable, purchase directly from the official site for authenticity. Pricing: Single $19 | Subscription $59/yr or $19/quarterly | Lifetime $349 | Enterprise $1,750.eMMC & UFS: eMMC and most UFS devices do not support SMART data unless explicitly implemented.USB Enclosures: Enclosures must support UASP or command passthrough. If a drive doesn't show up in a cheap enclosure, connect it directly to the test PC.Bad Sectors: Manufacturer tools cannot fix major physical failures. Most drives cap spare sectors at ~100 before losing capacity and failing SMART entirely. While they both have tools to fix minor errors, a secure erase can do the same. For WD, download WD Drive Utilities. Segate uses SeaTools for testing and decoding the raw error rate data other tools cannot properly parse.⚠️ IMPORTANT: Back up your data before running tests, as severely compromised drives can fail under diagnostic stress. If a drive shows excessive SMART errors, do not attempt to "fix" it—back up your files immediately, replace it, and wipe the old drive!