qm move_disk <vmid> <disk> <storage> [OPTIONS]
Move volume to different storage.
<vmid>: <integer> (1 - N)
The (unique) ID of the VM.
<disk>: <efidisk0 | ide0 | ide1 | ide2 | ide3 | sata0 | sata1 | sata2 | sata3 | sata4 | sata5 | scsi0 | scsi1 | scsi10 | scsi11 |
scsi12 | scsi13 | scsi2 | scsi3 | scsi4 | scsi5 | scsi6 | scsi7 | scsi8 | scsi9 | virtio0 | virtio1 | virtio10 | virtio11 |
virtio12 | virtio13 | virtio14 | virtio15 | virtio2 | virtio3 | virtio4 | virtio5 | virtio6 | virtio7 | virtio8 | virtio9>
The disk you want to move.
<storage>: <string>
Target storage.
-delete <boolean> (default = 0)
Delete the original disk after successful copy. By default the original disk is kept as unused disk.
-digest <string>
Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.
-format <qcow2 | raw | vmdk>
Target Format.