nexenta : volume_size_info : parse_volname
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
This commit is contained in:
committed by
Dietmar Maurer
parent
74822cd72d
commit
d2befd94be
@ -432,7 +432,9 @@ sub deactivate_volume {
|
||||
sub volume_size_info {
|
||||
my ($class, $scfg, $storeid, $volname, $timeout) = @_;
|
||||
|
||||
return nexenta_get_zvol_size($scfg, "$scfg->{pool}/$volname"),
|
||||
my ($vtype, $name, $vmid) = $class->parse_volname($volname);
|
||||
|
||||
return nexenta_get_zvol_size($scfg, "$scfg->{pool}/$name"),
|
||||
}
|
||||
|
||||
sub volume_resize {
|
||||
|
||||
Reference in New Issue
Block a user