Friday, November 29, 2013

how to convert a image from raw to qcow2 format with qemu-img

Qemu-img  is a tool within kvm that allows you convert  a image  to qcow2 format. Qcow format vm-image  are needed  in  order to  create snapshot. These  quick steps will allow you create  a qcow2  image that you can  install  in a server for loading.

1st  let's review  the raw image 

2nd now you can use the qemu-img convert  option to convert the  images for later use

3rd after conversion you can review the images

Note the  virtual disk file size is has not been changed? And a quick review of the new qcow2 image will show the diskspace.

Ken Felix
Freelance Network / Security Engineer
kfelix  ----a---t---socpuppets ---d---o---t---com

     ^      ^
=(  @   @ )=
       /     \

No comments:

Post a Comment