Hey folks,
I understand we currently need qcow2 format disks to avail of the new snapshot-as-volume-chain feature. I wanted to check if this is a hard requirement or a limitation of the current implementation? From reading the description of how the snapshots operate, it sounds like in principle, a qcow2 overlay stored on a thick LV could use a raw LV as it's backing disk. As I understand, QEMU should be able to handle qcow2 overlays on raw backing images.
I created a VM with disk stored as a raw image on a thick LV, but the snapshot option is greyed out. Snapshots are enabled in the backing datastore config (snapshot-as-volume-chain 1).
Did some digging after attempting to create a snapshot with the CLI and I suspect a check in /usr/share/perl5/PVE/Storage/LVMPlugin.pm may be preventing the snapshot operation from being attempted if the backing disk type is raw.
Is there a design reason raw backed volume chains are not supported, or is this something that could potentially be enabled in the future?
Cheers
I understand we currently need qcow2 format disks to avail of the new snapshot-as-volume-chain feature. I wanted to check if this is a hard requirement or a limitation of the current implementation? From reading the description of how the snapshots operate, it sounds like in principle, a qcow2 overlay stored on a thick LV could use a raw LV as it's backing disk. As I understand, QEMU should be able to handle qcow2 overlays on raw backing images.
I created a VM with disk stored as a raw image on a thick LV, but the snapshot option is greyed out. Snapshots are enabled in the backing datastore config (snapshot-as-volume-chain 1).
Did some digging after attempting to create a snapshot with the CLI and I suspect a check in /usr/share/perl5/PVE/Storage/LVMPlugin.pm may be preventing the snapshot operation from being attempted if the backing disk type is raw.
Is there a design reason raw backed volume chains are not supported, or is this something that could potentially be enabled in the future?
Cheers