brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: set Minimum free space on a cache pool to twice your biggest file

Cache
~/tips/tip-unraid-cache-minimum-free-space

Main > (pool name) > Individual Pool Settings > Minimum free space

Makes Unraid send new files to the array instead of filling a cache pool to the brim.

A cache pool that fills up to the last byte is a bad day. Unraid has a floor for it, and you set it per pool.

Click the pool name on the Main tab, then open Individual Pool Settings and set Minimum free space. When free space drops below that value, Unraid stops writing new files to the pool and sends them straight to the array.

Main > (pool name) > Individual Pool Settings > Minimum free space

The docs give a rule: at least the size of the largest file you expect, preferably double. If your biggest file is 30 GB, set 60 GB. Do not set it to 0, because that can cause disk full errors.

There is a second floor on the share itself. Unraid respects the first one it hits, either the share’s setting or the pool’s. So if one share holds big files and another does not, the pool value is your general cushion. The docs mention a pool that also hosts a VM, where a larger cushion leaves room for the vdisk to grow.

The caveat: the setting does not apply to a share that uses the pool exclusively, meaning no secondary storage. A share like that fails when the pool is full.

Further reading: Unraid docs: Cache pools, On this site: mv inside /mnt/user can leave files on the cache, use the Mover, On this site: never copy between a user share and a disk share with the same folder name

Going deeper: Guide: your Unraid cache is full and Docker stopped, how to find out why and fix it

More Cache tips fincore /var/lib/example/data.db npm cache verify fc-cache -f -v ~/.local/share/fonts proxy_cache app; Cache-Control: no-cache All Cache tips (24) All topics

Link