How to simulate Disk Administrator operations

Hi,
I’m writing a scsiport driver for NT4. When the system boots, the disk
devices are not available but InquiryData is available (Taken from the
registry). This way the disks appear offline in the disk administrator. I
assign drive letters for the different partitions of the devices (also from
registry), but of course they can not be accessed, and the scsiport driver
returns DEVICE_NOT_READY. The problem is that when the devices are
available (after the disk and FS drivers were loaded), the file system is
not aware of this fact, and the drives in explorer window are still
inaccessible. If I activate disk administrator then they become accessible,
i.e. the FS is aware of these devices and their partitions.
My question is how to simulate the same operations of the disk
administrator from my driver.
Thanks in advance
-Miki


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

You will need to create the drive letter symlink manually for such disks.

Max

----- Original Message -----
From:
To: “NT Developers Interest List”
Sent: Thursday, November 29, 2001 1:00 PM
Subject: [ntdev] How to simulate Disk Administrator operations

> Hi,
> I’m writing a scsiport driver for NT4. When the system boots, the disk
> devices are not available but InquiryData is available (Taken from the
> registry). This way the disks appear offline in the disk administrator. I
> assign drive letters for the different partitions of the devices (also from
> registry), but of course they can not be accessed, and the scsiport driver
> returns DEVICE_NOT_READY. The problem is that when the devices are
> available (after the disk and FS drivers were loaded), the file system is
> not aware of this fact, and the drives in explorer window are still
> inaccessible. If I activate disk administrator then they become accessible,
> i.e. the FS is aware of these devices and their partitions.
> My question is how to simulate the same operations of the disk
> administrator from my driver.
> Thanks in advance
> -Miki
>
> —
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

But this is what I do as I described it before. I create a symbolic link
between the drive letters and the partitions, I do it before the disks are
available. But when they are available the file system does not know about
it. The disks represented by the letters are inaccessible. Only after I run
disk admin they become accessible.

Miki


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

(Sorry for being out of context in the previous post).
But this is what I do as I described it before. I create a symbolic link
between the drive letters and the partitions, I do it before the disks are
available. But when they are available the file system does not know about
it. The disks represented by the letters are inaccessible. Only after I run
disk admin they become accessible.

Miki

On 11/30/01, ““Maxim S. Shatskih” ” wrote:
> You will need to create the drive letter symlink manually for such disks.
>
> Max
>
> ----- Original Message -----
> From:
> To: “NT Developers Interest List”
> Sent: Thursday, November 29, 2001 1:00 PM
> Subject: [ntdev] How to simulate Disk Administrator operations
>
>
> > Hi,
> > I’m writing a scsiport driver for NT4. When the system boots, the disk
> > devices are not available but InquiryData is available (Taken from the
> > registry). This way the disks appear offline in the disk administrator. I
> > assign drive letters for the different partitions of the devices (also from
> > registry), but of course they can not be accessed, and the scsiport driver
> > returns DEVICE_NOT_READY. The problem is that when the devices are
> > available (after the disk and FS drivers were loaded), the file system is
> > not aware of this fact, and the drives in explorer window are still
> > inaccessible. If I activate disk administrator then they become accessible,
> > i.e. the FS is aware of these devices and their partitions.
> > My question is how to simulate the same operations of the disk
> > administrator from my driver.
> > Thanks in advance
> > -Miki
> >
> > —
> > You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> > To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
> >
>
>
> —
> You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com