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

RolandK

Renowned Member
Mar 5, 2019
978
206
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: