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.

Docker & VM disappeared

Featured Replies

  • Community Expert

No clue what happened, but Docker and VM tab are now empty. Attaching log for troubleshooting. Thanks for your help!

tower-diagnostics-20220922-2314.zip

  • Community Expert

You have filled the pool disk and corrupted their img files. After you make room you will have to recreate them. docker.img is easy, do you have a backup of libvirt.img?

https://wiki.unraid.net/Manual/Docker_Management#Re-Create_the_Docker_image_file

 

Many of your array disks are very full also. Full disks don't perform as well, and if you ever need to check filesystem, repair will need some free space to work in.

  • Author
  • Community Expert

Thanks for your quick note.

 

I don't think I have a backup of the libvirt.img. That's needed for reinstalling the VMs? Any other way to recreate my VMs?

1 hour ago, steve1977 said:

 

I don't think I have a backup of the libvirt.img. That's needed for reinstalling the VMs? Any other way to recreate my VMs?

Your VM disks should still be ok, but you will need to recreate the configurations to the best of your ability and point to the existing vdisks. The libvirt.img holds the XML configuration files as well as any other customizations and settings like autostart and such.

 

How many VM's?

  • Author
  • Community Expert

Thanks. Docker indeed went smoothly. Struggling to remember how I had the VMs setup 😞

 

Started with one of the 3 VMs. Getting the following error: "VM creation error: cannot open directory '/etc/libvirt/hooks/qemu.d': input/output error.

 

Any idea what could be causing this and how to solve?

28 minutes ago, steve1977 said:

cannot open directory '/etc/libvirt/hooks/qemu.d': input/output error.

 

Any idea what could be causing this and how to solve?

Sounds like the libvirt.img is still corrupted.

  • Author
  • Community Expert

How to uncorrupt it? I deleted the docker file as suggested per the link. So, docker containers are working again. But VM remains non-corrupting. Could also be because I may have done something wrong in the VM settings though.

  • Community Expert

Delete and recreate libvirt similar to what you did with docker. 

13 hours ago, steve1977 said:

Started with one of the 3 VMs

If you can still access the XML's you can save that to a text document before you delete the libvirt.img file.

That way you can paste back the configs exactly as they were.

  • Author
  • Community Expert
1 minute ago, JonathanM said:

If you can still access the XML's you can save that to a text document before you delete the libvirt.img file.

That way you can paste back the configs exactly as they were.

Thanks. Where are the XML stored?

/etc/libvirt/qemu

or if you can still edit the VM's just switch to advanced view.

  • Author
  • Community Expert

Maybe easier to first try whether I can get the config right. Shouldn't be so difficult. Basically just need to remember the bios type / number, which I can try various options. Rest should be quite clear.

 

After deleting the libvirt file, do I need to recreate it or does this happen automatically?

35 minutes ago, steve1977 said:

After deleting the libvirt file, do I need to recreate it or does this happen automatically?

Disable the VM service in settings, delete the libvirt.img file, when you enable the VM service it should be recreated.

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.