Vet Old Hard Drives Before Adding to RAID
In this article
To vet an old hard drive before adding it to a RAID array, you must verify its physical health via SMART data and perform a full write/read surface test to identify bad sectors. This process ensures that a failing drive does not compromise your data redundancy or cause a RAID rebuild to fail, which could lead to total data loss. You will need a machine with a spare SATA or USB port and a diagnostic utility like CrystalDiskInfo or GSmartControl.
What You'll Need
- The old hard drive to be tested.
- A SATA-to-USB adapter or an available internal SATA port on a motherboard.
- A computer running Windows, macOS, or Linux.
- SMART monitoring software (e.g., CrystalDiskInfo for Windows or GSmartControl for cross-platform).
- A disk benchmarking or surface testing tool (e.g., HDDScan or the built-in BadBlocks utility in Linux).
Step-by-Step
- Physical Inspection: Before powering on the drive, examine it for physical damage. Check for dents in the casing, leaking capacitors on the PCB, or bent pins on the SATA connector. If the drive has been dropped or stored in a humid environment, proceed with extreme caution, as physical failure can occur immediately upon spin-up.
- Connect the Drive: Connect the hard drive to your testing machine. Use a SATA-to-USB adapter if you do not want to open your PC case. Ensure the drive has adequate power; 3.5-inch desktop drives require an external 12V power adapter, as USB ports alone cannot spin them up.
- Check SMART Status: Launch your SMART monitoring tool. Look for the overall health status. While a "Good" status is a start, you must look at specific attributes. Check the "Reallocated Sectors Count." If this number is anything other than zero, the drive has already started failing by moving data from damaged areas to a spare area. A high number of "Pending Sectors" is an even bigger red flag, indicating sectors that the drive cannot read but hasn't yet been able to remap.
- Analyze Power-On Hours: Check the "Power-On Hours" attribute. This tells you exactly how long the drive has been running. While hours alone don't dictate failure, a drive with 50,000 hours is significantly more likely to fail during the intense stress of a RAID initialization than a drive with 5,000 hours.
- Perform a Full Surface Scan: SMART data is a summary; a surface scan is a physical audit. Use a tool like HDDScan or a similar utility to perform a "Read Test" or "Surface Test." This process reads every single sector on the disk. If the software encounters a sector that takes too long to read or returns an error, it will mark it. Any "red" or "bad" blocks discovered during this phase mean the drive is unfit for RAID.
- Conduct a Write/Verify Test: For the highest level of confidence, perform a write test. This involves writing a specific pattern of data to every sector and then reading it back to verify accuracy. Warning: This will permanently erase all data on the drive. This is the most rigorous test because it forces the drive to exercise its write heads and the magnetic platter surfaces.
- Monitor Temperatures: During the surface scan, keep an eye on the drive's temperature. Hard drives in RAID arrays are often packed tightly together with limited airflow. If the drive exceeds 50-55 degrees Celsius during a standalone test, it may overheat and trigger thermal throttling or failure once placed inside a RAID enclosure.
- Final Validation: If the SMART status remains "Good," the reallocated sector count is zero (or very low and stable), and the surface scan shows no bad blocks, the drive is considered vetted.
Common Mistakes
One of the most frequent mistakes is relying solely on the "Health: Good" indicator in SMART tools. This is a binary flag that often only triggers when the drive has already crossed a critical failure threshold. A drive can be rapidly degrading—increasing its reallocated sector count every hour—while still reporting a "Good" status because it hasn't hit the manufacturer's limit yet. Always look at the raw values of the attributes.
Another common error is skipping the surface scan. SMART data is reactive; it only records an error after the drive attempts to access a bad sector. If a portion of the disk hasn't been accessed in years, SMART won't know it's dead until you try to write to it. In a RAID environment, this "hidden" bad sector will only be discovered during a parity sync or a rebuild, which is exactly when you cannot afford a drive failure.
Finally, users often forget to check the power requirements for 3.5-inch drives. Attempting to power a large HDD via a simple USB-A to SATA cable without an external power brick can lead to "clicking" sounds (the click of death) or the drive not appearing in the OS, leading the user to falsely believe the drive is dead when it is simply underpowered.
Tips
If you are using Linux, the smartctl command (part of the smartmontools package) is the gold standard for vetting. Use smartctl -t long /dev/sdX to trigger a long internal self-test. This is a firmware-level test that is often more accurate than third-party software scans because it uses the drive's own internal diagnostic routines.
When vetting multiple drives for a new RAID array, try to match the Power-On Hours as closely as possible. Mixing a brand-new drive with one that has 40,000 hours creates a "weak link" in your array. While RAID is designed to handle a failure, having a drive that is significantly older increases the probability of a second drive failing during the stressful rebuild process of the first.
Always run your tests for at least 24 hours if the drive is very large (10TB+). Short tests may miss intermittent failures that only appear once the drive reaches a certain thermal equilibrium.
Troubleshooting
If the drive is not detected by the operating system, first check the physical connections. Try a different SATA cable or a different USB port. If it is an external enclosure, ensure the power switch is on and the adapter is plugged into a wall outlet. If the drive makes a repetitive clicking or grinding noise, stop immediately; this is a mechanical failure of the actuator arm or head crash, and the drive is unrecoverable.
If the SMART tool shows a high number of "Current Pending Sectors," you can attempt to "force" the drive to remap them by performing a full format (not a Quick Format) or a full write pass. This forces the drive to write to those sectors; if the write fails, the drive's internal logic will finally reallocate the sector to the spare area. If the "Reallocated Sectors Count" continues to climb during this process, the drive is physically disintegrating and must be discarded.
If the surface scan hangs or the computer freezes when reaching a certain percentage, the drive has encountered a "hard" bad sector that is causing the OS to wait indefinitely for a response. This is a definitive fail. Do not attempt to "fix" this for a RAID array; any drive that causes system instability is a liability.
Frequently Asked Questions
Can I use a drive with a few reallocated sectors in RAID?
It is not recommended. While RAID can handle a total drive failure, a drive that is actively reallocating sectors is unstable. If that drive fails during the rebuild of another drive, you may lose the entire array.
Does a "Quick Format" count as vetting?
No. A Quick Format only deletes the file system index; it does not check the actual magnetic surface of the platters. Only a full surface scan or a full format verifies the integrity of the sectors.
How long does a full surface scan take?
It depends on the drive capacity and speed. For a modern 8TB HDD, a full read scan can take 15 to 24 hours. Do not rush this process, as the goal is to stress the drive.
Should I vet the drive if it is "New Old Stock"?
Yes. Drives that have sat in a warehouse for years can develop "stiction" (where the heads stick to the platter) or lubricant degradation. Vetting ensures the drive is still mechanically sound before it is locked into a RAID config.
Will these tests erase my data?
SMART checks and Read-only surface scans are non-destructive. However, Write tests, Full Formats, and BadBlocks tests will completely erase all data on the drive.
Is a USB adapter as accurate as a SATA connection for vetting?
Most modern USB-to-SATA adapters support SMART pass-through, but some cheap ones do not. If your software cannot see the SMART attributes, you must connect the drive directly to a SATA port on the motherboard.