HPE 3PAR StoreServ Storage
1834827 Members
2573 Online
110070 Solutions
New Discussion

Total Disk Capacity and Usage in TPD_DiskDrive Class

 
Negin
Occasional Visitor

Total Disk Capacity and Usage in TPD_DiskDrive Class

I want to read disk capacity and usage via CIM classes including `TPD_DiskDrive`. I can find the following properties according to HPE 3PAR API Reference:

[Description ("Size of the chunk.") ]
uint64 ChunkSize;
[Description ("Number of Normal Used OK chunks.") ]
uint32 ChunksNormalUsedOK;
[Description ("Number of Normal Used Fail chunks.") ]
uint32 ChunksNormalUsedFail;
[Description ("Number of Normal Unused Free chunks.") ]
uint32 ChunksNormalUnusedFree;
[Description ("Number of Normal Unused Uninitialized chunks.") ]
uint32 ChunksNormalUnusedUninit;
[Description ("Number of Normal Unused Fail chunks.") ]
uint32 ChunksNormalUnusedFail;
[Description ("Number of Spare Used OK chunks.") ]
uint32 ChunksSpareUsedOK;
[Description ("Number of Spare Used Fail chunks.") ]

uint32 ChunksSpareUsedFail;
[Description ("Number of Spare Unused Free chunks.") ]
uint32 ChunksSpareUnusedFree;
[Description ("Number of Spare Unused Uninitialized chunks.") ]
uint32 ChunksSpareUnusedUninit;
[Description ("Number of Spare Unused Fail chunks.") ]
uint32 ChunksSpareUnusedFail;

And I read the total capacity using `MaxMediaSize` property inherited from the parent class, `CIM_DiskDrive`. But in one of my disks I have`ChunksNormalUsedOK=~3500` while `MaxMediaSize =~3000GB` and the disk is working normally. How is this possible?

- Am I reading the proper value for disk capacity?

- Can I sum up the chunk numbers and multiply it by chunksize to get the total disk capacity?

Thank you

 

 

 

 

2 REPLIES 2
veeyarvi
HPE Pro

Re: Total Disk Capacity and Usage in TPD_DiskDrive Class

Hi Negin,

On page 96 (Table 86),  it talks about 'TPD_DiskStorageExtent' which talks about "Provides capacity information for disk drives". Did you get a chance to explore this?

Regards,
Veeyaarvi



I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
support_s
System Recommended

Query: Total Disk Capacity and Usage in TPD_DiskDrive Class

Hello,

 

Let us know if you were able to resolve the issue.

 

If you have no further query, and you are satisfied with the answer then kindly mark the topic as Solved so that it is helpful for all community members.

 

Please click on "Thumbs Up/Kudo" icon to give a "Kudo".

 

Thank you for being a HPE valuable community member.


Accept or Kudo