vchris Posted August 8, 2019 Share Posted August 8, 2019 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. Quote Link to comment
cyppaham Posted August 8, 2019 Share Posted August 8, 2019 PLEX does use a lot of space for recordings and I would suggest upgrading your cache and make both drives the same size. Quote Link to comment
JonathanM Posted August 9, 2019 Share Posted August 9, 2019 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. Quote Link to comment
vchris Posted August 9, 2019 Author Share Posted August 9, 2019 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? Quote Link to comment
JorgeB Posted August 9, 2019 Share Posted August 9, 2019 Run the mover, on the main page Quote Link to comment
itimpi Posted August 9, 2019 Share Posted August 9, 2019 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). Quote Link to comment
vchris Posted August 9, 2019 Author Share Posted August 9, 2019 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. Quote Link to comment
vchris Posted August 11, 2019 Author Share Posted August 11, 2019 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. Quote Link to comment
itimpi Posted August 11, 2019 Share Posted August 11, 2019 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. Quote Link to comment
vchris Posted August 12, 2019 Author Share Posted August 12, 2019 That worked out great. Thanks for your help guys. Quote Link to comment
mrtech213 Posted August 12, 2019 Share Posted August 12, 2019 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 Quote Link to comment
JorgeB Posted August 12, 2019 Share Posted August 12, 2019 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. Quote Link to comment
mrtech213 Posted August 12, 2019 Share Posted August 12, 2019 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? Quote Link to comment
mrtech213 Posted August 12, 2019 Share Posted August 12, 2019 1 minute ago, mrtech213 said: How do I collect Mover logs again? Nevermind I found how to enable it lol Here is a new log wakanda-diagnostics-20190812-1702.zip Quote Link to comment
JorgeB Posted August 12, 2019 Share Posted August 12, 2019 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. Quote Link to comment
mrtech213 Posted August 12, 2019 Share Posted August 12, 2019 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? Quote Link to comment
trurl Posted August 12, 2019 Share Posted August 12, 2019 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. Quote Link to comment
JorgeB Posted August 12, 2019 Share Posted August 12, 2019 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" Quote Link to comment
mrtech213 Posted August 12, 2019 Share Posted August 12, 2019 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 Quote Link to comment
mrtech213 Posted August 12, 2019 Share Posted August 12, 2019 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? Quote Link to comment
JorgeB Posted August 12, 2019 Share Posted August 12, 2019 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. Quote Link to comment
mrtech213 Posted August 12, 2019 Share Posted August 12, 2019 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? Quote Link to comment
JorgeB Posted August 12, 2019 Share Posted August 12, 2019 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. Quote Link to comment
mrtech213 Posted August 12, 2019 Share Posted August 12, 2019 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 Quote Link to comment
mrtech213 Posted August 13, 2019 Share Posted August 13, 2019 !!!! 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 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.