Unofficial Hacker News companion — get notified on comment replies, and more.

If you want failover to work well, use it often (opens external site)

544 points by madflojo 2 days ago | bencane.com | 144 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (11)

  1. It's a good idea to just schedule and proactively replace hard drives too, especially depending on the grade of it.
    Replies (4)
    1. 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.
      Replies (3)
      1. What about cycling through? The additional drive can be your "hot spare" or "cold spare".
      2. For a project we bought 10 laptops and hired people after. Seven of those hard drives failed in about five months. Bad batch. Statistical clustering is what you’re planning for in disaster recovery. What do we do when no single point of failure can take out the system but three happen at once?
        Replies (1)
        1. Yes, when buying disks for a big RAID, they should not come from the same batch. Good vendors take care of this.
          Replies (1)
          1. Best to still buy the same drives from different vendors if possible.

            Laptop manufacturers should be mixing it up but they might find it more useful to have the failures clustered.

      3. Most people don’t buy enterprise grade drives though.

        Western digital also lied about their CMR tech in their NAS grade drives.

        If one is using something like a synology, they are generally reliable and can run for 5-10y before anyone notices they’ve had it that long.

        Replacing drives at the 5-10 year range can happen naturally if the rain needs to be eventually grown as well. Having a spare drive on hand is something to factor into the original cost.

    2. 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.

    3. 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.

      Replies (1)
      1. I have seen the same, also it’s about how much load is on the drives and if that type of load is a strain for it.

        Smart drive notifications is key

    4. 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.