Jump to content
Sign in to follow this  
-Daedalus

Server crashed (hw issue), VMs gone

5 posts in this topic Last Reply

Recommended Posts

Posted (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 by -Daedalus

Share this post


Link to post

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.

Share this post


Link to post

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. :P

Share this post


Link to post
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. :P

If you have CA Backup installed then that has an option to backup libvirt.img.

Share this post


Link to post

I knew this. I've no idea why I hadn't that included. Good shout, thanks very much!

Share this post


Link to post

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this