Hi,
I'm currently trialling unRAID, having been using TrueNAS for quite some time. I'm liking it on the whole, but one thing totally vexing me is the cache feature. I've searched the forums and found post saying 'set the minimum' and no response beyond that. I've read the docs, googled, posted on Reddit, and asked on Discord. I'm still no further along with this.
I've got three 6TB drives in an array (one is parity) and two 250GB SSDs in the cache. The array is encrypted with a passphrase. The array is xfs, and the cache btrfs, I just accepted the defaults there, except swapping to the encrypted filesystem option. It's a J4105 with 16GB of RAM, and otherwise running nicely.
I've set all my shares to use the cache, and set the cache pool to 'yes'. I've also set minimum filesizes for all the shares to reflect the maximum file sizes; they're different per share as I have 'TV', 'Movies', 'Music', and a general 'Shared', so I've set them accordingly. I then rebooted to ensure the minimum filesize setting is working per direction over on Discord.
However. It doesn't work. I left it copying files into the Music share today (using FastCopy), and it stopped having run out of space. Sure enough, the cache shows as being full. If I try and copy a file in (from windows to a UNC path), it says it is full and there's no free space. The file is 20Mb, yet the share minimum filesize is set to 200Mb.
So I'm baffled. I've collected the log files and see no errors. I've poked about everywhere I can think to look, but I'm no wiser.
I want to use the cache for two reasons - 1. I will have Windows backup running on my desktops and they'll be randomly throwing files at it, so it keeps the disks spun down, and 2. my hard drives are shingled (BOOO!!! Only just found this out), which is why I left TruNAS as ZFS and shingled disks do not get along. unRAID makes a lot of sense to me, apart from the fact it's misbehaving seemingly.
Thanks in advance.
storage-diagnostics-20220725-2139.zip