mort78 Posted November 30, 2022 Share Posted November 30, 2022 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 unraid-diagnostics-20221130-1637.zip Quote Link to comment
JorgeB Posted November 30, 2022 Share Posted November 30, 2022 Without shutting down the VM service libvirt.img would not be moved, do you have a backup or the old cache device still untouched? Quote Link to comment
mort78 Posted November 30, 2022 Author Share Posted November 30, 2022 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 Quote Link to comment
JorgeB Posted November 30, 2022 Share Posted November 30, 2022 You need to copy to /domains, VM service must be disabled, after doing that post new diags after array start. Quote Link to comment
mort78 Posted December 1, 2022 Author Share Posted December 1, 2022 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 unraid-diagnostics-20221201-0930.zip Quote Link to comment
trurl Posted December 1, 2022 Share Posted December 1, 2022 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. Quote Link to comment
JorgeB Posted December 1, 2022 Share Posted December 1, 2022 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 Quote Link to comment
trurl Posted December 1, 2022 Share Posted December 1, 2022 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. Quote Link to comment
Solution JorgeB Posted December 1, 2022 Solution Share Posted December 1, 2022 Looks like it, @mort78 the important part is to disable the VM service and copy the file to the currently defined path. Quote Link to comment
mort78 Posted December 2, 2022 Author Share Posted December 2, 2022 Thanks gents... I got it back! Appreciate all the help. 1 Quote Link to comment
Recommended Posts
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.