Jeff Goldner [MS]
Guest
|
Posted:
Mon Mar 01, 2004 12:06 pm Post subject:
Re: SCSI Reservation Tool |
|
|
Check the Windows DDK for the SPTI sample. This uses SCSI Passthroughs to
let you create most any CDB up to 16 bytes, including PRO/PRI (a few are
blocked like the old COPY CDB). The sample will also give you some clues on
how to send the IOCTLs.
You can't send an SRB without writing a driver, so SRB_FUNCTION_RESET_BUS is
not possible, but we don't use that anyway - use the IOCTL instead which
will call the miniports bus reset routine. There are IOCTLs for RESERVE and
RELEASE.
Jeff [MS]
"Mark" <wah_mark@emc.com> wrote in message
news:uSbjAot%23DHA.3284@TK2MSFTNGP09.phx.gbl...
| Quote: | Hi,
Anyone knows of any SCSI tool that issues SCSI-2 reserves, release and bus
reset?
Is there a SCSI-3 tools also which issues Persistent Reserves Out and
Persistent Reserves In?
Or are there sources which I can use to create these commands by creating
SCSI CDBs and also stuff specific MS ioctls like:
SCSIOP_RESERVE_UNIT
SCSIOP_RELEASE_UNIT
SRB_FUNCTION_RESET_BUS
IOCTL_STORAGE_RESET_BUS
IOCTL_STORAGE_BREAK_RESERVATION
Thanks,
Mark
|
|
|