Files
cheatsheet-tldr/tldr/linux/qm-disk-move
2025-11-23 00:23:40 +00:00

18 lines
494 B
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# qm disk move
> Move a virtual disk from one storage to another within the same Proxmox cluster.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_disk_move>.
- Move a virtual disk:
`qm {{[di|disk]}} {{[m|move]}} {{vm_id}} {{destination}} {{index}}`
- Delete the previous copy of the virtual disk:
`qm {{[di|disk]}} {{[m|move]}} --delete {{vm_id}} {{destination}} {{index}}`