MODOP – Conversion de machine Virtuelle avec QEMU-IMG

1°) Conversion des fichiers RAW

Conversion Raw image to Qcow2

# qemu-img convert -f raw image.raw -O qcow2 image.qcow2

Conversion Raw image to VDI

# qemu-img convert -f raw image.raw -O vdi image.vdi

Conversion Raw image to VMDK

# qemu-img convert -f raw image.raw -O vmdk image.vmdk

Conversion Raw image to VHD

# qemu-img convert -f raw image.raw -O vpc image.vhd

2°) Conversion des fichiers Qcow2

Conversion Qcow2 image to RAW

# qemu-img convert -f qcow2 image.qcow2 -O raw image.raw

Conversion Qcow2 image to VDI

# qemu-img convert -f qcow2 image.qcow2 -O vdi image.vdi

Conversion Qcow2 image to VMDK

# qemu-img convert -f qcow2 image.qcow2 -O vmdk image.vmdk

Conversion Qcow2 image to VHD

# qemu-img convert -f qcow2 image.qcow2 -O vpc image.vhd

3°) Conversion des fichiers VDI

Conversion VDI image to RAW

# qemu-img convert -f vdi image.vdi -O raw image.raw

Conversion VDI image to Qcow2

# qemu-img convert -f vdi image.vdi -O qcow2 image.qcow2

Conversion VD » I image to VMDK

# qemu-img convert -f vdi image.vdi -O vmdk image.vmdk

Conversion VDI image to VHD

# qemu-img convert -f vdi image.vdi -O vpc image.vhd

4°) Conversion des fichiers VMDK

Conversion VMDK image to RAW

# qemu-img convert -f vmdk image.vmdk -O raw image.raw

Conversion VMDK image to Qcow2

# qemu-img convert -f vmdk image.vmdk -O qcow2 image.qcow2

Conversion VMDK image to VDI

# qemu-img convert -f vmdk image.vmdk -O vdi image.vdi

Conversion VMDK image to VHD

# qemu-img convert -f vmdk image.vmdk -O vpc image.vhd

5°) Conversion des fichiers VHD

Conversion VHD image to RAW

# qemu-img convert -f vpc image.vhd -O raw image.raw

Conversion VHD image to Qcow2

# qemu-img convert -f vpc image.vhd -O qcow2 image.qcow2

Conversion VHD image to VDI

# qemu-img convert -f vhd image.vhd -O vdi image.vdi

Conversion VHD image to VMDK

# qemu-img convert -f vpc image.vhd -O vmdk image.vmdk

Views: 31

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *