- Community Home
- >
- Storage
- >
- Midrange and Enterprise Storage
- >
- HPE 3PAR StoreServ Storage
- >
- Total Disk Capacity and Usage in TPD_DiskDrive Cla...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2024 05:13 AM - last edited on 08-14-2024 04:00 AM by support_s
08-03-2024 05:13 AM - last edited on 08-14-2024 04:00 AM by support_s
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
- Tags:
- 3PAR StoreServe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2024 07:09 AM - last edited on 09-16-2024 02:09 AM by support_s
08-07-2024 07:09 AM - last edited on 09-16-2024 02:09 AM by support_s
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]

- Tags:
- drive
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2024 03:36 AM
08-14-2024 03:36 AM
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.