Hi,

I am trying to use IOCTL_STORAGE_RESET_BUS.
I have a set up where two Windows Machines are sharing a library over SAN
(using Brocade silkworm 2400 switch). One of the machines is windows 2003
server and other is windows 2000 server.

IOCTL_STORAGE_RESET_BUS actually works on W2K3 machine (HBA is Emulex
LightPulse 9000) and it clears all Previous SCSI Reservations (done using
SCSI command 0x16) on the drives in the library and I could see Event in
Windows Event Viewer saying that SCSI bus has been reset on request. I could
then reserve the same drive from another machine.

Problem is that IOCTL_STORAGE_RESET_BUS on W2K machine returns success but
(this one is Q-Logic QLA2340 HBA) it doesnâ??t clear previous reservations made
on drives. I see event in windows event viewer after that saying that â??The
device, \Device\Scsi\xxxxxxx, did not respond within the timeout period.â??
I enabled options to allow Target Device Reset from QLogic Bios
Configuration Utility-Advanced Adapter Options but that didnâ??t help.

On w2k3 system, I tried it with both Scsiport-Miniport and Storport-miniport
drivers and it worked and clears reservations. But on w2k system it doesnâ??t
clear the SCSI reservation.

Anyone has any Idea why this might be happening?
Any help on this will be really appreciated.

Thanks and Regards.
Hetal.