A year ago I set up Ubuntu server with 3 ZFS pools on my server, normally I don’t make copies of very large files but today I was making a copy of a ~30GB directory and I saw in rsync that the transfer doesn’t exceed 3mb/s (cp is also very slow).

What is the best file system that “just works”? I’m thinking of migrating everything to ext4

EDIT: I really like the automatic pool recovery feature in ZFS, has saved me from 1 hard drive failure so far

    • Fisch@lemmy.ml
      link
      fedilink
      English
      arrow-up
      14
      ·
      8 months ago

      I use BTRFS on everything too nowadays. The thing that made me switch everything to BTRFS was filesystem compression.

        • Fisch@lemmy.ml
          link
          fedilink
          English
          arrow-up
          2
          ·
          8 months ago

          I use zstd too, didn’t specifiy a level tho, so it’s just using the default. I only use like ⅔ of the disk space I used before and I don’t feel any difference in performance at all.

    • atzanteol@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      6
      ·
      8 months ago

      FWIW lvm can give you snapshots and other features. And mdadm can be used for a raid. All very robust tools.

      • Possibly linux@lemmy.zip
        link
        fedilink
        English
        arrow-up
        3
        ·
        8 months ago

        I’ve run btrfs for years and never had a issue. They one time my system wouldn’t boot it was due to a bad drive. I just swapped the drive and rebalanced and I was back up and running in less than a half an hour.

      • devfuuu@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        8 months ago

        Corruption on power only regularly happened to me on xfs a few years ago. That made me swear to never use that fs ever again. Never seen it on my ext4fs systems which are all I have for years in multiple computers.

          • SayCyberOnceMore@feddit.uk
            link
            fedilink
            English
            arrow-up
            1
            ·
            8 months ago

            Never had an issue with EXT4.

            Had a problem on a NAS where BTRFS was taking “too long” for systemD to check it, so just didn’t mount it… bit of config tweaking and all is well again.

            I use EXT* and BTRFS where ever I can because I can manipulate it with standard tools (inc gparted).

            I have 1 LVM system which was interesting, but I wouldn’t do it that way in the future (used to add drives on a media PC)

            And as for ZFS … I’d say it’s very similar to BTRFS, but just slightly too complex on Linux with all the licensing issues, etc. so I just can’t be bothered with it.

            As a throw-away comment, I’d say ZFS is used by TrusNAS (not a problem, just sayin’…) and… that’s about it??

            As to the OPs original question, I agree with the others here… something’s not right there, but it’s probably not the filesystem.

          • Eideen@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            arrow-down
            1
            ·
            8 months ago

            Yes both BTRFS and Ext4 are vulnerable to unplanned powerloss when writes are in flight. Commonly knows as a write hole.

            For BTRFS since it use of Copy of Write, it is more vulnerable. As metadata needs to be updated and more. Ext4 does not have CoW.