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: exclusive shares skip the user share layer and can be much faster

Docker
~/tips/tip-unraid-exclusive-shares

cat ~/tips/tip-unraid-exclusive-shares.md

Lets a share that lives on one pool bypass the user share filesystem for faster file access.

There is a setting from Unraid 6.12 that most people never switch on, and it is aimed at exactly the shares that get hammered the most.

Go to Settings, Global Share Settings and set Permit exclusive shares to Yes (the default is No). A share counts as exclusive when all of its data sits in a single pool: Primary storage is that pool and Secondary storage is none. Unraid then creates a symlink, and file access skips the FUSE-based user share layer. The release notes say that can significantly increase performance. On the share, the status Exclusive access shows Yes when it works.

My first candidate would be a share on an NVMe pool with a lot of small reads and writes, such as one for Docker data.

Three caveats from the release notes. A share that is exported over NFS cannot be exclusive, because the symlink is resolved in the NFS client and not on the server. The Minimum free space settings of the share and the pool are ignored. And a share on the array, or one spread over several volumes, is not exclusive, so a setup that relies on the Mover is out.

Further reading: Unraid docs: Version 6.12.0 release notes, On this site: schedule docker stop and start with User Scripts and a cron line, On this site: find what is filling your Unraid docker.img

More Docker tips ONBUILD RUN /usr/local/bin/python-build --dir /app/src SHELL ["/bin/bash", "-c"] docker commit <container> myname/testimage:version3 docker import /path/to/exampleimage.tgz docker compose events All Docker tips (192) All topics

Link