storage "format" param in /etc/pve/storage.cfg

RolandK

Renowned Member
Mar 5, 2019
955
190
88
51
hello, there is some format param described at

https://pve.proxmox.com/wiki/Storage

format
Default image format (raw|qcow2|vmdk)

which also can be set with command

pvesm set <SR> --format <format>

which storage actions should this format param apply to, when being set ?

i would expect that for example when i do

qm disk move ....

of a virtual disk to the appropriate target storage, that the disk automatically gets converted to the format being set, but apparently this does not seem to happen.

is this a bug ?
 
Last edited:
From which source storage do you want to move to which target storage? Some storages do support multiple formats, so it doesn't always have to be applicable unless you explicitly select it.
 
i have explicitly set "format qcow2" for the datastore because i want nothing but qcow2 on that - but the disk is still raw after "qm disk move..."

so i wonder, what's the purpose of this param or where does it apply (and where not)

i guess my expectation is wrong that it applies to "qm disk move", but i'm curious to which commands/actions it does apply at all, because there is no mention.
 
Last edited:

About

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!