logoalt Hacker News

j45 • yesterday at 6:51 PM • 4 replies • view on HN

It's a good idea to just schedule and proactively replace hard drives too, especially depending on the grade of it.


Replies

bonoboTP • yesterday at 6:59 PM

Good idea for infinite money, but if you don't have a huge storage cluster, modern disks don't fail all that much. Super rare for enterprise level ones. I've operated many dozens, I had like one or two fail over 5 years and those were already over 10 years old. I found SSDs more finicky.

➕ show 2 replies
trollbridge • yesterday at 7:41 PM

I have a fleet of server pulls which still are running 6-7 years later. In my experience once a drive gets past 50,000 hours, as long as you monitor SMART and temperatures it’ll last forever. (Proper airflow is essential.)

I generally run RAID-1C3 plus a hot spare (periodically take it to C4, and then back to C3 to rotate what the hot spare is), with a cold spare on the shelf. With CephFS it’s a bit different but basically the same idea.

toast0 • yesterday at 7:32 PM

For home stuff, I try to replace hard drives on a schedule, but economics win. For work stuff, my experience was spinning drives offer pre-failure indication if you monitor smart; ssds fail less often, but I never got an indication before failure. Historically, most of my servers would be replaced before you really start to worry about storage lifetime, but hardware stays useful longer these days.

There have been firmware issues across multiple manufacturers where a lifetime counter rolled over and made the drive inaccessible ... if you knew in advance, you could pull those out of service before they failed, but how would you know.

For personal drives, I try to buy one at a time or at least bring them up a few weeks apart. For work drives, sometimes you just end up with a huge batch of servers coming online at the same time. Hopefully backups go to different systems.

throwaway270925 • yesterday at 9:21 PM

No, it really isnt! What a stupid thing to say!

Use (soft)RAID, have hot spares, done.

Lemon drives usually fail within the first weeks, good drives keep running for years long after their 5th birthday.