Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Added 2nd Cache SSD - Appdata Missing

Featured Replies

I added a second Cache drive and did NOT back up my current appdata (I am aware I am an idiot for not doing this).  After a Reboot (to 6.11.5) my docker list was empty and the appdata is also empty.  Restoring previous containers does nothing to help since the config files are missing.

 

AppData share is set to prefer: cache.

 

Am I f'ed and have to start from scratch or can I get my appdata back?

 

Solved by JorgeB

4 minutes ago, technologiq said:

I added a second Cache drive and did NOT back up my current appdata (I am aware I am an idiot for not doing this).  After a Reboot (to 6.11.5) my docker list was empty and the appdata is also empty.  Restoring previous containers does nothing to help since the config files are missing.

 

AppData share is set to prefer: cache.

 

Am I f'ed and have to start from scratch or can I get my appdata back?

Please attach your diagnostics to your next post, preferably before any reboot.

  • Community Expert

Cannot see what exactly happened since the diags are after rebooting but no btrfs filesystem is being detected on either cache device, try this in case one or both were wiped:

 

btrfs-select-super -s 1 /dev/sdX1

 

Do it for both devices, replace X with correct letter, if the command is successful for one or both reboot and post new diags.

  • Author

root@Vault:/dev# btrfs-select-super -s 1 /dev/sdo
No valid Btrfs found on /dev/sdo
ERROR: open ctree failed


root@Vault:/dev# btrfs-select-super -s 1 /dev/sdk
No valid Btrfs found on /dev/sdk
ERROR: open ctree failed

 

Tried with array started and stopped with the same results.
 

  • Community Expert

Your are missing the 1 in the end: /dev/sdX1

  • Author

Thanks @JorgeB, I tried it again with the correct command and had the same results :(

 


root@Vault:/dev# btrfs-select-super -s 1 /dev/sdk1
No valid Btrfs found on /dev/sdk1
ERROR: open ctree failed

 

root@Vault:/dev# btrfs-select-super -s 1 /dev/sdo1
No valid Btrfs found on /dev/sdo1
ERROR: open ctree failed

  • Author

I *do* have a couple backups of Appdata that was made using the CA Appdata Plugin.

 

At this point would it just make more sense form me to get my cache pool mounted & formatted as new and then perform a restore?

Edited by technologiq

  • Community Expert
  • Solution

That suggests they were never btrfs or they were completely wiped with a trim command or similar, you'll need to restore the data from backups.

I had the same issue on my second server. I've added a new disk and moved the one with the appdata as a cache drive. All of sudden, all my adguard settings were vanished. Fortunately this is a rather new server with only a few dockers, so I just reconfigured everything again.

  • Author

Going to wrap this post up.

 

Ultimately I got in this mess because I didn't know what I was doing adding the 2nd cache drive. After watching @SpaceInvaderOnes Youtube video on the subject I had a much better understanding.

 

Fortunately for me I had the CA Appdata Backup/Restore plugin installed which had 3 recent weekly backups.  All I had to do was re-set-up my cache and then restore the appdata folder do it.  Once I did that, it was just a matter of reinstalling my previous dockers and I was good to go.

 

This also forced me to re-evaluate my cache setup as well as wrapping my head around cache pools and the prefer/yes/no. I ended up creating new multiple cache pools and now my unraid is running faster than ever and all my data is properly protected.

 

Thank you @JorgeB for your help!

Edited by technologiq

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.