Google Answers Logo
View Question
 
Q: NT driver code for monitoring disk block writes, similar to diskmon ( No Answer,   0 Comments )
Question  
Subject: NT driver code for monitoring disk block writes, similar to diskmon
Category: Computers > Programming
Asked by: skisv-ga
List Price: $200.00
Posted: 20 Jan 2003 21:26 PST
Expires: 19 Feb 2003 21:26 PST
Question ID: 146344
I seek working driver code for Windows NT/W2K that provides the list
of blocks written to the SCSI drives of the server, similar to the
Diskmon utility from SysInternals.com. The GUI is not important, but
my user level code needs to know every block written to, whether done
by an application or initiated by the file system code itself. 

Also, the driver should support dynamic loading via the Service
Control API.
That is, no reboot should be required. I've done this part myself,
using DDK examples. Filemon has similar source:
http://www.sysinternals.com/ntw2k/source/filemon.shtml


Diskmon does all these things, but doesn't come with source. Check it
out at http://www.sysinternals.com/ntw2k/freeware/diskmon.shtml. To
the extent possible, the driver should be a nice driver citizen. It
would be very nice if, in addition to delivering the set of <drive,
block address> changes between calls to DeviceIoControl, that you
mentioned how to possibly throttle or delay the acknowledgement or
successful completion of a write from the user level code.

This question is more complex than average, I know. I would be happy
to provide clarifications or (possibly) entertain alternate
approaches. I should note that I am not a driver writer, but I am a
reasonable NT programmer. My goal is to compare the blocks seen by my
Fibre Channel analysis probe to the blocks being written by NT.
Answer  
There is no answer at this time.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy