PSA: 5.16 introduces an issue with where btrfs-cleaner might "spin forever", cause 100% cpu load and issue a ton of writes [1]. My 256GB NVME drive got rewritten 10x over in less than a day before I figured out what's going on. There's a series of patches being worked out [2] but in the meanwhile what worked for me was turning off 'autodefrag' in /etc/fstab.

[1] reddit.com/r/btrfs/comments/s4
[2] lore.kernel.org/linux-btrfs/CA

Follow

Oopsie...

$ sudo smartctl -a /dev/nvme0n1 | grep 'Data Units'
Data Units Read: 5,517,916 [2.82 TB]
Data Units Written: 115,052,746 [58.9 TB]

Sign in to participate in the conversation
Mastodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!