Hello all,
I've got a VM running on LVM storage. The storage is /dev/vmstorage/vm-102-disk-0. I want to convert this to vmdk for import to an ESXi 7.0U1 host. What/which commands can I use to get this done as fast as possible?
The VM is down, so there is no issue copying storage to vmdk. Searching around I've found a solution involving two steps: first use dd to copy the image to a raw file and then use qemu-img to convert it to vmdk (not sure about the options to use in the latter case).
Is there a single command that can accomplish both steps above?
TIA!
I've got a VM running on LVM storage. The storage is /dev/vmstorage/vm-102-disk-0. I want to convert this to vmdk for import to an ESXi 7.0U1 host. What/which commands can I use to get this done as fast as possible?
The VM is down, so there is no issue copying storage to vmdk. Searching around I've found a solution involving two steps: first use dd to copy the image to a raw file and then use qemu-img to convert it to vmdk (not sure about the options to use in the latter case).
Is there a single command that can accomplish both steps above?
TIA!