[opensuse-support] Decrease number of snapper snapshots
The btrfs wiki says: "qgroups with many snapshots slows down balance" [1]. According to this bug report [2] and also my own experience, btrfs balance can slow down the system to the point of freezing. Since snapper leaves 2-10 regular and 4-10 important snapshots and using YaST as well as zypper also creates a new one each time, you can easily end up with 20+ snapshots, leading to the freezes. Now my question, is it safe to set NUMBER_LIMIT="2-5" (instead of "2-10") and NUMBER_LIMIT_IMPORTANT="4-7" (instead of "4-10") in /etc/snapper/configs/root? As I understand the issue, this should alleviate the freezing issue a little until it's fixed for good. [1] https://btrfs.wiki.kernel.org/index.php/Status [2] https://bugzilla.opensuse.org/show_bug.cgi?id=1063638 regards
Le 14/12/2018 à 23:34, Maximilian Trummer a écrit :
Now my question, is it safe to set NUMBER_LIMIT="2-5" (instead of "2-10") and NUMBER_LIMIT_IMPORTANT="4-7" (instead of "4-10") in /etc/snapper/configs/root?
As I understand the issue, this should alleviate the freezing issue a little until it's fixed for good.
I have NUMBER_LIMIT="2-3" NUMBER_LIMIT_IMPORTANT="4-5" and this don't prevent me from having nearly every month crash after update for "unsufficient disk space", that needs removing snapshot and making balance but my (42.3) / is btrfs 30G 24G 6,4G 79% / because it comes from pre btrfs time jdd -- http://dodin.org -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
participants (2)
-
jdd@dodin.org
-
Maximilian Trummer