I want to learn more about file systems from the practical point of view so I know what to expect, how to approach them and what experience positive or negative you had / have.

I found this wikipedia’s comparison but I want your hands-on views.

For now my mental list is

  • NTFS - for some reason TVs on USB love these and also Windows + Linux can read and write this
  • Ext4 - solid fs with journaling but Linux specific
  • Btrfs - some modern fs with snapshot capability, Linux specific
  • xfs - servers really like these as they are performant, Linux specific
  • FAT32 - limited but recognizable everywhere
  • exFAT - like FAT32 but less recognizable and less limited
  • Verat
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    4 months ago

    I use bcachefs for my games, I like that it lets me have multiple disks with redundant data copies, plus ssd caching of frequently accessed files, this fs is linux specific for now as far as I know, and is still experimental. I use ext4 for everything else, and FAT32 for flash drives.

      • Verat
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        4 months ago

        In my use it has been pretty stable so far with 7 disks participating (3 caching SSDs, 4 mechanical disks, with 3 copies of metadata and 2 of data), but I’m not using the more experimental features like erasure coding, I will note the on-disk-format has changed twice since it has been in the kernel, and it hasnt been there long, but it has succeeded both on-disk-format upgrades without obvious data loss, and it recently got self healing for some checksum errors, Id say its probably ready for use if the data is backed up, replaceable, or can be gone without (so for me games are all I have that fits this). Otherwise I would use caution if you use it, but I am very optimistic about the future of the FS, as Kent Overstreet (the creator) has taken a lot of care with it.

          • Verat
            link
            fedilink
            arrow-up
            1
            ·
            edit-2
            4 months ago

            That’s fair, it has changed a bit since then and I’m hoping we get another filesystem benchmark to see if it has improved, and the caching features might offset that on frequently used data, but I don’t know how hard that would be to benchmark.

              • Verat
                link
                fedilink
                arrow-up
                1
                ·
                4 months ago

                Oh, didnt know that was posted, some of the tests seem to be different from last time, it hasnt regressed but hasnt improved much yet either (from the ones that were the same). It does seem to have pulled ahead of BTRFS since the last test, doubling score in the DBench test, but it still varies a lot compared to the other filesystems it seems, doing worse pretty regularly.