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: Primary storage, Secondary storage and Mover action decide where a share lives

Unraid
~/tips/tip-unraid-primary-secondary-mover-action

cat ~/tips/tip-unraid-primary-secondary-mover-action.md

Explains the three share settings that decide where new files land and which way the Mover moves them.

If an old guide tells you to set a share to Use cache: Yes, Only or Prefer and you cannot find that setting, this is what replaced it.

Since Unraid 6.12 a share has three settings instead: Primary storage, Secondary storage and Mover action. Primary storage is where new files are written first. Secondary storage is where files go when Primary drops below its minimum free space, and it is the other end of the Mover. The Mover action only shows up once you pick a Secondary storage, and it has two directions: Primary to Secondary (the default) and Secondary to Primary.

The usual setup is Primary on a cache pool, Secondary on the array, and the action set to move from cache to array. New files land on the fast pool, and the Mover tucks them away on the array later. The reverse, array to cache, is for a share you want to read fast. In that case I would double check that parity is valid first, because the docs say so before you move files from the array to a pool.

One caveat that has nothing to do with the new names: never copy or move files between a user share and a disk share by hand. The docs warn it can end in corrupt files or permanent data loss.

Further reading: Unraid docs: Shares, On this site: never copy between a user share and a disk share with the same folder name, On this site: Included disk(s) keeps a share on the disks you choose

More Unraid tips Change the RAID profile of a Unraid BTRFS pool with Balance Replace a disk in a redundant Unraid pool from the Main tab Test every Unraid drive with the DiskSpeed container See the XML behind a VM with the inline XML view in Unraid 7 Choose where a new VM's disk image is created with Unraid's storage override All Unraid tips (77) All topics

Link