project-pegaprox icon indicating copy to clipboard operation
project-pegaprox copied to clipboard

[Bug] QCOW2 not available for LVM storage on Proxmox VE 9

Open JanK-96 opened this issue 2 months ago • 4 comments

Describe the bug

Hello again,

since Proxmox VE 9, regular LVM storage supports both raw and qcow2 disk formats. Currently, PegaProx only allows raw for LVM storage. This seems to be caused by the static mapping in web/src/create_modals.js:

lvm: ['raw']

Because of this, disks created through PegaProx have to be converted from RAW to QCOW2 manually afterwards. Would it be possible to allow selecting QCOW2 for LVM storage when running on Proxmox VE 9 or newer, while keeping RAW-only behavior for older PVE versions?

Thanks again for your work on PegaProx!

Steps to Reproduce

  1. Tried different hosts / clusters.

Expected behavior

Would be handy to be able to choose QCOW2 for LVM storages.

Environment

  • PegaProx Version: 1.1.0
  • Behind Reverse Proxy? Traefik
  • UI? Corporate

Logs

No logs available, since you can not choose the option qcow2 in the dropdown.


Checklist

  • [x] I have searched existing issues to make sure this is not a duplicate
  • [ ] I am using the latest version of PegaProx

JanK-96 avatar Sep 07 '26 13:09 JanK-96

Hi @JanK-96 ,

if you have allow-snapshot enabled on that volume it should work also with qcow2. Also please update to the 1.1.1 .

MrMasterbay avatar Sep 07 '26 15:09 MrMasterbay

Hey there, we just updated to 1.1.1. Also we do have the allow snapshot enabled and we still just can use 'RAW'

Image Image

JanK-96 avatar Sep 08 '26 06:09 JanK-96

Ah — that one is on us, not on PVE. The dropdown gets its options from a format-per-storage table in the frontend, and there are two of them: the disk edit dialog already knows PVE 9 does qcow2 on LVM, but the create wizard still has lvm/lvmthin pinned to raw only. So no amount of allow-snapshot on the volume will make qcow2 appear there — the list never offers it.

Thanks for coming back with the screenshots, that is what pinned it down. Getting the wizard table lined up with the other one.

If PegaProx is useful to you: https://opencollective.com/pegaprox

Marcus

mkellermann97 avatar Sep 08 '26 07:09 mkellermann97

Shipped in 1.2.0 — qcow2 is offered on LVM storage now.

Marcus

ps. the project runs on sponsorships, so if it's useful to you: https://opencollective.com/pegaprox

mkellermann97 avatar Sep 21 '26 07:09 mkellermann97