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.

Cache drive full

Featured Replies

Hi guys first post. I'm loving Unraid but I'm getting issues this week. I have Plex with Parity, 2 drive cache pool of 120GB. Ever since I started recording with Plex I'm getting no space in Plex and now it won't play anything. I'm getting Failed to commit transaction (../Playlists/PlayQueueRequestHandler.cpp:123) (tries=1): Cannot commit transaction. database or disk is full in the Plex logs. Also common fix is saying my cache is full "All writes to your cache enabled shares are being redirected to your array. If this is a transient situation, you can ignore this, otherwise adjust your cache floor", I have 20GB free. Appdata is now set to not use cache. 

 

Really need your help guys, I'm not sure what to do here.

unraid.png

PLEX does use a lot of space for recordings and I would suggest upgrading your cache and make both drives the same size.

When you put 2 drives into the cache pool, by default it sets up a RAID1 configuration. That means that all data must exist on both devices, effectively limiting the size of the pool to the smaller device, regardless of what the GUI says is free.

 

Bottom line, your cache pool is completely full.

 

1 hour ago, vchris said:

Appdata is now set to not use cache. 

"Cache: No" means new files will be created on the array, files already on the cache will not be moved.

 

You need to determine which shares have files on the cache, and possibly change the cache settings on those shares to move those files to the array. Turn on help on the shares page and read the description of the different cache modes. Normally appdata would be cache: prefer.

 

 

  • Author

Only appdata and Downloads had cache set to yes or only. I can see how that could be a problem but I figured cache should clear itself within 24h. I since switched them. I also moved radarr, sonarr, sabnzbd on /mnt/cache, plex is still on /mnt/user. 

 

How do I clear the cache drive?

  • Community Expert

Run the mover, on the main page

  • Community Expert

You probably want Use Cache=Yes.    With that setting new files are written to the cache, and then moved to the array when mover runs (typically overnight).    You also want the Minimum Free Space option under Settings->Global Share Settings to be set to the size of the largest file you expect to download (or larger).     When the free space on the cache drops below this value new files will stop bypassing the cache (rather than error it out due to lack of space).

  • Author
12 minutes ago, johnnie.black said:

Run the mover, on the main page

Thanks! Saw that last night but wasn't really sure what that did. I'll give it a try tonight.

 

9 minutes ago, itimpi said:

You probably want Use Cache=Yes.    With that setting new files are written to the cache, and then moved to the array when mover runs (typically overnight).    You also want the Minimum Free Space option under Settings->Global Share Settings to be set to the size of the largest file you expect to download (or larger).     When the free space on the cache drops below this value new files will stop bypassing the cache (rather than error it out due to lack of space).

Makes sense. So instead of the default 20GB I could drop it to 5GB and set appdata and downloads to use cache yes. I guess I should not move plex data to /mnt/cache as that will fill it up.

  • Author

After dropping the cache min size to 5GB, setting all shares to No and executing the mover there appears to be no change. The cache is still filled the same as before.

  • Community Expert

Setting Use Cache = No means write new files to the array but leave alone any files already on the cache.   If you want files to be moved from cache to array by mover you need Use Cache = Yes.    Turning on the help in the GUI will help clarify how that setting affects the placement of new files and what action mover takes.

  • Author

That worked out great. Thanks for your help guys.

  • Community Expert
16 minutes ago, mrtech213 said:

My mover is not moving and the cache is filling up-----> https://gyazo.com/54c2c27318c825d9dc5eb613030d60ac

 

Not sure why the Mover is not working. Can someone please help :(   

 

 

wakanda-diagnostics-20190812-1635.zip 95.94 kB · 0 downloads

We need the mover log to be enable to see the error, assuming you're trying to move from the Downloads share, which is the only one set to use cache, but not much space left on the array, so it will never be able to move everything.

5 minutes ago, johnnie.black said:

We need the mover log to be enable to see the error, assuming you're trying to move from the Downloads share, which is the only one set to use cache, but not much space left on the array, so it will never be able to move everything.

How do I collect Mover logs again?

  • Community Expert

It appears you tuned on the logger but still nothing showing up, not even mover started / finished, which should always appear when logger is enable, so not sure what's going on, try booting in safe mode and running the mover.

17 minutes ago, johnnie.black said:

It appears you tuned on the logger but still nothing showing up, not even mover started / finished, which should always appear when logger is enable, so not sure what's going on, try booting in safe mode and running the mover.

Yea I'm going to try that out when I get home after work. But do you think that the issue could be the space you were mentioning before? The fact that I'm running low on space is causing the Mover to not run?

  • Community Expert
1 minute ago, mrtech213 said:

Yea I'm going to try that out when I get home after work. But do you think that the issue could be the space you were mentioning before? The fact that I'm running low on space is causing the Mover to not run?

Even if it did run, what do you expect it to do if you have no free space? You really must come up with a plan for dealing with your full disks.

  • Community Expert

You don't have a minimum free space set for your shares, and you should, but depending on the size of the files you want to move, it just might not be enough space, either that or a file already exists on the array, or that share isn't set to cache="yes"

1 minute ago, trurl said:

Even if it did run, what do you expect it to do if you have no free space? You really must come up with a plan for dealing with your full disks.

I'm going to be shopping for some larger drives this week

1 minute ago, johnnie.black said:

You don't have a minimum free space set for your shares, and you should, but depending on the size of the files you want to move, it just might not be enough space, either that or a file already exists on the array, or that share isn't set to cache="yes"

How do I set minimum free space within my shares?

  • Community Expert
1 minute ago, mrtech213 said:

How do I set minimum free space within my shares?

Shares, then click on each share and set it, it should be set to around twice the largest file size you expect to transfer to that share.

13 minutes ago, johnnie.black said:

Shares, then click on each share and set it, it should be set to around twice the largest file size you expect to transfer to that share.

What do you think is a good size to set just for a start?

  • Community Expert
1 minute ago, mrtech213 said:

What do you think is a good size to set just for a start?

Like mentioned depends on the file sizes used on that share, twice the size of the largest file.

1 minute ago, johnnie.black said:

Like mentioned depends on the file sizes used on that share, twice the size of the largest file.

oh ok I get you. I'll look at getting larger drives this week to get some more space for my array. Hopefully the Mover will run after that. Thanks for your insight on this  :)

!!!! update !!!!

 

 

Adding more space to the cache and the array. ----> https://gyazo.com/5c4c5ae014217496f51035a4c2f24ea8

 

The Mover ran but for a few seconds. Just want to make sure its working good. Can some please check just want to make sure I'm not crazy

wakanda-diagnostics-20190813-1329.zip

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.