all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH-SERIES storage/manager/container/qemu-server 0/8] fix #6819: lvm plugin: list images: use approximate size for inactive qcow2 volumes
@ 2026-05-13 13:05 Fiona Ebner
  2026-05-13 13:05 ` [PATCH storage 1/8] api: content: add missing imports and group/order according to style guide Fiona Ebner
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Fiona Ebner @ 2026-05-13 13:05 UTC (permalink / raw)
  To: pve-devel

For qcow2 volumes on LVM, the exact size can only be queried when the
LV is active. For a shared LVM, an LV might already be active on
another node, so it must not be activated. Also, doing so for each
volume would be costly. Instead, return only the approximate size when
the LV is inactive.

Adapt the list volumes API/CLI implementations as well as the UI and
volume rescan operations for guests to handle casees where the exact
size is not present, but only the new approximate size property.

storage:

Fiona Ebner (4):
  api: content: add missing imports and group/order according to style
    guide
  pvesm: add missing imports and group/order according to style guide
  api/cli: list content: declare size optional and add approximate-size
  fix #6819: lvm plugin: list images: use approximate size for inactive
    qcow2 volumes

 src/PVE/API2/Storage/Content.pm | 32 ++++++++++++++++--------
 src/PVE/CLI/pvesm.pm            | 44 ++++++++++++++++++++++++---------
 src/PVE/Storage/LVMPlugin.pm    | 33 ++++++++++++++++---------
 3 files changed, 75 insertions(+), 34 deletions(-)


manager:

Fiona Ebner (1):
  fix #6819: storage: content view: fallback to approximate size

 www/manager6/storage/ContentView.js | 16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)


container:

Fiona Ebner (2):
  volume rescan: also consider zero-sized volumes
  volume rescan: also consider volumes listed only with an approximate
    size

 src/PVE/LXC.pm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)


qemu-server:

Fiona Ebner (1):
  volume rescan: also consider volumes listed only with an approximate
    size

 src/PVE/QemuServer.pm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)


Summary over all repositories:
  6 files changed, 95 insertions(+), 41 deletions(-)

-- 
Generated by git-murpp 0.5.0




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

end of thread, other threads:[~2026-05-13 13:07 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-13 13:05 [PATCH-SERIES storage/manager/container/qemu-server 0/8] fix #6819: lvm plugin: list images: use approximate size for inactive qcow2 volumes Fiona Ebner
2026-05-13 13:05 ` [PATCH storage 1/8] api: content: add missing imports and group/order according to style guide Fiona Ebner
2026-05-13 13:05 ` [PATCH storage 2/8] pvesm: " Fiona Ebner
2026-05-13 13:05 ` [PATCH storage 3/8] api/cli: list content: declare size optional and add approximate-size Fiona Ebner
2026-05-13 13:05 ` [PATCH storage 4/8] fix #6819: lvm plugin: list images: use approximate size for inactive qcow2 volumes Fiona Ebner
2026-05-13 13:05 ` [PATCH manager 5/8] fix #6819: storage: content view: fallback to approximate size Fiona Ebner
2026-05-13 13:05 ` [PATCH container 6/8] volume rescan: also consider zero-sized volumes Fiona Ebner
2026-05-13 13:05 ` [PATCH container 7/8] volume rescan: also consider volumes listed only with an approximate size Fiona Ebner
2026-05-13 13:05 ` [PATCH qemu-server 8/8] " Fiona Ebner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal