frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: How Reliable Is Btrfs?

2•pregnenolone•1h ago
I’ve always been reluctant to use BTRFS, primarily because I once experienced data loss on a VM many years ago, and due to the numerous horror stories I'd read over the years. However, many distributions like Fedora or OpenSUSE have made it the default filesystem.

So, I’m wondering how reliable and performant BTRFS is these days? Do you use it, or do you still prefer other filesystems? Feel free to share your experience and preferences.

Comments

xlazom00•56m ago
I am using btrfs with docker. As I do have huge docker images(oracle db) and docker is much faster as it don't need to copy all files. And btrfs solve this problem with CoW on block level
layer8•56m ago
Most NAS manufacturers have been using Btrfs for many years, so it’s reliable enough. Nowadays I‘d choose ZFS though.
m132•51m ago
I've been daily driving Btrfs since 2019 on multiple machines of all sizes, from RAID10 HDD+SSD arrays on larger x86-64 systems, through single SSDs on Armv8-A AArch64, to eMMCs and HDDs in a RAID1 configuration on Armv7-A. I'm a heavy user of snapshots, reflinks, compression and deduplication on all of those systems too.

tl;dr: No data lost, some actually rescued, there still are a few foot guns to watch out for.

It's grown to be a pretty decent file system. In the early days, it was common for it to eat data or catch a lock-up every now and then, but around since Meta took over its maintenance, things have very much stabilized. I haven't personally observed any data loss on my systems that can be attributed to it since 2019. I occasionally run scrub, and it has actually detected a few cases of silent data corruption, which it repaired using a mirror, on some of my HDD-based systems. The only close thing to data loss I've had with it during this time is that a systemd journal file on one of the SSD-based systems somehow ended up with a few extents with an all-zero checksum. The actual file contents don't appear corrupted, however.

As far as the raw I/O performance goes, it's alright; acceptable as in no random lockups, but won't top any benchmarks [1]. One thing to pay attention to is to never have a lot of snapshots if you have quotas enabled. You can either have a snapshot-heavy configuration or quotas, not both. Going against this will have your system slow down to a crawl. There's technically this new feature that allows for a simpler quota accounting scheme, which should in theory solve performance issues, but I haven't tried it myself [2].

Another performance footgun: write-heavy files with No_COW/nodatacow unset. Those are most commonly VM disk images and databases. Due to the copy-on-write design of Btrfs, those files are very susceptible to high fragmentation. While disabling COW defeats most of the benefits of using such a file system, on Btrfs, you can apply it to a small subset of files as a workaround for fragmentation while keeping the rest of your files covered. Take a look at chattr(1), namely the +C option, and always verify if it was applied with lsattr(1). Btrfs only allows this attribute to be changed on directories (which will have new files inherit it) and files with no extents.

As for data safety footguns, don't use RAID5/6. They're still broken [3]. Everything else works without a problem [4]. In the past, there used to be another thing that was a big no-no, namely exposing a host to 2 different file systems with the same ID. Btrfs would traditionally recognize them as one file system in a RAID configuration, and things would go haywire from there. This was particularly annoying with block-level snapshots, like those of LVM. This is said to have been fixed now [5]. As always though, take backups!

[1] https://www.phoronix.com/review/linux-617-filesystems/3

[2] https://lwn.net/Articles/944371/

[3] https://btrfs.readthedocs.io/en/latest/btrfs-man5.html#raid5...

[4] https://btrfs.readthedocs.io/en/latest/Status.html

[5] https://lwn.net/Articles/930944/

499 is a prime number with this property: 499⁴⁹⁹ ends in 499499

https://twitter.com/pickover/status/2023047194211701052
1•keepamovin•3m ago•0 comments

Ask HN: What is the best bang for buck budget AI coding?

1•LowResBudget•3m ago•1 comments

Teaching Claude to Write Pony

https://www.ponylang.io/blog/2026/02/teaching-claude-to-write-pony/
1•spooneybarger•4m ago•0 comments

Browse Code by Meaning

https://haskellforall.com/2026/02/browse-code-by-meaning
1•romac•5m ago•0 comments

A remote control for your agents

https://www.restate.dev/blog/a-remote-control-for-your-agents
1•stsffap•5m ago•1 comments

Data Is Your Moat

https://www.parseable.com/blog/data-is-your-moat
1•tiwarinitish86•5m ago•2 comments

Capita taps Microsoft Copilot to dig it out from UK pensions backlog

https://www.theregister.com/2026/02/17/capita_microsoft_copilot_pensions/
1•jjgreen•7m ago•1 comments

Show HN: Nibble a fast and easy to use network scanner

https://github.com/backendsystems/nibble
1•saberd•9m ago•0 comments

Capitalist Countries 2026

https://worldpopulationreview.com/country-rankings/capitalist-countries
1•ksec•9m ago•0 comments

Two Bits Are Better Than One: making bloom filters 2x more accurate

https://floedb.ai/blog/two-bits-are-better-than-one-making-bloom-filters-2x-more-accurate
4•matheusalmeida•11m ago•0 comments

I broke into my own AI system in 10 minutes. I built it

2•mohith_km•11m ago•0 comments

Cascade standalone DNSSEC signer in Rust from NLnet

https://blog.nlnetlabs.nl/cascade/
1•xvilka•12m ago•0 comments

The Infrastructure of Jeffrey Epstein's Power

https://www.nytimes.com/2026/02/13/opinion/ezra-klein-podcast-anand-giridharadas.html
1•rbanffy•13m ago•0 comments

The Cost of Staying

https://twitter.com/amytam01/status/2023593365401636896
1•canadianhacker•15m ago•0 comments

Chinese Memory Penetrates Global PC Supply Chains

https://www.chosun.com/english/industry-en/2026/02/08/ZHVGQTPLQ5CQ5BE2YBT22GTS2M/
2•Qem•16m ago•0 comments

Show HN: CleanCloud – 20 rules to find what's costing you money in AWS and Azure

1•sureshcsdp•17m ago•1 comments

Maybe America Needs Some New Cities

https://www.nytimes.com/2026/02/12/business/economy/america-new-cities-irvine.html
1•woldemariam•18m ago•0 comments

The Rev. Jesse Jackson, pioneering civil rights activist, dies at 84

https://www.cnn.com/2026/02/17/us/reverend-jesse-jackson-death
1•rmason•20m ago•1 comments

I attacked my own LangGraph agent system. All 6 attacks worked

1•mohith_km•20m ago•2 comments

OpenFactBook – The World Factbook

https://openfactbook.org/
1•bovermyer•21m ago•0 comments

Show HN: Free domain health monitoring tool

https://check-server.iqtechnology.io/
1•bodyast1010•21m ago•0 comments

'All records broken' as storm leaves swaths of France under water

https://www.france24.com/en/france/20260214-all-records-broken-storm-nils-leaves-swathes-southwes...
1•geox•22m ago•0 comments

A phone is stolen in London every seven to eight minutes

https://www.bbc.com/news/articles/cdx4762znr6o
1•woldemariam•24m ago•0 comments

Hunt Globally

https://arxiv.org/abs/2602.15019
1•salkahfi•25m ago•0 comments

Fast Sorting, Branchless by Design

https://00f.net/2026/02/17/sorting-without-leaking-secrets/
1•jedisct1•27m ago•0 comments

You Only Debug Once? Think Again

https://singularitynow.substack.com/p/you-only-debug-once-think-again
1•danduma•36m ago•1 comments

How Mitchell Hashimoto Builds Ghostty [video]

https://www.youtube.com/watch?v=ljoNEH39lyw
2•TheWiggles•39m ago•0 comments

OpenAI Tapped for Voice Control Tech in US Drone Swarm Challenge

https://www.bloomberg.com/news/articles/2026-02-13/openai-tapped-for-voice-control-tech-in-us-dro...
1•macleginn•40m ago•1 comments

Stop Using Lovable for Prototyping – Use Storybook and Claude Instead

https://atfzl.com/stop-using-lovable-for-prototyping-use-storybook-claude-instead/
1•atfzl•41m ago•0 comments

Smart-KNN: A production-focused, feature-weighted KNN optimized for CPU

https://github.com/thatipamula-jashwanth/smart-knn
1•Jashwanth01•41m ago•1 comments