Bosshappy Posted February 11, 2023 Share Posted February 11, 2023 My SSD drive crashed which was my cache drive. I restored apps via "Previous Apps" but none of the configurations are restored. The Appdata is gone. Any help is appreciated. Attached is the diagnostic file. hightower-diagnostics-20230211-0832.zip Quote Link to comment
JorgeB Posted February 12, 2023 Share Posted February 12, 2023 Reboot and post new diags after array start. Quote Link to comment
Bosshappy Posted February 12, 2023 Author Share Posted February 12, 2023 New diagnostics attached. Thanks. hightower-diagnostics-20230212-1012.zip Quote Link to comment
JorgeB Posted February 12, 2023 Share Posted February 12, 2023 Cache is mounting, if you restored the appdata just need to recreate the docker image. Quote Link to comment
Bosshappy Posted February 12, 2023 Author Share Posted February 12, 2023 Yeah, that's the problem. There is no app data to restore. Quote Link to comment
itimpi Posted February 12, 2023 Share Posted February 12, 2023 1 hour ago, Bosshappy said: Yeah, that's the problem. There is no app data to restore. If you have not been backing up appdata elsewhere (typically onto the main array) and it was on the pool (as is the preferred solution for performance reasons) then it will have been lost when you lost the cache drive. Typically one would install the CA Backup plug-in to automate regular backups of appdata to another location. That would mean, therefore, that each container is starting again from its initial state. Quote Link to comment
JorgeB Posted February 13, 2023 Share Posted February 13, 2023 17 hours ago, Bosshappy said: There is no app data to restore. Sorry, I misread you post as it wasn't working after restoring appdata, if there's no backup you'll need to re-create the containers. Quote Link to comment
Bosshappy Posted February 13, 2023 Author Share Posted February 13, 2023 Yeah, that's what I deduced. As far as I can tell, when I upgraded to V2 of the CA backup, either I forgot to update the settings or the upgrade did not copy the settings. Either way, a lesson has been learned. I'm embarrassed to admit it but I fully don't understand how the cache drive works. I assume I am to configure the V2 CA backup against /mnt/cache/appdata? Originally, I think it was against /mnt/user/appdata. Should I be configuring the docker apps to store in /mnt/cache/appdata? I had them configured to /mnt/user/appdata. Overall, my assumption was the cache drive would move data in and out as needed, thus I shouldn't set configurations directly against it. Quote Link to comment
Solution trurl Posted February 13, 2023 Solution Share Posted February 13, 2023 cache is part of user shares. Your appdata share is configured to cache:prefer, so it will prefer to keep the files there, which is the default and best place for it, but it needs to be backed up. /mnt/cache/appdata is that portion of appdata that is on the pool named 'cache'. In your case that is all of appdata currently. /mnt/user/appdata is all of the appdata share, including any appdata that might be on the array or other pools. If the cache pool ever gets less than Minimum Free, appdata could overflow to the array since it is prefer instead of only. But since you have no Minimum Free set for cache, it will never overflow, so if it fills up, writes to it will fail. Often btrfs seems to corrupt when it gets too full, so this may be the cause of your original problem. /mnt/user/appdata covers more situations, /mnt/cache/appdata might be more efficient but doesn't cover as many situations. Quote Link to comment
Bosshappy Posted February 13, 2023 Author Share Posted February 13, 2023 Thanks 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.