Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Manually flush cache?

Featured Replies

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!

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.

  • Author

Ah unRAID, so simple.

 

Thanks for the heads up. Would never have found that where it was.

  • Community Expert

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.

  • 1 year later...

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:

Sounds like you have use cache set to "prefer" instead of "yes".

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:

Capture.JPG.24846ad054fdcf3e50f5b81aa158dca4.JPG

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!.

 

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

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...

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

 

 

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...

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? :)

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

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.

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!

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.