JBanner Posted December 9, 2019 Share Posted December 9, 2019 Hi, Sorry but I'm quite inexperienced at unraid, and I'm in a bit of a mess... I was having issues with space on my cache SSD drive. So I started messing with the shares that were using the cache, and turned off the cache on some of the shares, Then I got an alert from I think fix common problems saying there were files on the cache that were not copied onto the array. So Not remembering which ones were on or not before, I turned everything onto "Prefer". Next, the cache drive TOTALLY filled up and mover was stuck, in the log it was constantly saying something like "Cache Drive Full" I could not stop mover from running (I tried "killall rsync" and nothing, I tried "pkill mover" and nothing) So I did a restart from the restart button in the GUI. Unraid booted up and mover was no longer running, so I tried turn the cache off on all the user shares, leaving it only on the system ones that I had not created. But the cache drivve was still full and the system was not running correctly (No VM's no Dockers) I went back into the shares to try and re set teh cache drive, but unraid crashed, and now wont boot.... showing the following screen.. PLEASE HELP! Quote Link to comment
testdasi Posted December 9, 2019 Share Posted December 9, 2019 Plug your USB stick to another machine and attached in your next post the 2 zip files in the screenshot (tower-diagnostics-20191209-1038.zip and tower-diagnostics-20191209-1048.zip - they are under \logs folder). Someone on here probably can help have a look. The booting issue is probably unrelated to what you did to the share cache settings. Also, with regards to cache, you should have set it to "Yes" (EXCEPT for the appdata / docker / vdisk) and run the mover to free up cache space first. Yes = store in cache first, mover always moves out of cache into array Prefer = always store in cache, unless cache full then mover moves into array, if cache frees up move back onto cache Only = no array storage, mover is disabled for the share No = no cache storage, mover is disabled for the share Setting it to No, will not move the files out of your cache because the mover is (effectively) disabled for that share. "Prefer" is a relatively complex operation that is in the "do it if you know what you are doing" category. If you are not sure, please ask questions and not try to fix it without guidance. Quote Link to comment
JBanner Posted December 9, 2019 Author Share Posted December 9, 2019 Thanks For Your reply, Attached are the 2 files. I will ask in the future! tower-diagnostics-20191209-1038.zip tower-diagnostics-20191209-1048.zip Quote Link to comment
JorgeB Posted December 9, 2019 Share Posted December 9, 2019 Cache is completely full, disable VM/docker services (Settings -> Docker and Settings -> VM Manager) before starting the array, move some data off cache, after that restart services and post new diags if still issues. Quote Link to comment
JBanner Posted December 9, 2019 Author Share Posted December 9, 2019 Thanks so much for replying. OK Array is started this time with the docker and vm's turned off. I'm not sure the best way to copy some data off the cache though, Do I just use MC to copy some large files back to their correct locations? eg from cache drive /mnt/cache/Media/TV Shows to the equivalent place on the array? Or is there a better way? Quote Link to comment
JorgeB Posted December 9, 2019 Share Posted December 9, 2019 Set any shares with data on cache you want moved to the array to cache="yes" then run the mover. Quote Link to comment
trurl Posted December 9, 2019 Share Posted December 9, 2019 2 minutes ago, johnnie.black said: Set any shares with data on cache you want moved to the array to cache="yes" then run the mover. After mover completes post new diagnostics. Quote Link to comment
JBanner Posted December 9, 2019 Author Share Posted December 9, 2019 OK Mover just completed, there is 74gb space on the cache drive now. Attached is diagnostictower-diagnostics-20191209-1812.zip Quote Link to comment
trurl Posted December 10, 2019 Share Posted December 10, 2019 Better but still too full. You have a share anonymized as w---------k which is cache-prefer and all on cache. What is your purpose for this share and keeping it on cache? Quote Link to comment
FreeMan Posted December 10, 2019 Share Posted December 10, 2019 14 hours ago, testdasi said: Yes = store in cache first, mover always moves out of cache into array Prefer = always store in cache, unless cache full then mover moves into array, if cache frees up move back onto cache Only = no array storage, mover is disabled for the share No = no cache storage, mover is disabled for the share I've got to say, this is far more clear, concise, and easy to understand than the help text in the GUI. Quote Link to comment
itimpi Posted December 10, 2019 Share Posted December 10, 2019 1 hour ago, FreeMan said: I've got to say, this is far more clear, concise, and easy to understand than the help text in the GUI. Both the GUI prompts and the Help text have already been reworked in the 6.8.0 RC series of releases to make the behavior clearer. 1 Quote Link to comment
JBanner Posted December 10, 2019 Author Share Posted December 10, 2019 Ah, that share is windowsdisk - VM storage I've just set it to yes and running mover. I'm going to upgrade the cache drive soon, is there a good step by step guide for the current release that you can recommend for a complete noob like myself? Is the one on the wiki the right thing to follow? https://wiki.unraid.net/Replace_A_Cache_Drive Thank you all for your help. Quote Link to comment
JorgeB Posted December 10, 2019 Share Posted December 10, 2019 Since cache is btrfs you can do an online replacement/upgrade, as long as you have an extra port to have both connected at the same time, more info here, see part in bold about single device: https://forums.unraid.net/topic/46802-faq-for-unraid-v6/?do=findComment&comment=480419 Quote Link to comment
JBanner Posted December 11, 2019 Author Share Posted December 11, 2019 Great thanks for that, I'll post when it's done... Quote Link to comment
JBanner Posted December 12, 2019 Author Share Posted December 12, 2019 Array is all working properly. Right, onto replacing the cache drive. I'm following the guide you linked for replacing a single drive when you do not have a spare I've turned off dockers and vm's and set appdata, domains and system to "Yes" from "prefer" and run the mover. However in the cache there is still a folder "System" containing "Docker" and "Libvert" folders. when I rerun mover it leaves them there. In that guide it says the cache drive should be empty.... how do I get it to move the last few files across to the array so I can replace the cache drive? Quote Link to comment
itimpi Posted December 12, 2019 Share Posted December 12, 2019 18 minutes ago, JBanner said: I've turned off dockers and vm's and set appdata, domains and system to "Yes" from "prefer" and run the mover. However in the cache there is still a folder "System" containing "Docker" and "Libvert" folders. Did you actually disable the Docker and VM services? If they are enabled they will lock some files even if you have no actively running VMs or docker containers. Quote Link to comment
JBanner Posted December 12, 2019 Author Share Posted December 12, 2019 Hi, I turned off the docker and VM manager in the settings and then ran mover after setting the "appdata, domains and system" shares to yes Quote Link to comment
trurl Posted December 12, 2019 Share Posted December 12, 2019 11 hours ago, JBanner said: However in the cache there is still a folder "System" containing "Docker" and "Libvert" folders. Do those also already exist on the array? Quote Link to comment
JBanner Posted December 12, 2019 Author Share Posted December 12, 2019 Yes it does look like they are there on the array... Quote Link to comment
trurl Posted December 12, 2019 Share Posted December 12, 2019 Mover won't replace files so you will have to delete them. Do you actually have any VMs? Dockers are easy to reinstall and I usually just recommend deleting docker image since Previous Apps on the Apps page will get those back just as they were. Quote Link to comment
JBanner Posted December 13, 2019 Author Share Posted December 13, 2019 yes I've got several vm's Quote Link to comment
trurl Posted December 13, 2019 Share Posted December 13, 2019 If the files on cache are identical to those on the array it should be OK to replace cache. You might try just renaming the files on cache and move again so you will have both copies on the array just in case. Do you know how to work with the files? Quote Link to comment
JBanner Posted December 13, 2019 Author Share Posted December 13, 2019 Would I do that through the MC command in terminal? Quote Link to comment
JBanner Posted December 13, 2019 Author Share Posted December 13, 2019 I just looked at the files, and there is libvert and docker.img sat on the array disk 4 with a date of 6 July.... so would those be the best to rename? Quote Link to comment
trurl Posted December 13, 2019 Share Posted December 13, 2019 Just now, JBanner said: I just looked at the files, and there is libvert and docker.img sat on the array disk 4 with a date of 6 July.... so would those be the best to rename? That would be even better if those are the oldest then they aren't being used and are just in the way of getting those you want to keep moved from cache. 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.