Deleted libvirt.img. Cant start VM service. How to recreate libvirt.img? By


Recommended Posts

I have merged your threads.

2 minutes ago, johnnie.black said:

Please don't crosspost, see your other thread.

Crossposting has been considered a bad thing on message boards since long before the world wide web.

 

How are we supposed to coordinate our responses when you do this?

Link to comment
  • 5 months later...

I also deleted my libvirt.img file accidentally

I was able to recreate it but VMs section no longer seens my domain that I have created, although I can verify that the domains folders exist

 

can someone help me reimport them so I can boot the VMs?

 

Quote

root@i5unRAID:~# ls -alrt /mnt/user/system/libvirt/
total 1048576
drwxrwxrwx 1 nobody users         35 Aug  6 23:43 ../
drwxrwxrwx 1 nobody users         25 Aug 23 12:15 ./
-rw-rw-rw- 1 nobody users 1073741824 Aug 23 12:16 libvirt.img

 

Quote

root@i5unRAID:~# ls -alrt /mnt/user/domains/
total 0
drwxrwxrwx 1 nobody users 24 Aug 21 01:51 Windows\ 10/
drwxrwxrwx 1 nobody users 42 Aug 21 01:55 ./
drwxrwxrwx 1 nobody users 24 Aug 21 01:55 Confluence/
drwxrwxrwx 1 nobody users 90 Aug 23 11:50 ../

 

 

 

Image 325.png

Image 326.png

Edited by 905jay
added screenshot and quoted fs dir listings
Link to comment

I actually just fixed it

 

so what I did is go through the motions of creating another Windows10 VM

BUT instead of making a new vDisk I simply selected manual, and pointed to the already existing vdisk that I created before I bunged everything up.

 

Windows10 VM booted as if nothing happened

 

1329598291_image(5).thumb.png.2e02ad241f1dbccdb133bf4b25bf723b.png

  • Like 3
Link to comment
  • 11 months later...
  • 2 years later...
On 8/23/2019 at 11:36 AM, JorgeB said:

If you don't have a libvirt.img backup, and you should, you'll need to recreate the XMLs for all VMs, using the same config and pointing to the existing vdisks, uefi booting VMs might also require this.

Hi @JorgeB how do I restore if I do have a backup from CA Backup. I don't see a restore option for VM's, only for appdata within that plugin.

 

Is it just a copy and paste the backup file to the actual location? 

Edited by abhi.ko
Link to comment

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.