You know, ZFS, ButterFS (btrfs…its actually “better” right?), and I’m sure more.

I think I have ext4 on my home computer I installed ubuntu on 5 years ago. How does the choice of file system play a role? Is that old hat now? Surely something like ext4 has its place.

I see a lot of talk around filesystems but Ive never found a great resource that distiguishes them at a level that assumes I dont know much. Can anyone give some insight on how file systems work and why these new filesystems, that appear to be highlights and selling points in most distros, are better than older ones?

Edit: and since we are talking about filesystems, it might be nice to describe or mention how concepts like RAID or LUKS are related.

  • @[email protected]
    link
    fedilink
    2211 months ago

    Using Btrfs you can do some pretty cool snapshotting: It’s basically like system restore of Windows but MUCH faster and pretty seamless. Even if you annihilate the whole operating system you can restore the snapshot and voila, have fun! It also has compression which can save some wear on SSDs and of course give you some more free™ storage space, which is cool [actual benefits depend on workload*]

      • @[email protected]
        link
        fedilink
        310 months ago

        ZFS has almost everything ever conceived for filesystems lol it’s a whole ass volume manager and filesystem into one

    • @[email protected]
      link
      fedilink
      111 months ago

      Do you know how I could split my default /var/home/user into /var/home/user/.var, /var/home/user/Torrents and the rest?

      Think that would be great for use with btrbk, when I find out how to use that.

      Damn BTRFS and btrbk need an easy GUI, I have the feeling its great for backups

      • @[email protected]
        link
        fedilink
        2
        edit-2
        10 months ago

        There’s no GUI, but following the wiki pages on BTRFS subvolumes you should be able to make a subvolume for those with like 2 simple commands (take a look at the man page for BTRFS subvolumes as well)

      • @RustyNova
        link
        110 months ago

        I’m not sure what you want from your first question. Do you want like another mount point to the directory or something else?

        Btrfs got Btrfs assistant if you want for GUI. Not a complete list of the tools, but good enough. I am still looking for a btrbk gui tool too… Or at least an interactive CLI.

        As for Btrbk, I recommend doing a root and home subvolume. Then add a hook on your package manager to snapshot root on pre unpacking. Then you can also do some other subvolumes. I put my programming, VMs, and modeling stuff in their own subvolumes, with Btrbk set on on-change. This allows only snapshoting on demand, and can be a sort of version control (even more when you tend to break your VMs with dumb shit) I think it wouldn’t be that useful for torrents tho, as they mostly just sit there, and a regular full home backup is plenty enough