Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Logical Disk Performance counter for cluster shared volume on Hyper-V

$
0
0

Hello All,

I am trying to collect counters like latency, queuelength from Win32_PerfFormattedData_PerfDisk_LogicalDisk WMI class.

Output of "Name" attribute for logical disks in this class as below:


Name: _Total
Name: C:
Name: E:
Name: HarddiskVolume1
Name: Q:

Name here doesn't show the actual label so I queried Win32_Volume class and wanted to join with performance WMI class. Out put of Win32_Volume is as below:

Caption: E:\
Label: New Volume
Name: E:\

Caption: Q:\
Label: Quorum
Name: Q:\

Caption: C:\
Label: Voume C
Name: C:\

Caption: F:\
Label: SAN
Name: F:\

Please note that "Name" attribute matches for all except one with label "SAN". This is cluster shared volume and "Name" attribute value is "HardDiskVolume1" in Win32_PerfFormattedData_PerfDisk_LogicalDisk class.

Is this is a configuration issue or any other alternative to get volume label and corresponding performance counters.

Thanks in advance

Regards,

Udupa


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>