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.

Upgraded from 7.1.0 to 7.1.2 and lost my virtual machines, new libvirt.img created?

Featured Replies

Hello,

I've just upgraded from 7.1.0 to 7.1.2 and lost my virtual machines, so I've attached "unraid-diagnostics-20250530-1028.zip" and did notice:

May 30 10:25:36 unraid emhttpd: shcmd (3510): /usr/local/sbin/mount_image '/mnt/user/system/libvirt/libvirt.img' /etc/libvirt 1
May 30 10:25:36 unraid root: Creating new image file: '/mnt/user/system/libvirt/libvirt.img' size: 1G

Was this file some how corrupted? Or what else could've caused this to happen?

unraid-diagnostics-20250530-1028.zip

I do still have the ".img" and ".qcow2" files, and am able to successfully start Home Assistant ( .qcow2 ), but starting of the ".img" files ( all Debian based VMs ), I'm unable to boot, getting the "UEFI Interactive Shell" in VNC, any ideas to restore those?

Edited by WackOo
Additional explanation

Solved by WackOo

  • Community Expert

Please post the full output from find /mnt -name libvirt.img

  • Author
  • Solution
40 minutes ago, JorgeB said:

Please post the full output from find /mnt -name libvirt.img

@JorgeB below the requested output, additionally with 'stat':

root@unraid:~# find /mnt -name libvirt.img
/mnt/user/system/libvirt/libvirt.img
/mnt/cache/system/libvirt/libvirt.img

root@unraid:~# stat /mnt/*/system/libvirt/libvirt.img
  File: /mnt/cache/system/libvirt/libvirt.img
  Size: 1073741824      Blocks: 2096328    IO Block: 4096   regular file
Device: 0,45    Inode: 19524763    Links: 1
Access: (0644/-rw-r--r--)  Uid: (   99/  nobody)   Gid: (  100/   users)
Access: 2025-05-30 10:25:36.365347290 +0200
Modify: 2025-05-30 11:38:18.768612381 +0200
Change: 2025-05-30 11:38:18.768612381 +0200
 Birth: 2025-05-30 10:25:36.365347290 +0200

  File: /mnt/user/system/libvirt/libvirt.img
  Size: 1073741824      Blocks: 2096328    IO Block: 4096   regular file
Device: 0,47    Inode: 58          Links: 1
Access: (0644/-rw-r--r--)  Uid: (   99/  nobody)   Gid: (  100/   users)
Access: 2025-05-30 10:25:36.365347290 +0200
Modify: 2025-05-30 11:38:18.768612381 +0200
Change: 2025-05-30 11:38:18.768612381 +0200
 Birth: -

Some how the libvirt.img got corrupted or lost ( during/in the upgrade? ) and I was able to restore my libvirt.img from my backup, so I've got it working again.


Solved by restoring libvirt.img from backup.

Edited by WackOo
Solved by restoring libvirt.img from backup.

  • Community Expert

The upgrade does not touch your files so something else caused your problem. Glad you got it working though.

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.