regarding IOCTL_DISK_GET_DRIVE_GEOMETRY_EX returning STATUS_INVALID_PARAMETER

When I issue IOCTL_DISK_GET_DRIVE_GEOMETRY_EX on a volume device created by DMIO, I get STATUS_INVALID_PARAMETER.

Is it because dynamic disk is treated differently than physical disk ?

What is the ‘drive geometry’ of a striped or mirrored volume? It is a
convenience that if the target happens to be a simple non-ldm volume the
request is passed down to the disk device.

On Thu, Oct 2, 2008 at 10:56 PM, wrote:

> When I issue IOCTL_DISK_GET_DRIVE_GEOMETRY_EX on a volume device created by
> DMIO, I get STATUS_INVALID_PARAMETER.
>
> Is it because dynamic disk is treated differently than physical disk ?
>
>
> —
> 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
>


Mark Roddy

volume stack on top of a basic disk is a little different than volume
stack on a dynamic disk.
try opening the underlying disk drive and sending the ioctl to it. if it
works, it’s clearly getting rejected somewhere in the volume stack. if
it fails with same reason, re-look at your request (output buffer,
buffer size etc)

Harish


From: Mark Roddy [mailto:xxxxx@hollistech.com]
Sent: Friday, October 03, 2008 1:31 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] regarding IOCTL_DISK_GET_DRIVE_GEOMETRY_EX
returning STATUS_INVALID_PARAMETER

What is the ‘drive geometry’ of a striped or mirrored volume? It is a
convenience that if the target happens to be a simple non-ldm volume the
request is passed down to the disk device.

On Thu, Oct 2, 2008 at 10:56 PM, wrote:

When I issue IOCTL_DISK_GET_DRIVE_GEOMETRY_EX on a volume device
created by DMIO, I get STATUS_INVALID_PARAMETER.

Is it because dynamic disk is treated differently than physical
disk ?


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


Mark Roddy

— 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