Jump to content

ZFS Pool Unmountable After USB Recovery


ajs
Go to solution Solved by JorgeB,

Recommended Posts

Posted

Hey Unraid Community.

 

My Unraid auto-shutdown when my UPS had about 10 minutes of battery left during a power outage, as configured. However, when I powered it back on, the USB got corrupted and it wouldn't boot.

 

I tried to do some data recovery on the USB, but at the end of the day I had an 8 month old back up of the Flash USB and just formatted the same USB key (another on order), got Unraid back on it, copied /config and booted back into Unraid.

 

However, at least one of two cache (tier1-cache) did not come back up and gives the error: "Unmountable: Unsupported or no file system"

 

The backup is several months old, Nov 2023 and I am unsure if potential changes between then and now is causing the problem with the caches.

 

When the array is offline, I can see the two NVMEs, however the only option Unraid is currently giving me is to format. As these were front-end cache for AppData and Domains, I'd prefer not. Most of the data is backed up offline if I really need to recover.

Here are some screenshots, home

image.thumb.png.570aa02386755b869c1a6d3fbde7fa1b.png

 

image.thumb.png.2335aee2f895bdd81ee02b62ac0eb09f.png

 

 

image.thumb.png.7aef9c0527658b0a31942a0ea5a36f51.png

 

 

image.png

Posted

Good Morning, here is the output from "zpool import".

 

image.png.a9d55c6398babe00073cae8f7172e3fa.png

 

Looks like I have the pool name wrong. This is likely from the backup being older and missing the current configuration.

 

What would you suggest is the corrective?

 

(I will open a new thread on the UPS "graceful" auto-shutdown nuked my USB)

  • Solution
Posted

Try re-importing the pool and it should mount, stop the array, unassign both pool devices from the tier1 pool, start array, stop array, re-assign both devices and start array, the pool should import, if it doesn't post new diags.

Posted

Thank you @JorgeB That brought the pool back with data.

 

Last question. VMs came online but Docker says there are no containers. Is this just a matter of me recreating each container and pointing it back to its AppData folder?

Posted

As long as you have the appdata share and the user-template folder on the flash drive, you can just recreate the image and add them from previous apps:

 

https://docs.unraid.net/unraid-os/manual/docker-management/#re-create-the-docker-image-file
Then:
https://docs.unraid.net/unraid-os/manual/docker-management/#re-installing-docker-applications
Also see below if you have any custom docker networks:
https://docs.unraid.net/unraid-os/manual/docker-management/#docker-custom-networks

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