]> git.proxmox.com Git - pve-storage.git/blobdiff - PVE/Storage/LVMPlugin.pm
lvm thin: don't assume that a thin pool and its volumes are active
[pve-storage.git] / PVE / Storage / LVMPlugin.pm
index b6c8475fb9307756121a97db2b0be2781a78aaf0..a706e0cb4d32ceaf71bff7f397adb8fcc68b0bad 100644 (file)
@@ -184,6 +184,7 @@ sub lvm_list_volumes {
 
        my $d = {
            lv_size => int($lv_size),
+           lv_state => substr($lv_attr, 4, 1),
            lv_type => $lv_type,
        };
        $d->{pool_lv} = $pool_lv if $pool_lv;