Blog
By David Allen on 4/15/2010 7:55:03 PM • Rank (6097) • Views 6179
0

0

 

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

Comments (5) - Comment RSS
JB wrote: on Aug 25, 2010 11:31 PM
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
Yonathan Zapata wrote: on Mar 14, 2011 06:14 PM
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
Yugandhar wrote: on Oct 08, 2011 07:16 AM
once we download the MP and installed how can we generate the report
Yugandhar wrote: on Oct 08, 2011 07:18 AM
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
lightningfire wrote: on Oct 18, 2011 03:52 PM
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)"


Who Viewed
Who Reviewed
Categories
Related Pages
Shortened URL
http://tinyurl.com/y5q997m

Top Contributors
Featured Members
Pete Zerger
Points: 65442
Level: System Center Expert
Tommy Gunn
Points: 42712
Level: System Center Expert
Simon Skinner
Points: 40744
Level: System Center Expert
Stefan Koell
Points: 28999
Level: System Center Expert
Andreas Zuckerhut
Points: 27434
Level: System Center Expert