I have a ZFS RAIDZ2 array made of 6x 2TB disks with power on hours between 40,000 and 70,000. This is used just for data storage of photos and videos, not OS drives. Part of me is a bit concerned at those hours considering they’re a right old mix of desktop drives and old WD reds. I keep them on 24/7 so they’re not too stressed in terms of power cycles bit they have in the past been through a few RAID5 rebuilds.

Considering swapping to 2x ‘refurbed’ 12TB enterprise drives and running ZFS RAIDZ1. So even though they’d have a decent amount of hours on them, they’d be better quality drives and fewer disks means less change of any one failing (I have good backups).

The next time I have one of my current drives die I’m not feeling like staying with my current setup is worth it, so may as well change over now before it happens?

Also the 6x disks I have at the moment are really crammed in to my case in a hideous way, so from an aesthetic POV (not that I can actually seeing the solid case in a rack in the garage),it’ll be nicer.

  • deadcatbounce@reddthat.com
    link
    fedilink
    English
    arrow-up
    8
    ·
    edit-2
    10 hours ago

    Don’t fill copy-on-write fs more that about 80%, it really slows down and struggles because new data is written to a new place before the old stuff is returned to the pool. Just sayin’.

    I wouldn’t worry if you’re backed up. The SMART values and daemon will tell you if one is about to die.

  • detonator9798@lemmy.one
    link
    fedilink
    English
    arrow-up
    6
    ·
    12 hours ago

    I have a SAMSUNG HD103UJ 1TB I’m about to retire, but not because it’s bad, only replaced with other bigger HDD’s. It’s a bit sad to be honest, these Samsungs is rock solid!

    142578 hours (16 years)! 🤘

    • walden@sub.wetshaving.social
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      10 hours ago

      Wow. W Bush was president (or Obama depending on month).

      Edit: yep, W. Bush. Oct 6th 2008, so Obama hadn’t even been elected yet.

  • nesc@lemmy.cafe
    link
    fedilink
    English
    arrow-up
    1
    ·
    9 hours ago

    4x8tb they had 8.5k hours on them when I got them four years ago, they work non-stop since.

  • MNByChoice@midwest.social
    link
    fedilink
    English
    arrow-up
    6
    ·
    15 hours ago

    I tend to buy two at a time. Some are months old, others three years old.

    Professionally, I have seen drives over 10 years always on at low utilization without issue. (The data was easily replaceable.)

    crammed in to my case in a hideous way

    Heat is a killer. Check them regularly.

  • mbirth@lemmy.ml
    link
    fedilink
    English
    arrow-up
    13
    ·
    19 hours ago

    According to my Synology:

    • WD40EFRX-68WT0N0 - 86,272 hours
    • WD40EFRX-68WT0N0 - 86,207 hours
    • WD40EFRX-68N32N0 - 34,417 hours
    • ST4000VN006-3CW104 - 10,054 hours
      • SandroHc@lemmy.world
        link
        fedilink
        English
        arrow-up
        7
        ·
        18 hours ago

        Look into the S.M.A.R.T. reports of each drive.

        On Synology DSM 7.x: Storage Manager › HDD/SSD › Health Info › S.M.A.R.T. › S.M.A.R.T. Attribute › Details › Power_On_Hours

        • mbirth@lemmy.ml
          link
          fedilink
          English
          arrow-up
          6
          ·
          17 hours ago

          The power-on hours are shown directly on the Health Info page, no need to click through to the SMART attributes.

  • jet@hackertalks.com
    link
    fedilink
    English
    arrow-up
    11
    ·
    20 hours ago

    3:2:1 - Cattle not pets - If your data is backed up in multiple sites, the death of one site shouldn’t overwhelm you, and give you time to recover.

    If your primary site drives are getting above their designed lifetime, rotate them out, sure - but they could be used as part of the backup architecture else where (like a live offsite sync location with enough tolerance for 2 disk failures to account for the age).

    3 copies of your data; 2 types of media; 1 copy offsite.

    • taiidan@slrpnk.net
      link
      fedilink
      English
      arrow-up
      9
      arrow-down
      2
      ·
      19 hours ago

      I mean if it’s homelab, it’s ok to be pets. Not everything has to be commoditized for the whims of industry.

      • TechnicallyColors@lemm.ee
        link
        fedilink
        English
        arrow-up
        9
        ·
        18 hours ago

        “Cattle not pets” in this instance means you have a specific plan for the random death of a HDD (which RAIDZ2 basically already handles), and because of that you can work your HDDs until they are completely dead. If your NAS is a “pet” then your strategy is more along the lines of taking extra-good care of your system (e.g. rotating HDDs out when you think they’re getting too old, not putting too much stress on them) and praying that nothing unexpected happens. I’d argue it’s not really “okay” to have pets just because you’re in a homelab, as you don’t really have to put too much effort into changing your setup to be more cynical instead of optimistic, and it can even save you money since you don’t need to worry about keeping things fresh and new.

        “In the old way of doing things, we treat our servers like pets, for example Bob the mail server. If Bob goes down, it’s all hands on deck. The CEO can’t get his email and it’s the end of the world. In the new way, servers are numbered, like cattle in a herd. For example, www001 to www100. When one server goes down, it’s taken out back, shot, and replaced on the line.”

        ~from https://cloudscaling.com/blog/cloud-computing/the-history-of-pets-vs-cattle/

        • SayCyberOnceMore
          link
          fedilink
          English
          arrow-up
          1
          ·
          8 hours ago

          Yep, numbering’s the key.

          When you create NAS01, you know there’s going to be a NAS02 one day

        • Talaraine@fedia.io
          link
          fedilink
          arrow-up
          1
          ·
          17 hours ago

          When one server goes down, it’s taken out back, shot, and replaced on the line.

          And then Skynet remembers…

  • walden@sub.wetshaving.social
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    14 hours ago

    I’m glad you asked because I’ve sort of been meaning to look into that.

    I have 4 8TB drives that have ~64,000 hours (7.3 years) powered on.
    I have 2 10TB drives that have ~51,000 hours (5.8 years) powered on.
    I have 2 8TB drives that have ~16,800 hours (1.9 years) powered on.

    Those 8 drives make up my ZFS pool. Eventually I want to ditch them all and create a new pool with fewer drives. I’m finding that 45TB is overkill, even when storing lots of media. The most data I’ve had is 20TB and it was a bit overwhelming to keep track of it all, even with the *arrs doing the work.

    To rebuild it with 4 x 16TB drives, I’d have half as many drives, reducing power consumption. It’d cost about $1300. With double parity I’d have 27TB usable. That’s the downside to larger drives, having double parity costs more.

    To rebuild it with 2 x 24TB drives, I’d have 1/4 as many drives, reducing power consumption even more. It’d cost about $960. I would only have single parity with that setup, and only 21TB usable.

    Increasing to 3 x 24TB drives, the cost goes to $1437 with the only benefit being double parity. Increasing to 4*24TB gives double parity, 41TB, and costs almost $2k. That would be overkill.

    Eventually I’ll have to decide which road to go down. I think I’d be comfortable with single parity, so 2 very large drives might be might be my next move, since my price per kWh is really high, around $.33.

    Edit: one last option, and a really good one, is to keep the 10TB drives, ditch all of the 8TB drives, and add 2 more 10TB drives. That would only cost $400 and leave me with 4 x 10TB drives. Double parity would give me 17TB. I’ll have to keep an eye on things to make sure it doesn’t get full of junk, but I have a pretty good handle on that sort of thing now.

  • fmstrat@lemmy.nowsci.com
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    17 hours ago

    As someone who runs 3 large arrays with 8TB, 16TB, and 21TB drives respectively, know that:

    • RAIDZ1 will cause tons of fear when a disk fails if you’re used to Z2. Don’t change.
    • When a disk goes, the larger the disk, the slower the rebuild time, and the more taxing it is on the other disks. With Z1, if another fails during the rebiluild, you’re SOL.

    Less disks is simpler, but more disks is safer. 6 disks is the perfect sized array IMO. If you don’t need more space, I’d buy a 2TB hot spare and call it a day. But if space is a concern, Z2 with 4 disks.

    Edit: Those three arrays mirror each other in different locations, and the fear was still there when the Z1 had an issue. Mostly due to the headache, but still.

    • blackstrat@lemmy.fwgx.ukOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      13 hours ago

      The reason I went RAIDZ2 in my current setup was because of the number of disks increasing the chance of multi failures. But with fewer disks that goes down. I’m not at all worried about data loss, as I said I have good backups so I can always restore. So if the remaining disk dies during a rebuild, that’s unfortunate, but it only affects my uptime, not my data.

      • fmstrat@lemmy.nowsci.com
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        1
        ·
        5 hours ago

        Hate to be that guy, but those maths aren’t mathing.

        Less drives does not equal less chance of multiple failures. The statistical failure rate of one drive has no impact on another. In fact, analysis of Backblaze’s data showed that larger drives were more prone to failure (platter density vs platter count).

        • blackstrat@lemmy.fwgx.ukOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          10 minutes ago

          Who has more chance of a single disk failing today: me with 6 disks, or Backblaze with their 300,000 drives?

          Same thing works with 6 vs 2.

  • NeoNachtwaechter@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    19 hours ago

    6 years old and running perfectly fine.

    I have 5 WD RED disks in a RAIDZ1 config. In the first year I was experimenting with the sleep or spindown options. Then I have read that drives live longer if they run constantly. Now they are spinning 24/7.

    The additional SSD has broken and been replaced 2x during these years.

  • thejml@lemm.ee
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    16 hours ago

    Mine are 3x 27k and 1x 47k. I just started replacing them… not because they’re old or have any issues, just because they’re becoming too small. Going from 4 to 8 tb disks and transferring the old ones to an external raid enclosure for backups.

    Actually brings up a question I had… what do people think about refurbished drives for a NAS?

    • Jondar@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      15 hours ago

      I just went all refurbished on my new drives. Time will tell. Oldest one has about 8 months runtime on it.

      I went with 5x recertified Seagate exos 20tb, and one recertified ironwolf pro 20tb.

      • thejml@lemm.ee
        link
        fedilink
        English
        arrow-up
        3
        ·
        15 hours ago

        Nice, we’ll all look out for an update in a year!

        I try to mix brands and lots (buy a few from one retailer and some from another). I used to work for a storage/NAS company and we had many incidents when we’d fill a 12 or 24 drive raid with drives right from the same order and had multiple drives die within hours of each other. Which isn’t usually enough for replacement/resilvering.

        • SayCyberOnceMore
          link
          fedilink
          English
          arrow-up
          2
          ·
          edit-2
          8 hours ago

          Yep, seen a similar thing with servers…

          A few years ago I built up a system with ~ 20 servers. Powered them all up and did all the RAID initialisation (RAID5 across 6-8 disks per server IIRC)

          One server basically needed all it’s disks replacing and some of the others needed a disk or 2 replaced - within a month!

          Since replacing those disks and building all those arrays I’m happy to build a NAS / server, let it bed-in for a while and if nothing fails I’ll just keep powering up & down my NAS as needed and I’ll run the drives until they die…

  • SuperiorOne@lemmy.ml
    link
    fedilink
    English
    arrow-up
    1
    ·
    15 hours ago
    • 2x18k - mirrored ZFS pool.
    • 1x47k - 2.5" drive from an old laptop used for torrents, temp data, non-critical pod volumes, application logs etc.
    • 1x32k - automated backups from ZFS pool. It’s kinda partial mirror of the main pool.
    • 1x18k - (NVME) OS drive, cache volumes for pods.

    Instead of single pool, I simply split my drives into tiers: cache, storage, and trash due to limited drive counts. Most R/W goes to the cheap trash and cache disks instead of relatively new and expensive NAS drives.

  • vegetaaaaaaa@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    20 hours ago
    $ for i in /dev/disk/by-id/ata-WD*; do sudo smartctl --all $i | grep Power_On_Hours; done
      9 Power_On_Hours          0x0032   030   030   000    Old_age   Always       -       51534
      9 Power_On_Hours          0x0032   033   033   000    Old_age   Always       -       49499
    
  • felbane@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    20 hours ago

    Ultimately it’s a matter of personal choice and risk tolerance.

    The Z1 will be simpler and have larger capacity, but if you have a drive fail you’ll need to quickly get it replaced or risk having to rebuild/restore if the mirror drive follows the first one to the grave.

    Your Z2 setup right now can have two drives fail and still be online, and having a wider spread of power-on hours is usually a good thing in terms of failure probability.

    I manage a large (14,000±) number of on-site RAID1 arrays in various environments and there is definitely a trend for drives shipped at the same time to fail at roughly the same time. It’s common enough that we often intentionally swap drives out before shipping a new unit to the customer site.

    On my homelab, I’m much more tolerant of risk since I have trust in my 3-2-1 backup solution and if my NAS goes down it’s not going to substantially affect anything while I wait for a drive replacement.

      • tobogganablaze@lemmus.org
        link
        fedilink
        English
        arrow-up
        3
        ·
        18 hours ago

        Yeah and a new 12 bay NAS to put them all in. I had a 2 bay that I expanded with a bunch of USB drives before, but that was starting to get really messy. Basically took my entire thirteenth salary.