edit 2: Found a video by “SpaceRex” on the differences between BTRFS and EXT4, super helpful! He explained it quite well…

edit: It seems that there isn’t much difference between btrfs and ext4 aside from additional features of btrfs, which although I might not need right now, there doesn’t seem to be any harm in using btrfs over ext4, so I will be using btrfs.

Which would be better? Fedora shipped with btrfs, does it have any additional features that are good (quick search shows compression, subvolumes, and snapshots as main selling points for btrfs, but are there any downsides?

  • bestboyfriendintheworld@sh.itjust.works
    link
    fedilink
    arrow-up
    2
    ·
    13 hours ago

    BTFS snapshots are such a huge improvement and a live saver if you like to tinker on your system. Also great for backups, which you should make. Use snapper and similar tools.

    I’d only recommend ext* for spinning hard drives. For ancient slow machines, go with XFS or ReiserFS (if any distro still supports that even).

  • unexpectedprism@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    1 day ago

    I have experienced both cases where btrfs mounted read only for no good reason and cases where ext4 did not detect my storage medium had corrupted my data. I have chosen btrfs for data integrity but both options have upsides.

  • Seefra 1@lemmy.zip
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 day ago

    ext4 is faster, I always use it for /

    As for data I use btrfs because it has checksumming and it can detect corrupted files, while ext4 just lets you copy a corrupted file to your backup.

    I’ve had some issues with btrfs, in the past but was many years ago, probably not relevant anymore.

    • sbird@sopuli.xyzOP
      link
      fedilink
      English
      arrow-up
      4
      arrow-down
      1
      ·
      2 days ago

      Noted. But then why does Fedora ship with btrfs then, given that they are catering to a mainstream audience?

      • thingsiplay@lemmy.ml
        link
        fedilink
        arrow-up
        6
        arrow-down
        1
        ·
        2 days ago

        Because Fedora likes to adapt the newest stuff very early. While it’s not like “very early” for BTRFS anymore, its still exceptional unusual to have it as the default in a mainstream distribution. And they want to benefit from the feature set of BTRFS, so it makes sense to use it as the default. Why shouldn’t the mainstream benefit from quick snapshots and backups? I don’t see the argument “are catering to mainstream audience” as to not use BTRFS?

      • themoken@startrek.website
        link
        fedilink
        arrow-up
        7
        ·
        2 days ago

        Btrfs has a bunch of features and is one of the contenders for the “next” filesystem. Ext4 is utterly bulletproof though and has good enough perf so it’s still your best bet unless you specifically want to use the advanced btrfs features.

  • thingsiplay@lemmy.ml
    link
    fedilink
    arrow-up
    5
    ·
    2 days ago

    I would say, if you want benefit from the features of BTRFS, then go for it. But you have to read a bit what it can do, and use tools and set it up to get the most out of it I think. EXT4 on the other hand is proven and is a setup and forget experience. I chose EXT4 when installing EndeavourOS, because I read a few things about BTRFS that made me think twice and also I don’t need the features too. So, if you don’t know and have to ask the community, then the best would be to us EXT4, unless you know why you want to have BTRFS features.

  • Solemarc@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    2 days ago

    I would recommend btrfs at this point. I use it for my OS harddrive and I would also use it for my second harddrive except I don’t want to format it, so it’s still running ext4.

    Theoretically btrfs runs slower then ext4 but you won’t see it outside of benchmarks. Btrfs can also do integrity checks and healing so your drive (might) last longer, ultimately, that one depends on what exactly is wrong with it.