Driver Problems? Questions? Issues?
Put OSR's experience to work for you! Contact us for assistance with:
  • Creating the right design for your requirements
  • Reviewing your existing driver code
  • Analyzing driver reliability/performance issues
  • Custom training mixed with consulting and focused directly on your specific areas of interest/concern.
Check us out. OSR, the Windows driver experts.

Upcoming OSR Seminars:

Writing WDF Drivers I: Core Concepts, Nashua, NH 15-19 May, 2017
Writing WDF Drivers II: Advanced Implementation Tech., Nashua, NH 23-26 May, 2017
Kernel Debugging and Crash Analysis, Dulles, VA 26-30 June, 2017
Windows Internals & Software Driver Development, Nashua, NH 24-28 July, 2017


Go Back   OSR Online Lists > ntfsd
Welcome, Guest
You must login to post to this list
  Message 1 of 6  
10 Jul 17 10:51
sachin shinde
xxxxxx@gmail.com
Join Date: 23 Oct 2015
Posts To This List: 14
Monitor Disk write calls

Hi, I need to develop driver to Notification System disk write calls, so that I can replicate write contents to other disk. (Both disks are of type RAID) I have searched regarding it, also checked with some samples with WinDDK (DiskPerf and other) I am not sure with my approach, but I think I need to insert/attach my driver in between Port and Disk.sys Any guidance will be really appreciated. Thanks, Sachin
  Message 2 of 6  
10 Jul 17 12:02
Slava Imameev
xxxxxx@hotmail.com
Join Date: 13 Sep 2013
Posts To This List: 221
Monitor Disk write calls

Yes, you need a filter under FDO created by disk.sys if "disks" are hardware RAIDs and the replication is performed at the disk sector level.
  Message 3 of 6  
11 Jul 17 01:39
NtDev Geek
xxxxxx@gmail.com
Join Date: 09 Aug 2013
Posts To This List: 30
Monitor Disk write calls

you need an upper disk class filter driver as slava said. need to make an entry in inf and you are done. using devcon you can see the entry.
  Message 4 of 6  
11 Jul 17 07:39
sachin shinde
xxxxxx@gmail.com
Join Date: 23 Oct 2015
Posts To This List: 14
Monitor Disk write calls

Thanks all for prompt replies. I have also checked few other OSR queries, http://osronline.com/showThread.CFM?link=217367 http://w.osronline.com/showthread.cfm?link=238682 I have one more query, can I insert my driver as upper filter to Storport, instead filter to disk.sys, so that my driver can expose "FILE_DEVICE_MASS_STORAGE" type devices, intention is to expose only primary disk, not replication disk. File System Driver | Volume Manager Disk Driver | Disk Driver (disk.sys ) | Mydriver.sys | Disk Port Driver | Disk Miniport Driver | HDD it would really helpful if any references, or DDK samples. Thanks, Sachin
  Message 5 of 6  
11 Jul 17 16:23
Scott Noone
xxxxxx@osr.com
Join Date: 10 Jul 2002
Posts To This List: 898
List Moderator
Monitor Disk write calls

You really want the replication disk exposed to Windows as a standard disk. That way YOU can talk to it with reads/writes for the purposes of replication. You really don't want to provide your own disk driver. Having the disk casually visible to the admin is annoying though. You can hide it with IOCTL_DISK_SET_DISK_ATTRIBUTES, though annoyingly the attribute does not persist across reboots. How bad this is for you depends, but if you can live with it it's a simple solution. -scott OSR @OSRDrivers wrote in message news:102758@ntfsd... Thanks all for prompt replies. I have also checked few other OSR queries, http://osronline.com/showThread.CFM?link=217367 http://w.osronline.com/showthread.cfm?link=238682 I have one more query, can I insert my driver as upper filter to Storport, instead filter to disk.sys, so that my driver can expose "FILE_DEVICE_MASS_STORAGE" type devices, intention is to expose only primary disk, not replication disk. File System Driver | Volume Manager Disk Driver | Disk Driver (disk.sys ) | Mydriver.sys | Disk Port Driver | Disk Miniport Driver | HDD it would really helpful if any references, or DDK samples. Thanks, Sachin
  Message 6 of 6  
13 Jul 17 03:16
sachin shinde
xxxxxx@gmail.com
Join Date: 23 Oct 2015
Posts To This List: 14
Monitor Disk write calls

Thanks Scott, I will check.
Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You must login to OSR Online AND be a member of the ntfsd list to be able to post.

All times are GMT -5. The time now is 16:45.


Copyright ©2015, OSR Open Systems Resources, Inc.
Based on vBulletin Copyright ©2000 - 2005, Jelsoft Enterprises Ltd.
Modified under license