diff --git a/Ceph/Script/cephUsage.pl b/Ceph/Script/cephUsage.pl
index fc49b9f6008ff7e481bd68951643aa3241950b99..0a22df1ee47ee42aed166f3513a50d640ad3e8d2 100755
--- a/Ceph/Script/cephUsage.pl
+++ b/Ceph/Script/cephUsage.pl
@@ -30,6 +30,7 @@ sub convertNumber
     my $value = 0.;
     if ($toWhat eq 'size') {
 	# return unit: T
+	$string =~ s/iB$//;
 	$value = $string;
 	my $lastChar = lc(chop($string));
 	if ($lastChar eq "p") {
diff --git a/Ceph/Script/queryCephDisks.pl b/Ceph/Script/queryCephDisks.pl
index 4e208ec452c9f1561c230a31694030bba13caecc..5f24472267175ee44c70fbcf826961fddeb158dd 100755
--- a/Ceph/Script/queryCephDisks.pl
+++ b/Ceph/Script/queryCephDisks.pl
@@ -196,6 +196,7 @@ foreach my $_line (@_data)
     my $type = $fields[1];
     my $frac = $fields[7];
     my $size = $fields[4];
+    $size =~ s/iB$//;
     my $sizeLastChar = lc(chop($size));
     if ($sizeLastChar eq "t") {
 	$size = $size * 1000.;