]> git.proxmox.com Git - pve-storage.git/commit - PVE/Storage/LVMPlugin.pm
lvm: Fix #3159: Show RAID LVs as storage content
authorDominic Jäger <d.jaeger@proxmox.com>
Wed, 13 Jan 2021 12:19:54 +0000 (13:19 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 26 Jan 2021 18:19:02 +0000 (19:19 +0100)
commitd854a71803deeca5b4650b6efe23f99d90f19064
tree800afd3091c3d18f3faf856004eeda942d8c2870
parent89b9ac961a0427cf5a886ddedbb35f3af65d1cae
lvm: Fix #3159: Show RAID LVs as storage content

LVM RAID logical volumes (including mirrors) can be valid disk images, so they
should show up in storage content listings (for example pvesm list).

Including LV types is safer than excluding, especially because of possible
additional types in the future.

Co-developed-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Signed-off-by: Dominic Jäger <d.jaeger@proxmox.com>
PVE/Storage/LVMPlugin.pm