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
      • itslilith@lemmy.blahaj.zone
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

        Preventing unwanted state

        If you install and then uninstall something, it will almost certainly leave logs, configurations and other garbage in places you don’t expect. Next time you want to use it, it isn’t the clean install you expected

  • featured [he/him]@lemmygrad.ml
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    ZFS for my server’s root pool and main storage pool. Ext4 with snapraid for my media pool. Currently btrfs on my desktop and ext4 under vanillaos on my laptop (not sure if I could partition it manually to use btrfs but I’m considering that for snapshots)

  • Takios@discuss.tchncs.de
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    We use btrfs for the / partition and xfs for any data partitions. Has served us well, the snapshot feature saves us some valuable time when an update goes awry.

      • Takios@discuss.tchncs.de
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

        The main distribution we use has it like that by default and our (admittedly rudimentary) benchmarks haven’t shown much of a performance difference versus ext4 so we kept to the default.

  • a Kendrick fan@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    1 year 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?

  • ikidd@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

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

      • ikidd@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 year 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.

        • theroff@aussie.zone
          link
          fedilink
          arrow-up
          0
          ·
          1 year ago

          OpenZFS is under a completely FOSS license but it’s incompatible with the GPL and can’t really ever be merged into the Linux kernel. The workaroundids to provide it as source code which gets compiled as a module every time there’s a new kernel via dkms.

          More controversially, Canonical ship OpenZFS pre-compiled in Ubuntu which some lawyers believe to be infringing on ZFS’ codebase.

          Honestly the OpenZFS situation on Linux is probably the biggest single reason for the growing interest in btrfs and bcachefs, the former slowly becoming default on more Linux distros over time and lots of investment from SUSE and Facebook AFAIK.

      • ScottE@lemm.ee
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

        XFS does not do snapshots, replicas, and all the other myriad of things that ZFS does.

  • PublicLewdness@lemmy.ml
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year 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.

  • rotopenguin@infosec.pub
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    1 year ago

    ExFAT is the LCD filesystem for flash sticks. FAT32 is the filesystem that you have to use for devices designed before Microsoft was awful about Exfat licensing.

    Everywhere else, Btrfs. If Oracle didn’t poison-pill ZFS licensing and it was common on Linux, I would be using that instead. Basically, taking it on faith that a drive didn’t fuck up your data is crazy. The most basic responsibility for a filesystem should be ensuring that “the files come out exactly the same as when they went in”.

  • n2burns@lemmy.ca
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    It’s all Ext4, but I run SnapRAID on top of that on my data drives. I’m sure lots of people would tell me I should use ZFS/BTRFS instead, but I’m used to SnapRAID, and I like the idea if something goes wrong, I won’t lose all my data.