I am getting my feet wet with unRAID in a VM with some pass-through devices, so I have nothing in this config that can't be tossed and re-built. This is all in prep before the “big move”.
I am using version: 6.9.2
Share setting has cache set to “Yes”
Screen shots: https://imgur.com/a/lebjslP (Main & Share Settings)
Log dump attached.
I have a small cache disk that is VM disk sitting on an SSD (only 5GBs for now, I intentionally made this small).
I have three spinals passed through as LUNs (3TBs each, double parity).
So far, everything is running great, until I enable the cache drive and start coping files. As soon as the cache disk fills I get this from rsync:
rsync: close failed on "/mnt/###CENSORED FILE NAME###": No space left on device (28)
rsync error: error in file IO (code 11) at receiver.c(853) [receiver=3.1.3
I have tried stopping the array and setting a minimum free space on the cache disk to 1GB (more than double the size of any single file I am trying to copy), but it just fills the cache drive to 100% anyway. It seems to free up space from the failed copy, but never tries moving data to the array (see 220 Mbs free in screenshot even with the 1GB minimum free).
Waiting a while and restarting the copy seems to work, but it seems that the minimum free space on the cache disk is just not working….
It was my understanding that once a cache disk is full (or in this case minimum free is reached), any future writes will go to the array directly. Is that wrong? Is this a config issue, or have I hit a bug?
Also, I am assuming this is happening because once a write starts to a cache disk, it can’t be moved to the array mid-copy... So a minimum free space on the cache disk should be a default config I would think (but seems to be blank).
As I am writing this, and after I took the log capture, I just NOW am seeing this in the logs:
Jan 16 10:55:29 Tower shfs: share cache full
### [PREVIOUS LINE REPEATED 22209 TIMES] ###
Could this be related to having copy on write enabled (BTRFS not letting space go fast enough)?
Please advise. Thanks!!!
Side note, and “Anonymize diagnostics” function doesn’t seem to remove user names from the logs, so I did manually.
tower-diagnostics-20220116-1107.zip