Quantcast
Channel: ProLiant Servers (ML,DL,SL) topics
Viewing all articles
Browse latest Browse all 10362

Find disk drive size with WMI

$
0
0

I am trying to gather some specific information about the drives in my array using WBEM / WMI. In particular, I need to know the manufacturer, type (SSD/spindle), speed, and size of each physical drive in the server. I am using HP's Insight Management WBEM Providers to find this information with WMI.

So far I have found the speed in the DriveRotationalSpeed property of HPSA_DiskDrive. SSD vs. Spindle is more or less in the Description property of the same class. Manufacturer is in the Manufacturer property of HPSA_DiskDriveFirmware.

However, nowhere can I find the size of the drive. This seems unbelievable to me, but I have searched through the property name and value of every class in the "root/hpq" namespace and can't find anything. Surely I'm missing something - where can I find this information?


Viewing all articles
Browse latest Browse all 10362

Trending Articles