4

I'm using WMI to gather stats on some of our servers, and I'm trying to get details of the physical disks that are installed in each server.

The servers are various Dell PowerEdge models. Windows' built-in providers is reporting on the RAID volumes and the logical partitions, but I can't find any way to report on what the actual physical drives installed in the server are (presumably because Windows can only see as far as the RAID volumes being presented by the controller, and has no information about what's going on underneath that layer)

Is there a Dell RAID WMI provider I can install for this, or something else I can do to gather these stats?

4 Answers 4

2

You should be able to expose information about physical disks via SNMP with OpenManage:

http://support.dell.com/support/edocs/software/svradmin/5.3/en/snmp/html/snmpc23.htm#wp1052197

1
  • This does indeed appear to be the only way to get that information, along with the option to run the omreport.exe command. I just check with OpenManage version 6.5, which is still not exposing that information via WMI. There is a way to enumerate all devices with WMI from the DELL server, which includes the HDs, but it gives you no information on them (other than the vendor model id), and you can't reliably filter them out either. Hopefully they will fix this at some point.
    – Lucky Luke
    Nov 18, 2011 at 14:29
0

I would like to know this too - I want to get the 'State' field as reported in the OpenManage Server Administrator (especially when 'Degraded').

The Win32_* and the Dell_* WMI classes do not seem to give this level of detail.

The only method I know is to use the omreport.exe utility

C:\Program Files (x86)\Dell\SysMgt\oma\bin\omreport.exe storage pdisk controller=0
3
0

Dell Open manager must be installed for this one to work.

get-wmiobject DELL_CMApplication -namespace root\cimv2\dell -computer COMPUTERNAME | select-object Name | where-object {$_ -notlike "driver"}

-1

I'm assuming that you're calling Win32LogicalDisk

Check out Win32_DiskDrive, Win32_DiskDriveToDiskPartition, Win32_PhysicalMedia (in what I perceive as decreasing usefulness...). I'm on HP servers, so YMMV. (You could also try Win32_LogicalDiskToPartition)

Failing all of this, try ScriptomaticV2 from the Microsoft Scripting Guys to browse WMI.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.