Linux command
pct-move_volume 命令
趣味
复制后可按需替换文件名、目录或参数。
常用示例
Move a container volume
pct move_volume [100] [rootfs] [local-lvm]
Move a volume
pct move_volume [100] [mp0] --target-vmid [200] --target-volume [mp1]
Move and delete
pct move_volume [100] [mp0] [local-zfs] --delete 1
Move with I/O
pct move_volume [100] [rootfs] [local-lvm] --bwlimit [10240]
说明
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.
参数
- --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).
FAQ
What is the pct-move_volume command used for?
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.
How do I run a basic pct-move_volume example?
Run `pct move_volume [100] [rootfs] [local-lvm]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --bwlimit _number_ do in pct-move_volume?
Override I/O bandwidth limit in KiB/s (default: from datacenter or storage config).