On Dec 5, 2012, at 10:36 PM, Lee Duncan <[email protected]> wrote:
> > On Dec 5, 2012, at 8:12 PM, Mike Christie <[email protected]> wrote: > >> On 12/04/2012 06:58 PM, Lee Duncan wrote: >>> On Dec 4, 2012, at 4:51 PM, Mike Christie <[email protected]> wrote: >>> >>>> On 12/04/2012 05:22 PM, Lee Duncan wrote: >>>>> Hi Mike: >>>>> >>>>> I am trying to create a Persistent Reservations test suite for iSCSI >>>>> targets, and i was wondering if I could use open-iscsi on the initiator >>>>> side to do that. >>>>> >>>>> Part of the requirement is that I need to support multiple I_T Nexuses, >>>>> since Group Reservations are based on the I_T Nexus. If I can send from >>>>> multiple initiators on the same host, I could eliminate the current >>>>> requirement to test from multiple hosts. >>>>> >>>> >>>> You can create multiple initiators. Just create ifaces with different >>>> initiator names. The problem though is that the iSID is not persistent >>>> across logins, so if you were to login/logout using iscsiadm from the >>>> target for any reason then the persistent reservations are going to get >>>> messed up. >>>> >>> >>> Would that be a problem for Persisting a reservation in general, then? >> >> Not sure what you mean exactly. If you are using the reservation for >> just the life of the session then no, but I do not think that is common. >> It seems like you are likely to reboot your box or login/logout of the >> target once in a while. >> >> > > The idea with Persistent Reservations is that they should persist across > target power outages. > > But if the iSID changes with a new connection, then when the target comes > back it might not recognize the As long as you do not run iscsiadm …. --logout then iscsiadm …. --login you are ok. The iSID is based on the session->id, and that only changes when a new session struct is allocated. The session struct is only allocated a iscsiadm … -login time. -- You received this message because you are subscribed to the Google Groups "open-iscsi" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/open-iscsi?hl=en.
