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.

Lost my VM's after Cache Upgrade!

Featured Replies

Hi all,

As the subject matter mentions, I'm unable to get VM's to work anymore. 

 

I upgraded my cache disk. I followed the steps with regards to shutting down the dockers. But I completely forgot shutdown the VM services. There were NO VMS's running at the time I used the mover etc. I then installed the new cache drive and did the reverse of the previous steps... 

 

Initially I had problems getting the Dockers working, but I was able to recover those. But the VM's are still causing me issues. 

 

So I wanted to know if there's a way to get the previous VM's back, or did I screw it all up by not turning off VM manager?

 

I have linked my diagnostics, and a file search for the libvirt file. 

 

Many thanks for the help!

Mort

Capture.JPG

unraid-diagnostics-20221130-1637.zip

Solved by JorgeB

  • Community Expert

Without shutting down the VM service libvirt.img would not be moved, do you have a backup or the old cache device still untouched?

  • Author

Hey JorgeB.... 

I do. I plugged it in, and I can mount it. 

I copied it over to the /mnt/cache/system/libvirt/ & the /domains folder, but the VM manager isn't liking it!

It's not running!

Any ideas?

Thanks,

Mort

  • Community Expert

You need to copy to /domains, VM service must be disabled, after doing that post new diags after array start.

  • Author

Thanks JorgeB.

Just to make sure I don't do anything else incorrectly, I have copied over the libvirt file from the old cache disk to the /domains folder. I have removed the libvirt file from the /mnt/cache/system/libvirt folder. I think that was what you meant, correct??? 

 

Also, I haven't started the VM Service yet. Your comment above suggests that you just want the diagnostic file after I have the libvirt file in the domains folder?

 

I have also included a screen shot of my settings in the VM Manager. Can you confirm these are correct?

Thank you so much for your assistance.... it's really greatly appreciated. I honestly don't find a lot of the inner workings of UnRaid very intuitive. 

Cheers,

Mort

Capture.JPG

unraid-diagnostics-20221201-0930.zip

  • Community Expert
11 hours ago, JorgeB said:

You need to copy to /domains

The usual location for both libvirt.img and docker.img is in the system user share.

 

  

17 minutes ago, mort78 said:

a screen shot of my settings in the VM Manager

and the system user share is where your VM Manager is expecting it to be.

 

If you start VM Manager with those settings, and it doesn't find libvirt.img there, it will create a new one.

 

Your previous screenshot of the find command showed a version of libvirt.img in 3 different user shares. Don't know which you want, but your VM Manager settings say you should put it in system user share in the libvirt folder.

  • Community Expert
8 hours ago, trurl said:

The usual location for both libvirt.img and docker.img is in the system user share.

Yep, but he had if configured to:

IMAGE_FILE="/mnt/user/domains/libvirt.img"

 

So I was telling him to copy to the configured path

  • Community Expert
3 hours ago, JorgeB said:

Yep, but he had if configured to:

IMAGE_FILE="/mnt/user/domains/libvirt.img"

 

So I was telling him to copy to the configured path

He apparently changed it according to those latest diagnostics and screenshots.

  • Community Expert
  • Solution

Looks like it, @mort78 the important part is to disable the VM service and copy the file to the currently defined path.

  • Author

Thanks gents... I got it back! 

Appreciate all the help. 

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.