Update 'qemu_migration'

bucde
2022-10-21 08:13:41 +00:00
parent e0a7a5c6a9
commit 7cb1ade216

@ -26,4 +26,16 @@ file format: raw
virtual size: 3.63 TiB (3991227208704 bytes)
disk size: 1.53 TiB
```
With the *virtual size* in **bytes** (here 3991227208704) you have to create a new ZVOL as described [here](/wiki/zfs#create-zvol).
With the *virtual size* in **bytes** (here 3991227208704) you have to create a new **ZVOL** as described [here](/wiki/zfs#create-zvol).
:red_circle: **TODO: add information about naming of ZVOLs and VM naming information**
Now the **.vmdk** file must be migrated to the created **ZVOL** with `qemu-img convert -p -f vmdk -O raw <PATH_TO_VMDK_FILE> <PATH_TO_ZVOL>`.
* `-p` display a progress bar
* `-f vmdk` set the input image format to **vmdk**
* `-O raw` set the output image format to **raw**
* `<PATH_TO_VMDK_FILE>` path to the input **vmdk** file
* `<PATH_TO_ZVOL>` path to the output **ZVOL** (`/dev/zvol/<POOLNAME>/<ZVOLNAME>`)
:red_circle: **TODO: add information about choosing the right .vmdk files**