Add doc pages for minfreespace and moveonenospc + other misc updates

This commit is contained in:
Antonio SJ Musumeci 2025-04-08 23:19:21 -05:00
parent 1f3ebcf418
commit c769e959e8
9 changed files with 170 additions and 70 deletions

View file

@ -0,0 +1,20 @@
# minfreespace
default: `4G`
`minfreespace` is used to set a minimum free space threshold when
running create [policies](functions_categories_policies.md). Any
branch with free space less than the `minfreespace` value will be
skipped. This is the global default but individual branches can [have
their own value.](branches.md#minfreespace).
This is useful for a couple reasons.
* Since mergerfs does not split files across branches it is best to
leave space to write a newly created file on a branch to minimize
the risk of running out of space and needing
[moveonenospc](moveonenospc.md).
* Some filesystems' performance degrades when filled. `minfreespace`
provides a buffer so they are less likely to be filled.
* Similar to `ext4`'s reserved space option it minimizes the problems
that come from running out of space.