Udostępnij za pośrednictwem


Using Hyper-V performance counters to keep an eye on Windows Home Server

After my adventures with Windows Home Server, I wanted to make sure that al my data was correctly replicated before trying to make any other configuration changes.  Unfortunately, Windows Home Server does not let you know what it is doing in the background most of the time.  Fortunately, I run Windows Home Server inside a virtual machine – and can use the Hyper-V performance counters to see what is really happening.

I opened performance monitor in the management operating system – and added both the “Read Bytes/sec” and “Write Bytes/sec” counters from the “Hyper-V Virtual Storage Device” category for each of the virtual hard disks:

perf1

As you can see – this provided me with a great insight into what was actually happening with the virtual machine.  In the screen shot above you can see that data is being read from the C: drive and written to the G: drive.  I left this up on my screen until all activity stopped – then I felt happy to make other configuration changes without worrying about interrupting data replication.

Cheers,
Ben

Comments

  • Anonymous
    September 20, 2010
    This strike you as somewhat less than optimal?

  • Anonymous
    September 20, 2010
    Rik - Can you explain what you mean? Cheers, Ben

  • Anonymous
    September 20, 2010
    Ben Interesting.  Having just built my first Hyper-V machine (Hpyer-V 2008R2, rather than inside Windows Server - i.e. the bare metal version), this was something that I was interested in and concerned about:  how do I prove that file duplication is actually happening.   It would appear from your screen shot that you are using Windows Server 2008: Is this level of logging available in Hyper-V?  By way of comparison, I only have the server manager and Hyper-V in the left pane in the window, and none of the features or diagnostics options. Thanks for the interesting blog articles, and apologies for the comment spam - Hyper-V is my tool/toy d'jour! C!

  • Anonymous
    November 01, 2010
    Cameron - Yes, these performance counters are also exposed on Hyper-V server.  You can also access them through powershell if you want to. Cheers, Ben

  • Anonymous
    April 03, 2014
    Is this counter available with WMI source? I am using Windows 2012 Regards, Udupa