<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Wed, Jul 18, 2018, 1:12 PM Lennart Poettering <<a href="mailto:lennart@poettering.net" target="_blank">lennart@poettering.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Mi, 18.07.18 13:08, Chris Murphy (<a href="mailto:lists@colorremedies.com" target="_blank">lists@colorremedies.com</a>) wrote:<br>
<br>
> My original expectation was that SystemMaxUse=2G which is the same<br>
> size as the file system, would be limited by the default behavior of<br>
> SystemKeepFree= which the man page says is 15% of the file system<br>
> size.<br>
<br>
Ah, when you override the setting that's what counts, and we won't<br>
second guess it. I mean, disk usage measurement is hard, given that we<br>
live in a world of COW file systems and compressing file systems,<br>
hence trying to be too smart can easily backfire...<br></blockquote></div><div><br></div><div>Yeah the original user expectation is specious. It seems plausible a user could come to that conclusion, but it's a 50/50 shot because it's sane for an override to override all related defaults as well. And I wondered that in the back of my mind, but dismissed it just because I like breaking things anyway.<br></div><div><br></div><div>And really 2GiB max for the journal could never have worked on a 2GiB f2fs anyway, because there's quite a bit of overhead due to the default overprovisioning at mkfs time, which for this device is ~200M. So in effect it ends up being user sabotage. However, switching back to default settings in the journal.conf and rebooting did not immediately and automatically clear old archive journals, that's still unexpected.<br></div><div><br></div><div><br></div><div>Chris Murphy<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div>
</div>