Post

Proxmox CLI "disk qm"

Proxmox CLI "disk qm"

Proxmox qm Disk Commands

📦 Import an External Disk Image as an Unused Disk in a VM

To import an external disk image as an unused disk in a VM. Note: The image format must be supported by qemu-img.

1
qm disk import <vmid> <source> <storage>

🧳 Move Volume to Different Storage or to a Different VM To move a volume to different storage or VM.

1
qm disk move <vmid> <disk> [<storage>] [OPTIONS]

🔄 Rescan All Storages and Update Disk Sizes and Unused Disk Images

1
qm disk rescan [OPTIONS]

⏩ Extend Volume Size

1
qm disk resize <vmid> <disk> <size> [OPTIONS]

❌ Unlink/Delete Disk Images

1
qm disk unlink <vmid> --idlist <string> [OPTIONS]

🔄 Rescan Volumes

1
qm rescan
This post is licensed under CC BY 4.0 by the author.