Used and Free Capacity of Disk

59 views
Skip to first unread message

Manikandan Chellamuthu

unread,
Mar 2, 2014, 11:35:10 PM3/2/14
to smi-s-devel...@googlegroups.com
Hi All,

How to calculate the disk used and free space information using SMI-S .

For HP MSA P2000 i have queried HP_DiskExtent , which has only the following properties regarding storage information.

instance of HP_DiskExtent 
{  
  BlockSize = 512;  
  ConsumableBlocks = 1172123568;  
  NumberOfBlocks = 1172123568;  
};

Thanks,
Manikandan C

Hu Min G

unread,
Mar 4, 2014, 10:10:48 AM3/4/14
to smi-s-devel...@googlegroups.com, Manikandan Chellamuthu
NumberOfBlocks * BlockSize / 1024 /1024 (unit: MBytes)
-- 
Hu Min G
Sent with Airmail
--
You received this message because you are subscribed to the Google Groups "SMI-S Developers Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to smi-s-developers-...@googlegroups.com.
To post to this group, send email to smi-s-devel...@googlegroups.com.
Visit this group at http://groups.google.com/group/smi-s-developers-group.
For more options, visit https://groups.google.com/groups/opt_out.

Manikandan Chellamuthu

unread,
Mar 6, 2014, 1:02:59 AM3/6/14
to smi-s-devel...@googlegroups.com
Hi Humin,

Thanks for your response.

The formula coverts the blocks to the Megabytes , but how do i fetch the used capacity and free capacity , since HP_DiskExtent has no property related to it.

Thanks
Manikandan C

minispr...@gmail.com

unread,
Mar 6, 2014, 10:32:36 AM3/6/14
to smi-s-devel...@googlegroups.com
As my understanding, used or free capacity is unsuited to the single disk. 

In block storage, the below is the capacity metrics:
Raw capacity: capacity of all disks (unformatted)
Available capacity : formatted capacity


Free capacity(redundancy)= raw capacity - available Capacity


Sent from my BlackBerry 10 smartphone.
From: Manikandan Chellamuthu
Sent: Thursday, March 6, 2014 23:01
Subject: Re: Used and Free Capacity of Disk

--
Reply all
Reply to author
Forward
0 new messages