Recently, I had the need to run a logical disk free space report and knowing that this isn’t provided out of the box I created a report and put it into a new management pack.  I was then approached about collecting fragmentation data on each drive as well and this got me thinking, why don’t I create an MP that extends the standard management of logical disks.  So, I created it !

This management pack collects 21 different statistics on each managed logical drive.  These counters are…

  • Average File Size
  • Average Fragments per File
  • Cluster Size
  • Excess Folder Fragments
  • File Percent Fragmentation
  • Fragmented Folders
  • Free Space
  • Free Space Percent
  • Free Space Percent Fragmentation
  • MFT Percent in Use
  • MFT Record Count
  • Total Excess Fragments
  • Total Files
  • Total Folders
  • Total Fragmented Files
  • Total MFT Fragments
  • Total MFT Size
  • Total Page File Fragments
  • Total Percent Fragmentation
  • Used Space
  • Volume Size

Collecting this many counters created its own challenge as I didn’t want to have to run a script multiple times to collect each counter or run it for each drive.  To combat this challenge I wrote a data source that all the collection rules use.  This data source contains a VBS script that will only run once per server at the scheduled time and collect all 21 pieces of data for each and every logical drive on that server.  Writing a data source and rules like this means that cookdown does not get broken and is the most efficient way of collecting and monitoring data.

This management pack also contains a “Free Space” report and a “Top 10 fragmented logical drives” report as well as performance, state and dashboard views for you to consume all the collected data.  And, there is also a task to analyze whether a logical drive requires defragmentation or not.

Click the following link if you want to download the MP or review the guide for more information, http://www.systemcentercentral.com/tabid/145/IndexId/64216/Default.aspx.  The download will include a sealed copy of the MP, an unsealed copy of the MP and the MP guide.

I hope you find it useful and please let me have and feedback, good or bad, that you may have :-)

 

David