Logical Disk Extension Management Pack

 

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

14 thoughts on “Logical Disk Extension Management Pack

  1. Avatar of JBJB

    Hello David, This looks quite promising. The guide does not appear on the download. Is there another link for a copy of that pls?

    Thx,

    John Bradshaw

  2. Avatar of Yonathan ZapataYonathan Zapata

    Hola David.

    Descargue el mp del Windows Logical Driver y desde mi conola scom importe el mp todo termino bien.
    En la pestaña reporting aparece windowsLogicalDriver y cuando ingresar para generar un nuevo reporte me sale el siguiente mensaje

    Please help
    —————>>>>>
    Date: 3/14/2011 5:12:16 PM
    Application: System Center Operations Manager 2007 R2
    Application Version: 6.1.7221.49
    Severity: Error
    Message: Cannot initialize report.

    Microsoft.Reporting.WinForms.ReportServerException: An error has occurred during report processing. (rsProcessingAborted) —> Microsoft.Reporting.WinForms.ReportServerException: Query execution failed for data set ‘SelectGroup’. (rsErrorExecutingCommand) —> Microsoft.Reporting.WinForms.ReportServerException: For more information about this error navigate to the report server on the local server machine, or enable remote errors
    — End of inner exception stack trace —
    — End of inner exception stack trace —
    at Microsoft.Reporting.WinForms.ServerReport.GetExecutionInfo()
    at Microsoft.Reporting.WinForms.ServerReport.GetParameters()
    at Microsoft.EnterpriseManagement.Mom.Internal.UI.Reporting.Parameters.ReportParameterBlock.Initialize(ServerReport serverReport)
    at Microsoft.EnterpriseManagement.Mom.Internal.UI.Console.ReportForm.SetReportJob(Object sender, ConsoleJobEventArgs args)
    Microsoft.Reporting.WinForms.ReportServerException: Query execution failed for data set ‘SelectGroup’. (rsErrorExecutingCommand) —> Microsoft.Reporting.WinForms.ReportServerException: For more information about this error navigate to the report server on the local server machine, or enable remote errors
    — End of inner exception stack trace —
    Microsoft.Reporting.WinForms.ReportServerException: For more information about this error navigate to the report server on the local server machine, or enable remote errors

  3. Avatar of YugandharYugandhar

    I have selected the 1024 Space Limit and selected All windows computers, Since from 1 Hour the report is genearting and got Connection timedout

    Is there any methos where i can select the particular computer to generate the free space report

  4. Avatar of lightningfirelightningfire

    Yugandhar, Did you ever get this problem fixed? I’m having the exact same issue. It is monitoring fine, but the reports will not show up. I will also go to the Logical Drive State and over on the right I can click the ‘Free Space Report’ but then it gives me this error:

    "The item ‘/Windows.LogicalDrives/Windows.LogicalDrives.FreeSpace.Report’ cannot be found. (rsItemNotFound)"

  5. Avatar of David AllenDavid Allen Post author

    Updating this MP is on my list of things to do, just trying to find the time at the moment.  This is the first request for Linux disks I have had, so I will definitely look into that.

    David

  6. Avatar of ErnieErnie

    Hello David

    The link to download the MP and Guide does not appear to work, do you have a new link please?

    Thanks in advance

    Ernie

  7. Avatar of abhishekabhishek

    Hi Pete,

    I get an error, when I run the report.

    Conversion failed when converting the nvarchar value ‘*’ to data type int. Can you pls provide me a fix for this issue?

  8. Avatar of Pete ZergerPete Zerger

    The free Veeam Generic Report Library provides a prettier, more flexible version of this report. See http://www.systemcentercentral.com/opsmgr-2012-a-test-of-reporting-on-top-n-free-space-in-disks-dbs-anything-with-veeam-scom-veeam/

  9. Avatar of abhishekabhishek

    Dear Pete,

    Many thanks for the reply.

    If I remember, there was a fix available for this error, but it seems that the blog is archived.

    The same report works in my old SCOM environment, unfortunately I did not save that blog :(.

    If you provide a fix for the error, then it will be a real great help.

     

    Error – “Conversion failed when converting the nvarchar value ‘*’ to data type int.”

    Regards,

    Abhishek

  10. Avatar of phakphak

    There is a large problem with this management pack in our environment. It continually performs a defrag analysis and I cannot understand in the XML how to turn it off. Any ideas?

Leave a Reply