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: Split level keeps a movie or a show on one disk

Unraid
~/tips/tip-unraid-split-level-keep-folders-together

Automatically split only the top level

Keep all files of a movie or TV show on the same array disk.

Open a TV show folder on a fresh Unraid array and the episodes might be scattered over three disks. Jellyfin doesn’t care, but your spin-down timers do, and so does anyone who ever pulls a disk to read it elsewhere. The share setting that controls this is Split level.

You find it under Shares, click the share, and pick a value in the Split level drop-down. The docs count the share itself as level 1. These are the options:

Automatically split any directory     (default)
Automatically split only the top level
Automatically split the top "N" levels
Manual (no automatic splitting)

The default creates whatever folders it needs on whatever disk the allocation method picks, so a single season can end up on several drives. With only the top level, Unraid creates first-level subfolders where it likes, and after that new files land on the disk where the parent folder already exists. For a share laid out as Movies/Title that means every file of one movie stays together, and the docs name exactly that media library case as the reason to use it.

For TV I’d think one level deeper. In a share like TV/Show/Season 1 you can use the top N levels option to choose how deep Unraid may still split, and below that everything follows its parent folder. Manual means Unraid only writes where the parent folder already exists and never makes a new directory on its own, which suits an archive you sort by hand.

Two things to know before you change it. The setting only affects new files, so existing folders stay where they are until you move them yourself. And when split level, minimum free space and the allocation method disagree, split level wins. The docs warn this can give you “out of space” errors while other disks still have room, because the show’s folder lives on the full disk and Unraid isn’t allowed to start it somewhere else.

Further reading: Unraid docs: Shares

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

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