-Daedalus Posted August 1, 2019 Share Posted August 1, 2019 (edited) Basically, title. I've pretty much narrowed the hardware down to a faulty mobo, so we'll ignore that for now. Having restarted the server from a few unclean shutdowns (these construction workers don't like mentioning when they're going to shut off power...) my VMs have vanished. I understand this is most-likely a corrupted libvert.img. I've tried bouncing the VM service, and deleting and re-creating the .img. Weirdly, when I do the latter, only 1 VM shows up. To my knowledge, it doesn't have anything unique about it, but just a curiosity. Anyway, long story short: Is there any way to recover more gracefully from this, or am I going to have to manually recreate my VMs, and link them back to the existing vDisks? Bonus question: Can I backup libvert.img with VMs running without any issues? (for future) syslog and diags attached. Thanks in advance for any tips. syslog server-diagnostics-20190801-2028.zip Edited August 1, 2019 by -Daedalus Quote Link to comment
JorgeB Posted August 2, 2019 Share Posted August 2, 2019 Yes, libvirt.img is corrupt, you can and should back it up regularly, or at least when there any any changes to any XML. You can recreate and linck back the disks, though for some UEFI VMs might not be enough. Quote Link to comment
-Daedalus Posted August 2, 2019 Author Share Posted August 2, 2019 Thanks for the reply. I'll make sure to keep this backed up. Feature request: Specify backup location and frequency of .img in VM Manager. Quote Link to comment
itimpi Posted August 3, 2019 Share Posted August 3, 2019 18 hours ago, -Daedalus said: Thanks for the reply. I'll make sure to keep this backed up. Feature request: Specify backup location and frequency of .img in VM Manager. If you have CA Backup installed then that has an option to backup libvirt.img. Quote Link to comment
-Daedalus Posted August 3, 2019 Author Share Posted August 3, 2019 I knew this. I've no idea why I hadn't that included. Good shout, thanks very much! 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.