SCSI Reservation Tool
CASTalk.com Forum Index CASTalk.com
Discussion of DSP, FPGA, storage and embedded system.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web castalk.com
SCSI Reservation Tool

 
Post new topic   Reply to topic    CASTalk.com Forum Index -> Storage System
Author Message
Mark
Guest





Posted: Tue Feb 24, 2004 6:25 pm    Post subject: SCSI Reservation Tool Reply with 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
Back to top
Jeff Goldner [MS]
Guest





Posted: Mon Mar 01, 2004 12:06 pm    Post subject: Re: SCSI Reservation Tool Reply with quote

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

Back to top
 
Post new topic   Reply to topic    CASTalk.com Forum Index -> Storage System All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




VoIP Electronics Powered by phpBB