From 02fae308edc695c4f2544381ca4ecd4aa5070a06 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Mon, 28 Nov 2011 07:38:02 +0100 Subject: [PATCH] fix iscsi size bug --- PVE/Storage.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/Storage.pm b/PVE/Storage.pm index cb34139..304022d 100755 --- a/PVE/Storage.pm +++ b/PVE/Storage.pm @@ -916,7 +916,7 @@ sub iscsi_device_list { $res->{$target}->{$volid} = { 'format' => 'raw', - 'size' => int($size / 2), + 'size' => int($size * 512), 'vmid' => 0, # not assigned to any vm 'channel' => int($channel), 'id' => int($id), -- 2.39.2