Potentialy dumb question here, is there any benefit to using btrfs on a non system disk? I’m fairly ignorant on file systems, asfaik btrfs largest benefit is snapshotting, not sure of anyothers.

  • Ananace@lemmy.ananace.dev
    link
    fedilink
    arrow-up
    5
    ·
    11 months ago

    The main benefits to BTRFS over something like ext4 tends to be considered as; the subvolume support - which is what’s used for snapshotting, the granluar quotas, reflinks, transparent compression, and the fact that basically all filesystem operations can be performed online.

    I’m personally running BTRFS in a couple of places; NAS, laptop, and desktops. Mainly for the support to do things like snapshots and subvolumes, but I also make heavy use of both reflinks and compression, and I’ve also made use of online filesystem actions quite a few times.

  • Infiltrated_ad8271@kbin.social
    link
    fedilink
    arrow-up
    4
    ·
    11 months ago

    For a data disk? Absolutely, even if you’re not going to configure anything, you can copy inside the partition instantly and detect the bitrot.
    If you’re willing to step it up a notch, there’s also cool stuff like transparent compression, deduplication and incremental send/receive of entire subvolumes.

  • Hamartiogonic@sopuli.xyz
    link
    fedilink
    arrow-up
    4
    ·
    11 months ago

    Using btrfs makes a lot if sense on a NAS, because it allows you to make snapshots in a nice way. It also has some features that give your data better odds of survival if something goes wrong.

    • cmnybo@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      4
      ·
      11 months ago

      It’s very useful to have on a desktop too. If you break something or have an issue with an update, you can restore a snapshot and be back up and running in less than a minute.

  • d3Xt3r@lemmy.nzM
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    11 months ago

    non system disk

    That really depends on what you mean by that? Is it an internal or external drive, what sort of drive is it (HDD, SSD etc), and what are you going to use it for, and are you planning to share the drive with other operating systems?

    Because while btrfs is nice in general, you may find other filesystems more suitable, depending on your usage requirements.

  • Granixo@feddit.cl
    link
    fedilink
    arrow-up
    0
    ·
    11 months ago

    I usually just stick to the standard file system to any OS.

    So for Linux that would be ext4.

    For external drives i use either FAT32 (the ol’ reliable) or exFAT (the fastest for dealing with large files when you set the max allocation unit size AKA 32MB).

    • falcon15500@lemmy.nine-hells.net
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      11 months ago

      So for Linux that would be ext4.

      It’s worth noting that the default file system varies by distro - there is no ‘Linux’ default. For example, RHEL et al use XFS as the default.

      • MyNameIsRichard@lemmy.ml
        link
        fedilink
        arrow-up
        0
        ·
        11 months ago

        openSUSE uses BTRFS as the default filesystem for / and if you have any additional disks (for example a separate home) it uses XFS by default. Unless that’s changed since the last time I installed.

        • Ananace@lemmy.ananace.dev
          link
          fedilink
          arrow-up
          1
          ·
          11 months ago

          When I worked through some AutoYaST setups for Leap 15.5 the default disk setup did BTRFS across the line, though that could definitely differ from doing the install interactively.