I currently use btrfs on almost all my server and offline backup drives mainly because of the ability to transparently compress files to save space. But apparently btrfs can get corrupted if it unexpectedly loses power? Is there a more robust and corruption resistant filesystem that you’d recommend that also has the ability to compress files?

  • @jokro@feddit.org
    link
    fedilink
    33
    edit-2
    4 days ago

    Corruption on power loss is something that journaling should prevent and modern filesystems do that. So btrfs should be as safe as other modern filesystems.

    Edit: Btrfs does no journaling, it implements resilience with another mechanism, namely Copy on write.

    • JASN_DE
      link
      fedilink
      64 days ago

      It should, but apparently it isn’t, at least not reliably.

      • Synapse
        link
        fedilink
        104 days ago

        It’s perfectly reliable. You only need caution when using RAID5 and RAID6 as these features are still in the experimental phase.

      • Sonotsugipaa
        link
        fedilink
        English
        94 days ago

        I’ve lost power with it many times, none of my BTRFS partitions have been corrupted so far.