Creating a disk from cli with qm set

Dec 12, 2019
I am creating a disk from the cli using this syntax:

qm set 100 -scsi1 mystorage:50

This creates a disk in raw format. Is there a way to create it as a qcow2?

Looked at the doc and found a -format flag for some of the qm commands, but not for qm set.


The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!