Hey
I try to understand the mechanics of persistent reserve in SPC-3.
My problem is off topic and not related to libiscsi but the number of
people who know SCSI and
SAM/SPC/SBC inside out is not that many. If
you feel there is better spot for this question just kindly
point me in the right direction.
My job is to create a SCSI target and right now I am working with
persistent reserve. But I find SPC and
related documents a bit harsh
to on the mind so to speak and not so clear as I would wish. Thus I
would
very much like to know that I got it.
- A IT Nexus can have at most ONE persistent reservation key at any
time.
- A registered IT Nexus is a nexus that have a reservation key.
- Adding a new key to a IT Nexus that have a key will replace the old key with the new key.
- Multiple IT Nexuses may share the same reservation key, no conflict since the IT Nexus together
with the reservation key form a unique identifier.
- A registration contains of one reservation key and one or more IT Nexuses.
- If a registration is removed, the reservation key and all IT
Nexuses in the registration is removed.
The IT Nexuses is now unregistered.
- A reservation or a release of a reservation is always done on the
IT Nexus that issued the reserve
and release service action.
Is this correct ?
Thanks for your time.
// Jim Gunnarsson
On May 5, 2016, at 1:38 AM, di9...@gmail.com wrote:Hey
I try to understand the mechanics of persistent reserve in SPC-3.
My problem is off topic and not related to libiscsi but the number of people who know SCSI and
SAM/SPC/SBC inside out is not that many. If you feel there is better spot for this question just kindly
point me in the right direction.
My job is to create a SCSI target and right now I am working with persistent reserve. But I find SPC and
related documents a bit harsh to on the mind so to speak and not so clear as I would wish. Thus I would
very much like to know that I got it.
- A IT Nexus can have at most ONE persistent reservation key at any time.
- A registered IT Nexus is a nexus that have a reservation key.
- Adding a new key to a IT Nexus that have a key will replace the old key with the new key.
- Multiple IT Nexuses may share the same reservation key, no conflict since the IT Nexus together
with the reservation key form a unique identifier.
- A registration contains of one reservation key and one or more IT Nexuses.
- If a registration is removed, the reservation key and all IT Nexuses in the registration is removed.
The IT Nexuses is now unregistered.
- A reservation or a release of a reservation is always done on the IT Nexus that issued the reserve
and release service action.
Is this correct ?
Thanks for your time.
// Jim Gunnarsson