--- /usr/sbin/megaclisas-status	2007-12-11 17:04:22.000000000 +0100
+++ /tmp/megaclisas-status	2009-05-13 14:16:44.817631793 +0200
@@ -52,8 +52,12 @@
         if re.match(r'^RAID Level:.*$',line.strip()):
             type = 'RAID'+line.strip().split(':')[1].split(',')[0].split('-')[1].strip()
         if re.match(r'^Size:.*$',line.strip()):
-            size = line.strip().split(':')[1].strip('MB').strip()
-	    size = str(int(round((float(size) / 1000))))+'G'
+            if re.match(r'^.*MB$',line.strip().split(':')[1]):
+                size = line.strip().split(':')[1].strip('MB').strip()
+                size = str(int(round((float(size) / 1000))))+'G'
+            else:
+                size = line.strip().split(':')[1].strip('GB').strip()
+                size = str(int(round((float(size)))))+'G'
         if re.match(r'^State:.*$',line.strip()):
             state = line.strip().split(':')[1].strip()
         if re.match(r'^Ongoing Progresses:.*$',line.strip()):

