HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

pct move-volume — Move a volume to a different storage or to a different container. More information: <https://pve.pro

Submitted by: @import:tldr-pages··
0
Viewed 0 times
volumecommandpct move-volumeclimovestoragedifferent
linux

Problem

How to use the pct move-volume command: Move a volume to a different storage or to a different container. More information: <https://pve.proxmox.com/pve-docs/pct.1.html#cli_pct_move-volume>.

Solution

pct move-volume — Move a volume to a different storage or to a different container. More information: <https://pve.proxmox.com/pve-docs/pct.1.html#cli_pct_move-volume>.

Move the root filesystem of a container to a different storage:
pct {{[mov|move-volume]}} {{100}} rootfs {{storage_id}}


Delete the filesystem association to the old volume once the move is complete:
pct {{[mov|move-volume]}} {{100}} rootfs {{storage_id}} --delete

Code Snippets

Move the root filesystem of a container to a different storage

pct {{[mov|move-volume]}} {{100}} rootfs {{storage_id}}

Delete the filesystem association to the old volume once the move is complete

pct {{[mov|move-volume]}} {{100}} rootfs {{storage_id}} --delete

Context

tldr-pages: linux/pct move-volume

Revisions (0)

No revisions yet.