Jump to content

Cache almost always full, mover doesnt help


Go to solution Solved by Kuleinc,

Recommended Posts

With such a small cache I wouldn't use it for caching any user shares and only use it for the "system shares" (appdata, domains, system) used by dockers and VMs. Also, you have allocated 40G of your small cache to docker.img, which is probably twice as large as it needs to be.

 

Your user shares may be broken because you have filled cache and corrupted it. Since it is XFS it may be possible to repair.

 

Disable Docker and VM Manager in Settings until you get things working well.

 

Reboot and post new diagnostics.

Link to comment

I used to use 240GB, which seemed like enough for my needs with Dockers and Data, but not to long ago I upgraded to a 1TB SSD. I'm sure for my needs I could get along with a 500GB drive. The price for the 1TB was to good to pass up so I jumped to an even larger drive.  

 

How much honestly would depend on what you normally put on it and have time to store until mover runs. If you are moving mass data constantly and the mover isn't moving enough then you'll need a much larger drive. All my Dockers take up around 32GB and my docker.img file. So I have plenty of space for other items. 

Link to comment

To be fair it took a few minutes for me to run the same command that @trurl asked you to run. 

 

For instance Plex is a large folder on my system and it had to crawl every folder and subfolder gathering up totals. You just don't see it. 

Also don't forget to account for the docker.img file that is sitting on your Cache drive too. 

Link to comment

image.png.d781c3c6c7a06eff9607a750166acba9.png

do we need more diag data again?

also, since the reboot, the shares showed up again...

 

I suffered a power outage and my zoneminder database got corrupted, so I saved it as .backup and reinstalled to get it running, I dunno how to fix that...

Edited by Kuleinc
Link to comment

Its a security camera database that is corrupted, I saved it incase I can restore it, which I dont know how to do. It happens everytime we have a power outage. i dont want to delete it if I dont have to...

 

It takes footage from cameras and analyses them for movement and records it if it sees something moving. I dunno why its on cache, it doesnt need to be. I dont know how to move it.

Edited by Kuleinc
Link to comment
2 minutes ago, Kuleinc said:

I dunno why its on cache, it doesnt need to be. I dont know how to move it.

Its on cache because appdata is on cache, or at least some of appdata is on cache. Ultimately you want all of appdata, domains, system shares on cache so your docker/VM performance won't be affected by slower parity array, and so array disks can spin down since these files are always open.

 

Your camera footage should be on the array and not in appdata. Surely Zoneminder can be configured to put that in another share on the array.

Link to comment

well, zoneminder will keep array spun up with the cameras footage...

 

Perhaps I need to replace cache drive with bigger drives... I didn't realize when I built it... Can I simply add the 500gb to the cache pool and leave the 120 GB drive too?

 

Zoneminer does go back and delete old footage so theres room for new footage. I had it setup better before the power crash, perhaps I need to work on getting the database fixed for that and add more cache space?

Link to comment

Install Dynamix File Manager plugin and use it to move those Zoneminder files to another share.

 

Delete and recreate your docker.img as only 20G and reinstall your dockers.

 

https://wiki.unraid.net/Manual/Docker_Management#Re-Create_the_Docker_image_file

https://wiki.unraid.net/Manual/Docker_Management#Re-Installing_Docker_Applications

 

Stop Zoneminder and leave it stopped until you figure out how to get it to store its footage in another share on the array. Looks like you just need to change the mapping for the data path.

 

Link to comment
2 minutes ago, Kuleinc said:

Perhaps I need to replace cache drive with bigger drives... I didn't realize when I built it... Can I simply add the 500gb to the cache pool and leave the 120 GB drive too?

Better if you put these in separate pools. You could put your appdata, domains, system shares on the 120G pool, and use the 500G pool for Zoneminder footage and caching.

Link to comment

also, a new use of this server is my wife backing up her youtube videos and files that she makes her videos with. I had not forseen this being a problem when I assembled the server as I didnt understand the cache. If she tries to move files larger than freespace on the cache drive the transfer fails. This is actually easy to do when she is trying to move video footage, edited video, music, clip art, etc from folders on her working machine to the unraid server for backup to free space on her machine and of course backup....

 

that file browser is super helpful! thanks for the tip!

Edited by Kuleinc
Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...