Not a tech support question, I’m just curious. I recently installed it. Everything is working great, feels like I got a whole new laptop compared to my previous setup. I haven’t tried out any of btrfs’s unique features, so I dunno, nothing special I can report about it. Coming from Debian I was just surprized by how different Fedoras installer defaults are. Do you agree with btrfs being a default option?

  • Possibly linux@lemmy.zip
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    4 days ago

    That’s been the default for years

    The big reason is that btrfs has more features like copy on write, snapshots, subvolumes and data validation.

    It used to eat data but that’s not been the case for a few years

    • vivendi@programming.dev
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 days ago

      Another great thing about BTRFS is that it can detect hardware problems sooner: if your BTRFS drive keeps losing data to corruption; that’s because it has detected a corruption that other FS’s would silently work with

    • qaz@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      4 days ago

      It used to eat data but that’s not been the case for a few years

      Isn’t that a RAID5/6 thing?

      • Possibly linux@lemmy.zip
        link
        fedilink
        English
        arrow-up
        0
        ·
        edit-2
        4 days ago

        It used to eat data regardless even when it was supposedly stable

        In newer kernels I believe raid5/6 are stable but the dangerousness thing is that it takes a huge amount of time to rebuild. I think this is true of raid10 as well.

        • qaz@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          3 days ago

          I’m talking about the implementation of RAID5/6 for BTRFS specifically.

          The RAID56 feature provides striping and parity over several devices, same as the traditional RAID5/6. There are some implementation and design deficiencies that make it unreliable for some corner cases and the feature should not be used in production, only for evaluation or testing. The power failure safety for metadata with RAID56 is not 100%.

          BTRFS documentation

          Do you know if the documentation is outdated? Has this changed recently?

  • Kusimulkku@lemm.ee
    link
    fedilink
    arrow-up
    1
    ·
    4 days ago

    I wouldn’t want to live without bootable snapshots anymore. Other stuff like compression and dedupping is handy but it’s the snapshots that are a killer feature for me.

  • secret300@lemmy.sdf.org
    link
    fedilink
    arrow-up
    1
    ·
    4 days ago

    I think it was like fedora 32 or 33 they started using btrfs as default. You’re a lil behind.

    I agree with it though I always have. Fedora has always integrated newer technologies into their distro, usually after opensuse still hahaha. But they were one of the first to default to Wayland and pipewire as well. If it wasn’t for distros like fedora and opensuse adopting these as default then, Linux on the desktop would be 10 years behind now

  • unknowing8343@discuss.tchncs.de
    link
    fedilink
    arrow-up
    1
    ·
    4 days ago

    Does it do like openSUSE and create the subvolumes and snapshots for you? Because I dread configuring these freaking things from my days in Arch, and I fell in love with openSUSE when I realised it does it for you.

    (And no, the archinstall script doesn’t autoconfigure BTRFS unless you wipe your entire disk)

    • floquant@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      2
      ·
      4 days ago

      Only @root and @home, no automatic snapshotting by default. I’ve been using “BTRFS assistant” to set them up

    • bipedalsheep@programming.dev
      link
      fedilink
      arrow-up
      1
      ·
      3 days ago

      I was pleasantly surprised to learn this with openSUSE as well last week. It already saved my buttocks once when I messed up something with the greetd config file. Recovering from the latest working snapshot was easy. OpenSUSE is a very nice distro. Bought some merch to support them a bit.

  • qweertz (they/she)@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    4 days ago

    On Fedora, Btrfs has been the default for years now iirc. It’s modern and rock solid too (as long as you avoid Raid 5/6) and has some features I can’t live without nowadays:

    • Copy-on-write (prevents file duplication)
    • Snapshots (your systems broke? most easy rollback you will ever experience is with Btrfs in combination with Timeshift)
    • on-the-fly compression (I’d recommend “–compression-force=zstd:3” as a mount option. Last I checked Fedora defaulted to using the lowest compression level, which is not the Btrfs default, making you lose some gains. FYI about the “force”: btrfs by default checks whether a file is compressible or not, this is redundant with zstd, which does the same thing but quite a bit faster AFAIK)