Forum Discussion

Vandeir's avatar
Vandeir
Copper Contributor
Jan 28, 2022

Map "\Device\HarddiskVolumeX" to "Shared Drive name" when using performance counters

Hi,


Im trying to monitor performance counters of a shared vhdx disk on a Windows Server 2016 Hyper-V host. The performance counters Im interested are \Hyper-V Shared VHDX\*. When I select one of those counters, the instance name of the counter is showed like this: "\Device\HarddiskVolume5".

 

 

The problem is that I dont know to which Shared VHDX this instance belongs to. Is there a way to map this instance name to the name that is show in the Shared Drive in the settings of a virtual machine disk? Like this

 

 

 

This is for the purpose to automate collection of perfomance counters of shared vhdx.

 

Thanks in advance.

1 Reply

  • Vandeir's avatar
    Vandeir
    Copper Contributor

    I know that \Device\HarddiskVolumeX maps to the shared VHDx because of this entry on Resource Monitor:

     

     

    KC390_ODFC_DADOS... is a Shared Drive from one of our VM.

     

    If there is a way to get the information show on the File column, this could help doing the mapping.

Resources