18303 shaares
1707 private links
1707 private links
Passer un disque de VM d'un Proxmox à un ESXI par exemple, on converti le disque :
qemu-img convert -pO vmdk /path/disk.raw /path/disk.vmdk
-p : avancement de la tache, utile,
-O : format de sortie du disque :
- raw : (default) the raw format is a plain binary image of the disc image, and is very portable. On filesystems that support sparse files, images in this format only use the space actually used by the data recorded in them.
- cloop : Compressed Loop format, mainly used for reading Knoppix and similar live CD image formats
- cow : copy-on-write format, supported for historical reasons only and not available to QEMU on Windows
- qcow : the old QEMU copy-on-write format, supported for historical reasons and superseded by qcow2
- qcow2 : QEMU copy-on-write format with a range of special features, including the ability to take multiple snapshots, smaller images on filesystems that don't support sparse files, optional AES encryption, and optional zlib compression
- vmdk : VMware 3 & 4, or 6 image format, for exchanging images with that product
- vdi : VirtualBox 1.1 compatible image format, for exchanging images with VirtualBox.
- vhdx : Hyper-V compatible image format, for exchanging images with Hyper-V 2012 or later.
- vpc : Hyper-V legacy image format, for exchanging images with Virtual PC / Virtual Server / Hyper-V 2008.