Which filesystem should I use for stable storage? - eviltoast

Hello everyone. I’m going to build a new PC soon and I’m trying to maximize its reliability all I can. I’m using Debian Bookworm. I have a 1TB M2 SSD to boot on and a 4TB SATA SSD for storage. My goal is for the computer to last at least 10 years. It’s for personal use and work, playing games, making games, programming, drawing, 3d modelling etc.

I’ve been reading on filesystems and it seems like the best ones to preserve data if anything is lost or corrupted or went through a power outage are BTRFS and ZFS. However I’ve also read they have stability issues, unlike Ext4. It seems like a tradeoff then?

I’ve read that most of BTRFS’s stability issues come from trying to do RAID5/6 on it, which I’ll never do. Is everything else good enough? ZFS’s stability issues seem to mostly come from it having out-of-tree kernel modules, but how much of a problem is this in real-life use?

So far I’ve been thinking of using BTRFS for the boot drive and ZFS for the storage drive. But maybe it’s better to use BTRFS for both? I’ll of course keep backups but I would still like to ensure I’ll have to deal with stuff breaking as little as possible.

Thank you in advance for the advice.

  • worfamerryman@beehaw.org
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    I use ext4 for my boot drive as that’s what Linux mint defaults to.

    I do not do raids and use btrfs on my other drives.

    You can turn on compression on write with btrfs which may reduce the amount of data being read and written to your drive which could further reduce its lifespan.

    But you shouldn’t expect the drives to last 10 years.

    They might, but don’t expect it and have a backup of whatever is important. Ideally you should have a local backup and a cloud based backup or at least an offsite backup somewhere else.

    • mimichuu_@lemm.eeOP
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      Yeah I’ll always do backups. When I have the money I probably will buy another drive and try to do RAID1 on the two, just to be sure. But I do want them to last as much as possible.

        • mimichuu_@lemm.eeOP
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          It wouldn’t be for backing up, just for the storage to last longer if one drive fails.

          • worfamerryman@beehaw.org
            link
            fedilink
            arrow-up
            1
            ·
            1 year ago

            I would still not recommend it. If the drive fails and data is lost or corrupted it could also be lost or corrupted on the other drive.

            It would really be better to use backup software to save your data. Also depending on how the drive is used, it may put less wear on the second drive if you use a backup application.