Linux command
pct-move-volume 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Move
pct move-volume 100 rootfs storage_id
Example
pct move-volume 100 rootfs storage_id --delete
说明
pct move-volume moves a container's storage volume to a different Proxmox storage location. This is useful for migrating containers between storage backends or freeing up space on a particular storage.
参数
- vmid
- The numeric ID of the container
- volume
- The volume to move (rootfs or mpN for mount points)
- storage
- The target storage ID
- --delete
- Delete the source volume after successful move
- --target-vmid _id_
- Move volume to a different container
FAQ
What is the pct-move-volume command used for?
pct move-volume moves a container's storage volume to a different Proxmox storage location. This is useful for migrating containers between storage backends or freeing up space on a particular storage.
How do I run a basic pct-move-volume example?
Run `pct move-volume 100 rootfs storage_id` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does vmid do in pct-move-volume?
The numeric ID of the container