OpenSolaris

Printable Version Enter a New Search
Bug ID 6822867
Synopsis iscsi initiator is not generating events when target device got re-connected
State 10-Fix Delivered (Fix available in build)
Category:Subcategory driver:iscsi
Keywords
Responsible Engineer Bing Zhao
Reported Against
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_114
Fixed In snv_114
Release Fixed solaris_nevada(snv_114)
Related Bugs 6785045 , 5094124
Submit Date 26-March-2009
Last Update Date 6-May-2009
Description
The iscsi initaitor code generates events on the first connection to the
target device. When the target device node is dead, the access from the intiator
fails with ENOENT and when the target device node is available the access is
successfull, but the iscsi initiator code does not generate events on
the target device availability.

This behaviour create problem for the ZFS configurations created on iscsi devices.

A ZFS mirrored pool is created from iscsi targets which are coming from
different nodes. When one target node goes down, the ZFS marks the pool as
degraded and it is not able to detect the device even when target node is up.

The ZFS behavior is that when a disk comes back online, it is notified by a
hotplug event which the ZFS recieves and takes proper action.

The lack of proper events by iscsi initiator prevents ZFS to autodetect and
requires manual intervention to inform ZFS that device is online.

See comments section on the observation regarding the event generation.
Work Around
N/A
Comments
N/A