What filesystem is currently best for a single nvme drive with regard to performance read/write as well as stability/no file loss? ext4 seems very old, btrfs is used by RHEL, ZFS seems to be quite good… what do people tend to use nowadays? What is an arch users go-to filesystem?

  • Laser@feddit.de
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Did you disable CoW for your database with btrfs? E.g. for PostgreSQL, the Arch Wiki states:

    If the database resides on a Btrfs file system, you should consider disabling Copy-on-Write for the directory before creating any database.

    • exi@feddit.de
      link
      fedilink
      arrow-up
      0
      arrow-down
      1
      ·
      1 year ago

      From arch wiki:

      Disabling CoW in Btrfs also disables checksums. Btrfs will not be able to detect corrupted nodatacow files. When combined with RAID 1, power outages or other sources of corruption can cause the data to become out of sync.

      No thanks

      • DaPorkchop_@lemmy.ml
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        that’s no different than any “normal” filesystem with a traditional block-level RAID solution

        • exi@feddit.de
          link
          fedilink
          arrow-up
          0
          arrow-down
          1
          ·
          1 year ago

          Not really. You can still use dm-verity for a normal raid and get checksumming and normal performance, which is better and faster than using btrfs.

          But in any case, I’d recommend just going with zfs because it has all the features and is plenty fast.