Jetracer Posted June 23, 2019 Share Posted June 23, 2019 Logged into my server today as i normal do a few times a week to check on things and fix common problems had a red error saying cannot write to docker image. Clicked on the log and its full of btrfs errors. My docker image is set to /cache and im running two ssd's as cache. I also use cache for downloads and plex transcoding. Not really sure what happened looking for help. I have attached diagnostics. tower-diagnostics-20190623-1836.zip Quote Link to comment
trurl Posted June 23, 2019 Share Posted June 23, 2019 Some of your appdata and system shares are on the array. Delete docker image. Before creating a new docker image, run mover so the rest of those shares can be moved to cache. Then recreate docker image and use the Previous Apps feature on the Apps page and it will reinstall your containers using the same settings. Quote Link to comment
trurl Posted June 23, 2019 Share Posted June 23, 2019 Looking again at your diagnostics, you have 2 shares set to cache-prefer that should probably be set to cache-yes. They are anonymized in your diagnostics as d------d and M---a. These won't be moved from cache since they are cache-prefer, instead they will be moved to cache. Filling your cache with these shares is likely the source of all your trouble. You should set these to cache-yes before running mover and recreating docker image as above. See here for more details about the use cache settings: https://forums.unraid.net/topic/46802-faq-for-unraid-v6/page/2/#comment-537383 Quote Link to comment
trurl Posted June 23, 2019 Share Posted June 23, 2019 26 minutes ago, Jetracer said: Logged into my server today as i normal do a few times a week to check on things and fix common problems had a red error Also, you shouldn't have to log in to your server to discover you have a problem. You absolutely must configure Notifications to alert you by email or other agent as soon as a problem is detected. Quote Link to comment
Jetracer Posted June 23, 2019 Author Share Posted June 23, 2019 (edited) 28 minutes ago, trurl said: Looking again at your diagnostics, you have 2 shares set to cache-prefer that should probably be set to cache-yes. They are anonymized in your diagnostics as d------d and M---a. These won't be moved from cache since they are cache-prefer, instead they will be moved to cache. Filling your cache with these shares is likely the source of all your trouble. You should set these to cache-yes before running mover and recreating docker image as above. See here for more details about the use cache settings: https://forums.unraid.net/topic/46802-faq-for-unraid-v6/page/2/#comment-537383 Appdata was set to prefer, and download. Would it be wise to turn cache off for download, and data where the majority of my data lives? This is primarily a plex server with a few vms for testing/learning. Looking at the link you sent only system and appdata should be set to prefer correct? downloads to cache yes and data to no. My thinking is only during heavy downloads should the cache fill up (roughly 256gb). Normally its a episode of a show or a single movie being downloaded at any time normally nothing at all. yeah im going to set up email notifications now as well. Edited June 23, 2019 by Jetracer Quote Link to comment
trurl Posted June 23, 2019 Share Posted June 23, 2019 Go to Shares - User Shares and click the Compute All button, wait for the result. It will show you how much of each disk each user share is using. You want to get it so appdata and system are cache-prefer and are only have data on cache, and everything else has no data on cache and is either cache-no or cache-yes. Go to Global Share Settings and set Minimum Free for cache to larger than the largest file you expect to write to cache. This will allow cache-yes shares to overflow to the array if cache gets too full. Quote Link to comment
Jetracer Posted June 24, 2019 Author Share Posted June 24, 2019 Thank you, got that setup. Is there a way to backup dockers before deleting the docker.img so one dosent have to completely set up each docker? I've had to set up sabznd, ombi, and the like far too many times to want to do it again. Quote Link to comment
trurl Posted June 25, 2019 Share Posted June 25, 2019 2 hours ago, Jetracer said: one dosent have to completely set up each docker Previous Apps feature on Apps page 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.