nexenta: skip disks whith no owner
We also do this for LVM. Else I get: > qm rescan --vmid 100 Use of uninitialized value $owner in string ne at /usr/share/perl5/PVE/Storage/NexentaPlugin.pm line 356.
This commit is contained in:
@ -112,6 +112,8 @@ sub nexenta_list_zvol {
|
||||
|
||||
if ($image =~ m/^((vm|base)-(\d+)-\S+)$/) {
|
||||
$owner = $3;
|
||||
} else {
|
||||
next;
|
||||
}
|
||||
|
||||
my $props = nexenta_get_zvol_props($scfg, $zvol);
|
||||
|
||||
Reference in New Issue
Block a user