Just a simple question : Which file system do you recommend for Linux? Ext4…?

EDIT : Thanks to everyone who commented, I think I will try btrfs on my root partition and keep ext4 for my home directory 😃

  • GolfNovemberUniform@lemmy.ml
    link
    fedilink
    arrow-up
    10
    arrow-down
    14
    ·
    8 months ago

    File system is a core component of any electronic system. Even if it’s just 1% less stable than other ones, it’s still less stable. Maybe it’s faster in some cases and supports better backups but ehh idk if it’s worth it. Losing documents is something you probably want to avoid at all costs

    • 2xsaiko@discuss.tchncs.de
      link
      fedilink
      arrow-up
      29
      arrow-down
      1
      ·
      8 months ago

      Yeah, but it isn’t noticeably “less stable” if at all anymore* unless you mean stable as in “essentially in maintenance mode”, and clearly good enough for SLES to make it the default. Stop spreading outdated FUD and make backups regularly if you care about your documents (ext4 won’t save you from disk failure either which is probably the more likely scenario).

      * not talking about the RAID 5/6 modes, but those are explicitly marked unstable

      • boredsquirrel@slrpnk.net
        link
        fedilink
        arrow-up
        27
        ·
        edit-2
        8 months ago

        My short BTRFS history

        1. Installed on a 1TB NVME
        2. used for 2 years
        3. Rebased my system a ton, used rpm-ostree a ton (which uses BTRFS for the snapshots I think?)
        4. Physically broke the SSD by bending (lol used a silicon cooler pad but it bent it) which resulted in hardware crashes
        5. With dd barely managed to get all the data onto a 1TB SATA SSD
        6. dd-ed the SATA SSD onto a 2TB NVME
        7. deleted and restored the MBR, resized the BTRFS partition to max, resized the BTRFS filesystem to max, balanced it

        Still works, never had a single failure

      • GolfNovemberUniform@lemmy.ml
        link
        fedilink
        arrow-up
        5
        arrow-down
        8
        ·
        8 months ago

        Well gtk if it’s really as stable as ext4. I will still stick to ext4 though because why change what already works well and tested on almost any machine you can possibly imagine?

        • boredsquirrel@slrpnk.net
          link
          fedilink
          arrow-up
          4
          ·
          8 months ago

          I suppose by being more efficient, “using modern technology” (everything saving Google, Meta, Amazon etc. money and is thus extremely well funded, all server related stuff), is good for the environment.

          If something runs faster on the same hardware, it may use less energy. It may also just be restricted in hardware usage, like not using multithreading.

          Linux Distros shipping x86_64-v2 packages is a whole other problem…

            • boredsquirrel@slrpnk.net
              link
              fedilink
              arrow-up
              2
              ·
              8 months ago

              Like, all of them… or would you be a bit more specific?

              Old CPUs are an okay use case, but targeting will literally remove all benefits in efficiency that were made in the last 14 or so years.

              My Thinkpad T430 has v3, and it is a 3rd gen intel. People honestly running hardware older than that are rare.

              For sure the hardware should be supported, but it is not the target audience and pulls the others down.