All my hard drives are dying

So I’ve lost about 5 disks in as many weeks with another two playing up now. They’re all pretty old so it’s not too suspicious that that’re all dying at the same time. But just to be sure what’s a good, definitive way to check if a disk is actually dead or if there’s some other problem? (Ideally on linux)

Spinrite?
Don’t be put of by the dated looks. This can be booted on PC and is able to scan your Harddrive with varying intensities for errors. It also often fixes “dead” drives by wizardry i don’t fully understand ( Reading dead sectors… Reallocating… Not skipping unreadable sectors… Something, something :wink: )
Has worked wonders for many drives for me.

2 Likes

If you have a multimeter I’d also suggest checking the voltages going to your hard drives. I believe the official spec is ±5% on both the 5V and 12V rails, so if it is outside that then it may cause problems.

4 Likes

listen to the drives when they power on. you should hear spinning at the start as is ramps up and starts trying to read data. if you hear the exact same noise over and over, sometimes its a click click click sometimes it sounds more like spinning then stop then spin then stop at the exact same tempo endlessly, then that is a failed drive that is constantly trying and failing to read. also check the smart data on the drive if you can. look for permanently bad sectors. if the number is 1 or more it is a early sign of drive failure. if the number is very high you need to backup and replace immediately.

Future buying advice, spread the brands across several harddrives so it wont die all at the same time. If you have to have the same brand, make sure it was not from the same batch.

They are different brands which I bought at different times. When I say they’re dead I should probably have been more specific, they power on and are readable but they throw IO errors, sometimes on the same file some times the file will error out and then work the next time.

So I guess what I’m looking for is a way to tell that the IO errors are because the disks are cactus or because of some other issue like a dying controller. Although the dying disks are happening in on multiple controller and multiple machines

Do the drives use a backplane?
Are they sas/sata?
Are you using hardware raid on the controller?
Have you checked all the smart data for the drives?

One thing to note is proximity and it’s effect on cooling.

Often dying drives get hot and kill the drives around them due to heating them up.

What does SMART say? Do you have alerts on the temps?

All of these. Also, try replacing the sas cables.
And making sure the HBA isn’t getting too hot (With that many disks I’m presuming you are using an HBA. If you are using a sata expander, well that’s another problem too.)

I’ve had backplanes and cables go bad. That’s a headache to deal with and time consuming to scrub. It’s also why I test my new setups with old dummy drives before committing my real arrays. I’ve had many errors on my drives with, and it was only once ever the drive itself.

I’m just looking for a software tool I can use to check if a disk is working properly or not

like the guys are saying, a bunch of drives failing in a short time sounds more like a controller or power supply issue or something.

On linux I’ve only used long smart self-tests and dd random full writes.

You might try Badblocks though?
https://wiki.archlinux.org/index.php/Badblocks

1 Like

I’ve been using badblocks. So if a disk doesn’t have any errors when running badblocks it’s probably okay?

I would say you have more breathing room?
I would mark the false positives as “suspect,” cycle in new drives when funds are available, and then carry on using the suspect ones, perhaps in deeper mirrors/higher raid level than usual?
I mean, all drives die, it’s just how sad you want to be when they go :slight_smile:

But there are others here with many more spindles than me :smiley:

I actually prefer to use my oldest drives in my most active array if possible for a similar reason. I expect problems to occur to my main array, like drives dying or user error, that why I have 2 backups. But if I’m ever in a situation where I reaching for my last backup, I don’t want it to be made of my oldest drives.

Good point.
I have cycled most of my oldest drives int a couple of really deep mirrors.
Like my rust datastore in my desktop is a 4 deep mirror
But that was more because they are smaller, rather than particular failures, and a couple of them are approaching/over 7 years old