Operating system:
Ubuntu Server 24.04.1 LTS (Running it as a NAS/homeserver)
Disk Setup:
/ & /home -> 500 GB SSD
/mnt/hdd1 -> 12 TB ext4 partition
/mnt/hdd2 -> 12 TB ext4 partition
/mnt/hdd3 -> 12 TB ext4 partition
/mnt/storage -> MergerFS of hdd1 and hdd2
Software
Snapraid of hdd1 and hdd2 with hdd3 as the parity drive
rsnapshot of some folders in /mnt/storage stored on hdd3
Samba running that gives access to /mnt/storage
Jellyfin/QBittorrent/Sonarr running as docker containers that has /mnt/storage mounted
hd-idle configured to sleep drives after 30min of inactivity (Testing shows drives spin up on avg 3-4 times in 1 day)
Status:
Everytime I navigate the NAS filestystem in Windows, both hdd1 and hdd2 spin up just to read the filesystem metadata
Everytime I open Jellyfin's homepage, it tries to access all the thumbnail .jpg files.
/mnt/hdd1 (Which currently stores all my Qbittorrent data) is constantly spinning since I'm seeding some stuff.
Question:
I have a 2TB SSD that I have the option of putting into my NAS and the ideal scenario would be it being used as a cache such that the most commonly used items get stored onto it so that filesystem access is limited to only the SSD. Is there a way to get such a configuration?
I looked up lv cache (but i think it requires me to have my hdds in a LVM group which i have not?) as well as bcache, but I'm a little out of my depth trying to understand how they work. Any advice?
Edit: I'm fine if when I stream my shows/movies from Jellyfin I spin up a drive, I mostly want the Samba/Qbittorrent/Jellyfin thumbnails to not spin up my drives.