I’m having trouble understanding all the benefits of BTRFS and how they’ll apply to me.

Copy on Write and auto-compression seem like they will free up a bit of space.

What other practical benefits will I see from using BTRFS? Are there any noticeable performance benefits?

I use my computer to dual-boot. I don’t need snapshots because I have a custom script for a fresh install. I use my PC for gaming and work. I’ve got an NVMe, two SSD’s and one HDD.

Thanks in advance!

    • heftig
      link
      fedilink
      English
      72 years ago

      Healing won’t work without copies (RAID) available. However, scrubbing regularly can also allow your drive to detect and correct errors before they become irreparable.

  • @taaz@biglemmowski.win
    link
    fedilink
    English
    212 years ago

    As a (semi) power user I also use btrfs subvolumes to create “partitions” (single disk system, @root, @home, @docker), allows for making snapshots only for system or user data, etc.

    All around, I love btrfs and I am never going back to journaling fs like ext4

  • @BCsven@lemmy.ca
    link
    fedilink
    182 years ago

    If you don’t think you want snapshotting then dont worry too much about it and use whatever fs you like. if you want a nice btrfs experience try tumbleweed or leap, it is already fully integrated with system and grub , and maintenance with cleanup etc. cobbling together btrfs on your own is fine too but if you miss sometging and mess things up it is usually user error not btrfs error. .

  • radiofreeval [she/her]
    link
    fedilink
    English
    172 years ago

    For me, snapshots are the best part of BTRFS because you can easily roll back bad updates without doing a fresh install. It might not be worth reinstalling for, but there’s no reason not to on your next install.

    • @Zozano@aussie.zoneOP
      link
      fedilink
      12 years ago

      I know it’s all in my head, but there’s something about a fresh install that gives me comfort.

      I do a fresh install every few months when something starts behaving funky and it’s normally faster than figuring out what’s wrong.

      Snapshots just don’t have the same appeal to me lol

      • @lemmy_user_838586@lemmy.ml
        link
        fedilink
        6
        edit-2
        2 years ago

        You do a fresh install every couple months? Damn. I’m using the same install from like… 7 years ago? Which was also 3 laptops ago. I just keep copying the install partitions from one laptop drive to the next.

        There is definitely something rewarding to figuring out an issue and fixing it, vs starting from scratch every time. Also, you realistically shouldn’t be having serious issues every few months, unless you’re running a rolling distro like arch and there’s issues with packages. I do think a bit of that might be in your head,or you’re experiencing some weird hardware issues/failure.

        • @baraan@lemmy.tanktrace.de
          link
          fedilink
          12 years ago

          Switched hardware on my home server last week and moved to proxmox. My Ubuntu installation that was running before that was installed 2011.

  • HousePanther
    link
    fedilink
    English
    152 years ago

    I use BTRFS simply because I run a rolling distro of Linux. For the average user, I don’t think it is quite as necessary but the snapshots are nice. Of course, you could use timeshift to make snapshots as well.

  • I love btrfs. Mostly, because I had a couple of instances of data loss with ext4, and because it’s far more user friendly than xfs. Btrfs has sane defaults, and when you do want to use the tooling, there’s a lot of good documentation, and it’s mostly straightforward.

    That said, unless you have some reason to be mucking around with the fs or want to play with snapshots or such, then I’d say just use your OS defaults.

  • @wolf@lemmy.zip
    link
    fedilink
    English
    62 years ago

    For me, BTRFS is worth it for the transparent compression and file integrity checks alone.

    I am not sure what Fedora does for virtual machines via boxes (like transparently disabling COW), but one caveat with BTRFS is that you have to be aware that COW is a problem for usage patterns of virtual machines on their images. Just for this one example alone BTRFS is probably not a good fit for the average user.

    Another thing which I just learned very recently, is to mount BTRFS volumes with the noatime option significantly speeds up a lot of workloads on my machine (machine has a decent SSD). Again, using the noatime option might create some problems in corner cases, so one should be aware what one is doing.

  • @cmnybo@discuss.tchncs.de
    link
    fedilink
    English
    62 years ago

    Yes, snapshots nice to have and compression reduces the disk usage for the operating system and software quite a bit.

  • @tiny@midwest.social
    link
    fedilink
    English
    42 years ago

    It you have a functioning dual boot don’t worry about it. Next install it’s worth looking in into and pretty easy to setup. It has trim support for ssds and is way easier to resize on a live system than lvm with another filesystem

  • @argv_minus_one@beehaw.org
    link
    fedilink
    32 years ago

    I’m mostly in it for the RAID1 with checksums. If a bit gets flipped, it’ll get flipped right back from the other copy next time the automatic scrub happens. Normal RAID1 can’t do this because, without checksums, it doesn’t know which copy is good.

    If you’ve written shell scripts, I don’t think you’re an average user. 😋

  • @ruination@discuss.tchncs.de
    link
    fedilink
    32 years ago

    I use ZFS, not BTRFS, but both have snapshots, and if you’re someone who likes to tinker with their system like me, it lets you do so without worrying that it will break.

  • @mrvictory1@lemmy.world
    link
    fedilink
    22 years ago

    Yes. I dual-boot and need everything to be accessible from Windows so I gave Windows 400 GiB while Linux only 75 GiB. Without compression I would be out of disk space. I think I hold about 95-100 GiB of data in 70 GiB. Snapshots are to revert broken updates, not to setup fresh installations. If you use a rolling release distro, they become invaluable. You can boot into snapshots if an update goes sideways.

  • GadgeteerZA
    link
    fedilink
    English
    12 years ago

    Yes and no. It is good and I did one restore of some files that worked fine, but in my case it was noticeably affecting my boot up times, and I reverted to ext4 (boot ups were fast again to less than one minute). For some reason, BTRFS was resulting in quick login, but about 18 mins before my actual desktop was responsive after login. I spend many days trying to troubleshoot that. Maybe you won’t have this problem. I had my SSD system drive on ext4 with Timeshift backups, and my /home partition on BTRFS.

    So I’m back on my ext4 doing a daily automated backup to a second drive with rsync (LuckyBackup app). I think there are further kernel improvements coming to BTRFS later in this year. But I’ll probably only retry it again end of 2023 or in2024. So if you decide to move, just benchmark your boot times, so you can judge if it affects them badly or not.

    That said, BTRFS has some great features, lost no data for me, and I think has a great future.