Skip to contentSkip to conversation

IIlumos iSCSI initiator doesn't recognizes LUNs, if LUNO contains a SPC2_Reservation

DISCUSSION Stephan Budach 1 participant 1 message Nov 23, 2018 SCSI target

lore
Share & tools
lore
#0 lore raw

Hello,

I am running LIO target on CentOS 7.4/7.5 to export 24 NVMe drives to a ZFS cluster. I am experiencing an issue where the iSCSI initiators on those Illumos hosts (OpenIndiana Hipster 2018) don't recognize the LUNs in a target, if LUN0 has a SPC2_Reservation. This is the case, if one of the cluster nodes actually import the ZPOOL, which is on that target and then sets the reservation to claim the ZPOOL.

Hower, once that has happened, the other cluster node only sees a "generic" iSCSI target and no LUNs, although only the first LUN contains that reservation. Is it the case, that LIO target blocks access to all LUNs of a target if LUN0 holds a reservation? And if that was the case, if the active node died, how could a reservation be removed, since the surviving node doesn't have a means to access LUN0 and remove the reservation.

Regards,
Stephan Budach