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
  • delirious_owl@discuss.online
    link
    fedilink
    arrow-up
    23
    ·
    edit-2
    3 months ago

    Every year I buy a couple ~$5 USB drives and plug them into my jbod machine in a software raid1. At this point there’s about a hundred in long array of daisy chained USB hubs.

    Each drive is formatted with fat32 and added to an LVM. Don’t judge my ghetto NAS.

      • Empricorn@feddit.nl
        link
        fedilink
        English
        arrow-up
        3
        ·
        3 months ago

        Wasn’t that the entire purpose of ext4 vs ext3? As the default, I also keep journaling on for ext4 partitions. Even /boot.

      • billgamesh@lemmy.ml
        link
        fedilink
        arrow-up
        2
        ·
        3 months ago

        I like ext4 because it’s easy. If anything breaks, ANY live USB can fix it. I use fat32 for my removeable drives, because anything can read it. I don’t use journalling for anything manually, but I imagine it’s useful when my disk crashes because I let my laptop die

  • ikidd@lemmy.world
    link
    fedilink
    English
    arrow-up
    8
    ·
    3 months ago

    ZFS on anything storage related. Enterprise level snapshot and replica management.

      • ikidd@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        3 months ago

        ZFS is completely different than XFS. XFS is like a better (different?) ext4. ZFS is an error-checking software raid COW filesystem that does snapshots and can have multiple replicas, both local and remote. It uses zvols and datastores. Think btrfs on steroids and with a working raid subsystem.

        It’s got a weird semi-closed license because Oracle is involved but it’s never been enforced and at this point is in such widespread use in large and small enterprises that it would be impossible to enforce.

  • PublicLewdness@lemmy.ml
    link
    fedilink
    English
    arrow-up
    6
    ·
    3 months ago

    I use BTRFS on my Artix system, Ext4 on my Librem 5, Ext4 on my Devuan laptop and Ext4 on my Pinebook Pro. Basically when given the choice in the installer I choose BTRFS but if the installer doesn’t let me pick I don’t care enough to manually partition. I have had no negative experiences with any file system luckily so I just roll with whatever.

      • Magister@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        3 months ago

        nope, it works really well, for more than a year now, this is my work PC using 8h/day, I’m using MX23 AHS version. Directly in the setup you can select encryption and btrfs volume etc. btrfs is pretty stable.

  • thejevans@lemmy.ml
    link
    fedilink
    arrow-up
    5
    ·
    3 months ago

    ZFS all the things. On my workstations, I wipe / on every boot except for the files that I specify, and I backup /home to my NAS on ZFS and I backup my NAS snapshots to Backblaze.

    • Psyhackological@lemmy.mlOP
      link
      fedilink
      arrow-up
      1
      ·
      3 months ago

      Do lsblk -f and you will know for /home or / partitions. But probably yeah. However Fedora uses btrfs as default now so depends on the distro.

  • HarriPotero@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    3 months ago

    Been running BTRFS since 2010. Ext2/3/4 before that.

    Using it for CoW, de-duplication, compression. My home file server has had a long-lived array of mis-matched devices. Started at 4x2TB, through 6x4TB and now 2x18+4TB. I just move up a size whenever a disk fails.

    • Psyhackological@lemmy.mlOP
      link
      fedilink
      arrow-up
      2
      ·
      3 months ago

      That’s sound fantastic! Interesting that you didn’t mentiona anything about snapshots. Have you had some isshes with BTRFS since then?

      • HarriPotero@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        3 months ago

        Well, snapshots, too. I just consider them to be a special case of de-duplication.

        I had an issue when I ran out of space during conversion between RAID profiles a few years back. I didn’t lose any data, but I couldn’t get the array to mount (and stay) read-write.

      • Eager Eagle@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        3 months ago

        not sure what you want to know…

        1. have a solid state drive
        2. format it as f2fs

        done; just use it normally

          • Eager Eagle@lemmy.world
            link
            fedilink
            English
            arrow-up
            2
            ·
            edit-2
            3 months ago

            FAT32 for USBs, as I frequently need them to be bootable.

            F2FS for my M.2 NVMes, desktop and laptop, but would also use it on SATA SSDs as they’re all flash.

  • a Kendrick fan@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    3 months ago

    dual boot NixOS and FreeBSD on a single drive, ext4 on Nix and ZFS on FreeBSD. each partition has its own boot, swap and root, all encrypted

    btw, OP wrote that FAT32 is limited, isn’t it the default fs for the boot partition? can other fs like ext2/3 be used?

  • Matriks404@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    3 months ago
    • Btrfs on my laptop with openSUSE, mainly because it’s default, but also for its snapshot capabilities.

    • Whatever file system my default Raspberry Pi installation uses (probably Ext4).

    • NTFS on my main computer With Windows 10, because… well… I don’t really have any other choice, although I know there’s some kind of 3rd party Btrfs driver for Windows as well and you can ever have boot partition formatted as Btrfs, but I think it’s still experimental.