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.

[7.1.2] Upon reboot, both docker containers and virtual machines are gone. Corrupt flash drive?

Featured Replies

  • Community Expert

My house lost power earlier, and despite being plugged into a line interactive UPS and performing a clean shutdown, upon reboot, both docker containers and VM's are gone. The boot drive, cache drives, and array appear to have mounted correctly. Since both docker and VM's are gone, I am thinking corruption to boot drive as opposed to corrupted docker image. Not sure where to go from here, appreciate the help. Attached diagnostics.

corsermoon_diags.zip

Solved by JorgeB

  • Community Expert

Both the Docker and libvirt images are very recent, but they were not created this boot.

Pool is also showing issues; scrub it and pot the results from the GUI.

Also post the output from:

find /mnt -name libvirt.img

  • Author
  • Community Expert
5 hours ago, JorgeB said:

Both the Docker and libvirt images are very recent, but they were not created this boot.

Pool is also showing issues; scrub it and pot the results from the GUI.

Also post the output from:

find /mnt -name libvirt.img

image.png

image.png

The copy at /mnt/user/internal_backups/libviry_backup is a couple years old. I was going to create a backup routine but clearly I didn't follow through.

I did the same search for docker.img :

image.png

  • Community Expert
  • Solution

There's only one image, so assuming all devices are mounting, it's gone or overwritten. If you don't have a recent backup, you can try recreating the VMs with the same config and pointing to the existing vdisks, but you should keep a recent backup of that.

For Docker, assuming appdata is all there, you can just recreate the image:

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

  • Author
  • Community Expert
6 minutes ago, JorgeB said:

There's only one image, so assuming all devices are mounting, it's gone or overwritten. If you don't have a recent backup, you can try recreating the VMs with the same config and pointing to the existing vdisks, but you should keep a recent backup of that.

For Docker, assuming appdata is all there, you can just recreate the image:

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

Yea, I've already started reinstalling apps (I shouldn't need to re-create the docker.img though since it's already there?). I am just baffled that both docker and VM images vanished after a clean shutdown/reboot.

What are the issues that you saw with the pool? I'd like to fix anything I can.

Edited by CorserMoon

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.