CasanovaFly Posted February 9, 2015 Share Posted February 9, 2015 Hi all, I've got my unRAID server up and humming and I'm loving it. I just got around to adding a cache drive after I moved all of my files onto the array, and I was curious about the cache flush procedure. I seem to recall -- while getting help with putting an unRAID build together -- that you can manually flush the cache yourself. Is this true? Also, when does the cache flush on its own? And can that time/date be changed? If so, how? Thanks! Quote Link to comment
jevans04 Posted February 9, 2015 Share Posted February 9, 2015 Under the Settings tab, click on Share Settings. From there you can specify the settings for the "Mover" for how often the files from the cache drive are moved to the array. You can also manually start the Mover to move the files now. Quote Link to comment
CasanovaFly Posted February 9, 2015 Author Share Posted February 9, 2015 Ah unRAID, so simple. Thanks for the heads up. Would never have found that where it was. Quote Link to comment
itimpi Posted February 10, 2015 Share Posted February 10, 2015 Ah unRAID, so simple. Thanks for the heads up. Would never have found that where it was. I agree that it can be obscure to find if you do not know where it is. I suspect that it got put there simply because that is where the settings for mover are configured. I think there would be a lot to be said for having a button to run mover manually on the main->Cache disk tab as well as that seems a more intuitive place to find such an option. Quote Link to comment
Ruckus42 Posted February 10, 2017 Share Posted February 10, 2017 Manually starting mover not doing anything. Logs show that unRAID is trying desperately to write just about everything I have to the cache, which is full. Why??!? Image capture of logs: Quote Link to comment
gubbgnutten Posted February 10, 2017 Share Posted February 10, 2017 Sounds like you have use cache set to "prefer" instead of "yes". Quote Link to comment
Ruckus42 Posted February 10, 2017 Share Posted February 10, 2017 Sounds like you have use cache set to "prefer" instead of "yes". Looks like it's set to "yes". It's in Settings > Global Share Settings, yes? I can't change it at the moment either way. The manual mover has my array locked on. Can't stop the array. Can't reboot. Screenshot: Quote Link to comment
gubbgnutten Posted February 10, 2017 Share Posted February 10, 2017 Was more thinking of the downloads share. Posting the diagnostics zip would be a more convenient way to supply logs and settings, see Need help? Read me first!. Quote Link to comment
Ruckus42 Posted February 10, 2017 Share Posted February 10, 2017 Was more thinking of the downloads share. Posting the diagnostics zip would be a more convenient way to supply logs and settings, see Need help? Read me first!. Oh. You're totally right. Ok, how do I cancel the Mover? It's still trying to write to cache even after I've changed it to "yes" for the downloads share. I'll start searching for that now, but if you have the answer handy, please send it my way. Thanks! Edit: I installed PuTTY and SSH'd into the server. Based on my search of the forums, ran the following command: killall rsync The Mover still seems to be running though. Diagnostics zip added here. unraid-diagnostics-20170211-0140.zip Quote Link to comment
Ruckus42 Posted February 10, 2017 Share Posted February 10, 2017 Ok, I'm officially fed up with this thing. I'm about to manually wipe my cache drive if nobody tells me I shouldn't. The mover wasn't stopping for anything, so I force-shutdown the system completely by holding the power button. I changed the share cache option from "prefer" to 'yes", I started the mover again thinking it would move things according to that setting, and it didn't. My cache is still full and I still can't write squat to my array because of the full cache. It looks like what's in the cache is just copies of what's on the array, so I'm wiping all of it. Here's hoping I'm not making a big mistake... Quote Link to comment
Squid Posted February 10, 2017 Share Posted February 10, 2017 Ok, I'm officially fed up with this thing. I'm about to manually wipe my cache drive if nobody tells me I shouldn't. The mover wasn't stopping for anything, so I force-shutdown the system completely by holding the power button. I changed the share cache option from "prefer" to 'yes", I started the mover again thinking it would move things according to that setting, and it didn't. My cache is still full and I still can't write squat to my array because of the full cache. It looks like what's in the cache is just copies of what's on the array, so I'm wiping all of it. Here's hoping I'm not making a big mistake... No what's on the cache is NOT copies. Any share files on the cache drive are part of the share. If you delete the files you will lose them Sent from my LG-D852 using Tapatalk Quote Link to comment
Ruckus42 Posted February 10, 2017 Share Posted February 10, 2017 Ok, I'm officially fed up with this thing. I'm about to manually wipe my cache drive if nobody tells me I shouldn't. The mover wasn't stopping for anything, so I force-shutdown the system completely by holding the power button. I changed the share cache option from "prefer" to 'yes", I started the mover again thinking it would move things according to that setting, and it didn't. My cache is still full and I still can't write squat to my array because of the full cache. It looks like what's in the cache is just copies of what's on the array, so I'm wiping all of it. Here's hoping I'm not making a big mistake... No what's on the cache is NOT copies. Any share files on the cache drive are part of the share. If you delete the files you will lose them Sent from my LG-D852 using Tapatalk Just the downloads folder. I'll back it all up to my main PC first. Then I'm disabling the cache drive for downloads completely. It's doing my head in. I have things I need to copy to the array, and I can't copy any of it because of this. Edit: And even after that, I still can't copy anything to the array. "There is not enough space on downloads (\\UNRAID)" There's 3 frickin terabytes free!! Arrrgh. Sorry, I'm just tearing my hair out over here... Quote Link to comment
gubbgnutten Posted February 10, 2017 Share Posted February 10, 2017 In the diagnostics, shares V---o, s----m and d-----s were also set to "prefer". Well, a-----a too. But I assume that is appdata which usually should be prefer. If you check the settings for the downloads share, which field contains 3000000000? Quote Link to comment
Ruckus42 Posted February 10, 2017 Share Posted February 10, 2017 I've fixed the cache settings. I've rebooted the system. I'm still unable to copy anything to the array. Updated diag zip: Does this deserve a new thread? It started with the cache, but the cache is clear now. Edit: Wait, what should the share size be set to? Downloads is my main share, so I set it high. Should I not have? unraid-diagnostics-20170211-0346.zip Quote Link to comment
gubbgnutten Posted February 10, 2017 Share Posted February 10, 2017 If "Minimum free space" for a share is set to 3000000000 it means at least 3TB of free space is required to allow writing to the share. Did you mean 3GB? Write that, include the unit. Quote Link to comment
Ruckus42 Posted February 10, 2017 Share Posted February 10, 2017 OMG, I'm an idiot. Edit: Thank you guys. I'm a bit embarrassed. I overlooked that completely. Well, live and learn, right? Heh! gubbgnutten, I owe you a beer! Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.