pct-move_volume
Alternative form of pct move-volume that moves container volumes
TLDR
Move a container volume to a different storage
$ pct move_volume [100] [rootfs] [local-lvm]
Move a volume to a different container$ pct move_volume [100] [mp0] --target-vmid [200] --target-volume [mp1]
Move and delete the original volume after copy$ pct move_volume [100] [mp0] [local-zfs] --delete 1
Move with I/O bandwidth limit$ pct move_volume [100] [rootfs] [local-lvm] --bwlimit [10240]
SYNOPSIS
pct move_volume vmid volume [storage] [options]
DESCRIPTION
pct move_volume is an alternative form of pct move-volume that moves container volumes to different storage backends in Proxmox VE. The underscore variant is provided for compatibility. It can move volumes between storages within the same container or to a different container entirely.
PARAMETERS
vmid
Container ID (100-999999999).volume
Volume to move (rootfs, mp0-mp255, or unused0-unused255).storage
Target storage identifier.--bwlimit number
Override I/O bandwidth limit in KiB/s (default: from datacenter or storage config).--delete boolean
Delete the original volume after successful copy. By default the original is kept as an unused volume entry (default: 0).--digest string
Prevent changes if the current configuration file has a different SHA1 digest.--target-digest string
Prevent changes if the target container configuration file has a different SHA1 digest.--target-vmid vmid
Target container ID (for moving a volume to a different container).--target-volume volume
Target volume key (defaults to the source volume key).
SEE ALSO
pct(1), pct-move-volume(1), pvesm(1)
