mirror of
https://github.com/webmin/webmin.git
synced 2026-05-04 22:30:33 +01:00
Record snapshot size
This commit is contained in:
@@ -315,6 +315,9 @@ else {
|
||||
elsif (/Current\s+LE\s+(\d+)/ && $vg) {
|
||||
$lv->{'size'} = $1 * $vg->{'pe_size'};
|
||||
}
|
||||
elsif (/COW-table\s+LE\s+(\d+)/ && $vg) {
|
||||
$lv->{'cow_size'} = $1 * $vg->{'pe_size'};
|
||||
}
|
||||
elsif (/LV\s+Write\s+Access\s+(\S+)/i) {
|
||||
$lv->{'perm'} = $1 eq 'read/write' ? 'rw' : 'r';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user