Restore KVM

jay89

Member
Oct 26, 2012
13
0
21
Hi all,

I have a server where the hard drive failed, I have managed to get the data files from the failed hard drive in the .raw and .qcow2 format. Can someone tell me a way of creating an KVM VM with the data loaded from the .raw/qcow2 images.

Thanks
 
try 'qemu-img info vmxxx-disk-1.qcow2' on your existing file, then create a vm with a disk of the same size and replace it with your existing file;

the nic you will possibly see the installed driver inside your vm, cpu might be default and the other parameters like memory... you maybe remember or check how much the vm needs based on it's role;