9 May
2021
9 May
'21
18:52
The ssd mount option appears to control the kernel's behavior, while /etc/sysconfig/btrfsmaintenance controls the frequency that filesystem maintenance jobs are run (or whether they are run automatically). By default on openSUSE/SLE, btrfs balance is a weekly scheduled job while scrub is monthly. This generates a lot of load which can trigger a live migration. When the live migrating happens on VMs with a large amount of RAM (e.g., 500GB), this often leads to filesystem corruption. Definitely would have appreciated a default that plays nicer in production while learning about the intricacies of btrfs behavior. The same goes for the pet VM on my personal laptop as well. ;)