by LukeShu · 3y ago · 0 comments
That said,
- My BDB and SQLite databases tend to corrupt if my laptop battery dies and they're on a volume that's not on LUKS.
- `btrfs check` (fsck), `btrfs rescue`, and `btrfs restore` are IMO not up to snuff if you do encounter corruption (caused by something else, like a failing drive). (But I'm working on that https://git.lukeshu.com/btrfs-progs-ng/ !)
- `docker build` is weirdly slow on btrfs, I always set up a separate ext4 `/var/lib/docker` volume.
- I do RAID and encryption separately in MD or LVM and LUKS, so no comments from me about the stability of btrfs' built-in RAID cor encryption.
I'm currently doing this for a different reason. My docker builds started failing after some Ubuntu upgrade. I gave up and used ext4 for that docker directory to fix everything. https://serverfault.com/q/1127148
It unsettled me because now I'm not sure whether btrfs (or docker with btrfs) is production-ready.
https://docs.docker.com/storage/storagedriver/select-storage...
https://docs.docker.com/storage/storagedriver/select-storage...
Does ZFS let you disable CoW?