Which IOCTLs should I support to support dynamic disk?

Hi all,
I want to know which IOCTLs should I support to support dynamic disk? My driver is a SCSIAdapter driver. Is there any documents about this? Any help will be grateful.
Thanks & regards.

There are no special ioctls required at the disk level. However,
IIRC the volume manager will not allow the construction of dynamic
volumes on disks that are flagged as removable.

Why ask about the ioctls ? Put some tracing in your driver to trace
out ioctls that you aren’t handling and investigate what they are.

Mark.

At 08:52 13/05/2011, kuangnuzhiren@163.com wrote:

Hi all,
I want to know which IOCTLs should I support to support dynamic
disk? My driver is a SCSIAdapter driver. Is there any documents
about this? Any help will be grateful.

Thanks & regards.


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

Because there are too many ioctls and I was very confused. I read wdk help very hard, find nothing. Only I know is that I should support IOCTL_DISK_GET_DRIVE_GEOMETRY
maybe. But still can not work, after supporting that.

In additional to Mark advise I would recommend to install any tracing tools on existing, working disk. For example, busTrace is good one. You should trace IOCTLs on all versions of Windows you are going to support because sets of IOCTLs may be vary on different versions of OS. And of course, source code of disk.sys, which is in WDK, may help you also.

Igor Sharovar

Thank you both, I will have a try.