Btrfs over RAID10/ZFS for cold backup, does the second checksum just add fragmentation

edited October 30 in Technical

I use a box for cold backup. Stuff gets there in two ways. Some I upload from my PC, and some are Btrfs snapshots sent over from my other servers. The host already has RAID10 or ZFS underneath, so it already does checksums and keeps redundancy. I still format Btrfs on top myself.

I keep wondering if that second layer actually buys me anything, or if it mostly just leaves me with more fragmentation and extra overhead on small files. Especially with send and receive, I have a lot of small dev files, and I am not sure if that still runs clean when the layer below is already doing checksums.

Has anyone run this double layer setup for a while. What actually broke or slowed down for you in practice. I am more interested in real experience than theory.

Break it, learn it, fix it.

Comments

  • edited October 31

    I would peel the Btrfs layer off of this NAS and replace your other computers' FS with ZFS, for homogeneity and for enabling ZFS' own send/receive.
    What Btrfs adds to ZFS is its own numerous data loss bugs, that never trigger because Btrfs is fantastic, until you do something unusual and they do.

    I used raid-1 ZFS for two years on my home computer, replaced failed disks, upgraded module versions, resilvered, auto-corrected parity errors. It's simple to use and works well. VPS Price Tracker also runs on ZFS on root, with compression.

  • for a clean workstation install in 2026, should I use ext4, btrfs, or zfs?

    We could just ask AI but what's the fun in that?

    Do not chase karma, trying to get it is the fastest way to lose it.

    DM us for private tracker invite.

  • edited October 31

    @terrorgen said:
    for a clean workstation install in 2026, should I use ext4, btrfs, or zfs?

    We could just ask AI but what's the fun in that?

    bootdisk the root ext4, the data/home disk btrfs

    14 cents per month netbsd at this aff TierHive

  • @terrorgen said:
    for a clean workstation install in 2026, should I use ext4, btrfs, or zfs?

    We could just ask AI but what's the fun in that?

    For a workstation, I'd read what the distro recommends and eventually end up with ext4 anyway ( XFS for stuff like /var/lib/libvirt/images )

  • natboxionatboxio Provider

    The second checksum isn't wasted: it's end-to-end, so it catches corruption in the virtualization or transport layer that the host's ZFS never sees. But on a single device, Btrfs can only detect bad blocks, not repair them, unless you use DUP for data. The bigger cost is CoW-on-CoW fragmentation with lots of small files. What helps: noatime,compress=zstd, a monthly btrfs scrub so you actually find problems, and avoid btrfs defrag on snapshotted data because it breaks reflinks and blows up space usage. Don't reach for nodatacow either, since it turns checksums off, which defeats the point.

Sign In or Register to comment.