mirror of
git://git.proxmox.com/git/pve-storage.git
synced 2024-12-23 17:34:34 +03:00
ISCSIDirect : volume_size_info
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
This commit is contained in:
parent
3a0c324642
commit
6f714585f2
@ -182,7 +182,10 @@ sub deactivate_volume {
|
||||
sub volume_size_info {
|
||||
my ($class, $scfg, $storeid, $volname, $timeout) = @_;
|
||||
|
||||
return undef;
|
||||
my $vollist = iscsi_ls($scfg,$storeid);
|
||||
my $info = $vollist->{$storeid}->{$volname};
|
||||
|
||||
return $info->{size};
|
||||
}
|
||||
|
||||
1;
|
||||
|
Loading…
Reference in New Issue
Block a user