mirror of
https://git.bs.b-eit.de/bucde/notes.git
synced 2025-08-19 16:45:52 +02:00
Update 'qemu_migration'
@@ -26,4 +26,16 @@ file format: raw
|
|||||||
virtual size: 3.63 TiB (3991227208704 bytes)
|
virtual size: 3.63 TiB (3991227208704 bytes)
|
||||||
disk size: 1.53 TiB
|
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**
|
Reference in New Issue
Block a user