I either own or am in charge of (at work) a lot of HDDs that are either part of raid arrays, or there are backups of the data elsewhere.
When a disk is starting to fail and going slow because it's repeatedly trying to recover data out of an area is very annoying. I don't need the data and I'd like to either fix or force some errors on the failing drives so that hdd manufacturers are more likely replace them under warranty.
I realise there are other QAs about bad sectors but they are typically talking about recovering data. I'm not interested in what data is on the drive. Essentially I'd like to rapidly force the SMART reallocated sector count up over the failure threshold as quickly as possible or have the disk stabilise with all bad sectors reallocated and no more occurring. Currently the steps I take are
- quick format the drive
- if there was any errors go to step 1
- use a powershell script to copy files to fill the entire disk
- if there were any errors delete the problem files and goto step 3
- verify contents of all files are the same as the source file
- if there were any errors go to step 1
Usually the disk stops working completely or I become fed up with how many days this takes before the reallocated sector count reaches its failure threshold.
Sometimes I try the technique of leaving a file in a special bad files folder I make that I know has a bad sector in the file as my own marker to not use those sectors.
Are there any other tools or methods that could be faster?
Edit: I should also point out that I'm not concerned about securely wiping the drive either. If someone physically obtains the disk and can read any data off it good for them.