public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH-SERIES qemu-server 0/2] partially fix #7554: avoid incorrectly offline migrating qcow2 on LVM as raw
@ 2026-06-01 14:55 Fiona Ebner
  2026-06-01 14:55 ` [PATCH qemu-server 1/2] migration: local volume: abort early when size or format cannot be determined Fiona Ebner
  2026-06-01 14:55 ` [PATCH qemu-server 2/2] migration: local volume: activate for querying the size (required for qcow2 on LVM) Fiona Ebner
  0 siblings, 2 replies; 3+ messages in thread
From: Fiona Ebner @ 2026-06-01 14:55 UTC (permalink / raw)
  To: pve-devel

Because volumes were not activated early for offline migration,
getting the size and as a consequence the format would not work for
qcow2 on LVM. But migration also continued and not having the format
would lead to the 'with-snapshots' parameter not being set, despite
the format being qcow2 and so the migration would wrongly continue
with raw+size as the stream format. If 'with-snapshots' were set, the
plugin would correctly report that there is no possible transfer
format (the same restriction is present in file-based storages with
snapshot-as-volume-chain).

Fix the issue by activating the volumes early, as well as failing when
the size and format cannot be determined as an additional guardrail.

What could still be implemented is migrating as qcow2+size when there
actually are no snapshots.

qemu-server:

Fiona Ebner (2):
  migration: local volume: abort early when size or format cannot be
    determined
  migration: local volume: activate for querying the size (required for
    qcow2 on LVM)

 src/PVE/QemuMigrate.pm | 6 ++++++
 1 file changed, 6 insertions(+)


Summary over all repositories:
  1 files changed, 6 insertions(+), 0 deletions(-)

-- 
Generated by git-murpp 0.5.0




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-06-01 14:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-01 14:55 [PATCH-SERIES qemu-server 0/2] partially fix #7554: avoid incorrectly offline migrating qcow2 on LVM as raw Fiona Ebner
2026-06-01 14:55 ` [PATCH qemu-server 1/2] migration: local volume: abort early when size or format cannot be determined Fiona Ebner
2026-06-01 14:55 ` [PATCH qemu-server 2/2] migration: local volume: activate for querying the size (required for qcow2 on LVM) Fiona Ebner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal