|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] RE: UNH Plugfest 5> -----Original Message----- > From: Robert D. Russell [mailto:rdr@io.iol.unh.edu] > Sent: Wednesday, January 15, 2003 3:28 PM > To: Julian Satran; > Subject: Re: UNH Plugfest 5 > > Two more questions arose at the plugfest today, 15-Jan-2003. > ... > 2. The question arose with regard to how an initiator maps a scsi > "bus reset" onto iscsi (this may be a legacy situation). > Some vendor initiators are simply doing a session logout, but > other vendors claim this is not sufficient, and that to > correctly emulate a "bus reset" > the initiator needs to do a task management function TARGET WARM > RESET, or, since that is optional to implement, when it is not > implemented then the initiator needs to issue a task management > function LOGICAL UNIT RESET for all active LUNs in that session. > > Can/should there be a "note to implementors" on this in > the standard, so that a consistent result will be obtained > in this situation? All the SCSI transport protocols face this issue. A parallel SCSI bus reset affects all the target ports on the shared bus, and all the logical units on those ports. This is fine if there is one initiator. In a multi-initiator fabric, however, an initiator shouldn't affect target ports or logical units it is not using. This messes up other initiators. iSCSI's TARGET COLD RESET doesn't honor SCSI access controls, so isn't safe at all. TARGET WARM RESET honors them, but doesn't mesh with other sharing schemes (e.g. HBA-based LUN masking). Neither of these is advisable outside of a lab. The best approach is to send a LOGICAL UNIT RESET to each logical unit the initiator is actually using. This clears all the SCSI level state but does not affect any iSCSI specific state. If the "bus reset" is being used to clear reservations of a quorum disk, this should suffice. If the iSCSI specific state appears to have problems, then a connection or session logout should clear it. > Bob Russell > InterOperability Lab > University of New Hampshire > rdr@iol.unh.edu > 603-862-3774 --- Rob Elliott, HP Server Storage elliott@hp.com
Home Last updated: Thu Jan 16 12:19:01 2003 12187 messages in chronological order |