Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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?

share|improve this question

4 Answers 4

up vote 2 down vote accepted

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

share|improve this answer
    
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 '11 at 14:29

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
share|improve this answer
    
Do you have a link to more info about the DELL_ WMI classes? –  Dylan Beattie Oct 7 '10 at 13:00
    
The most relevant DELL_ class I found was at \\MEL-APOLLO1\ROOT\CIMV2\Dell:Dell_CMDevice Here is some documentation I have found: Dell OpenManage Server Administrator Version 6.3: support.dell.com/support/edocs/software/svradmin/6.3/en/… The latest client OM is much better - hopefully they will update the server version will follow soon? Dell™ OpenManage™ Client Instrumentation Version 7.4 User's Guide: support.dell.com/support/edocs/software/smcliins/cli74/en/ug/… –  Dave Oct 7 '10 at 23:45
    
BTW, I didn't find the documentation very useful. Instead I just used this powershell tool to browse the instances: thepowershellguy.com/blogs/posh/archive/2007/03/22/… –  Dave Oct 7 '10 at 23:55

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"}

share|improve this answer

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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