[OmniOS-discuss] Iscsi initiator problems

Ivelin Slavov ivelin.slavov at gmail.com
Thu Jul 25 10:55:48 UTC 2013


Hi everyone,

I have some trouble with the OmniOS iscsi initiator on a host. Host is
using SunOS  5.11 omnios-d3950d8 i86pc i386 i86pc Solaris.
I initiate a session to a TGP ( linux ) served target and when issuing the
command ( using iscsiadm  add static-config ) and when I e

iscsiadm list target -S"


it outputs

Target: iqn.2008-03.com.storage:0014abcd-5f56-4ba8-9e3b-7efbd87d19be
>          Alias: -
>          TPGT: 1
>          ISID: 4000002a0000
>          Connections: 1
>
>

as opposed to the proper output

Target: iqn.2008-03.com.storage:0014abcd-5f56-4ba8-9e3b-7efbd87d19be
>         Alias: -
>         TPGT: 1
>         ISID: 4000002a0000
>         Connections: 1
>         LUN: 1
>              Vendor:  IET
>              Product: VIRTUAL-DISK
>              OS Device Name: /dev/rdsk/c31t161d0s2


This worked fine for some time, but then
The session seems to be initiated properly, but the logical units are not.
In the kernel log I see:

Jul 25 07:46:35 storage0 iscsi: [ID 248668 kern.warning] WARNING: iscsi
> driver unable to online iqn.2008-03.com.mystorage:node23 lun 0
> Jul 25 07:46:35 storage0 iscsi: [ID 248668 kern.warning] WARNING: iscsi
> driver unable to online iqn.2008-03.com.mystorage:node23 lun 1


Reloading the iscsi module fixed the issue

svcadm disable svc:/network/iscsi/initiator:default
> modunload -i 189
> svcadm enable svc:/network/iscsi/initiator:default



But I am concerned about what caused it, since I have some automated
procedures to online/offline remote targets, and it will be very nasty if
it stopped working in the middle of the night. I think there might be a BUG
somewhere in the kernel module. I can provide additional details, if
someone is wiling to look into problem, since I am not (at all) fond of
kernel developing.


Regards,
Ivelin Slavov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20130725/432e0d0c/attachment.html>


More information about the OmniOS-discuss mailing list