<div dir="ltr">Hi everyone,<div><br></div><div>I have some trouble with the OmniOS iscsi initiator on a host. Host is using SunOS  5.11 omnios-d3950d8 i86pc i386 i86pc Solaris.</div><div>I initiate a session to a TGP ( linux ) served target and when issuing the command ( using iscsiadm  add static-config ) and when I e</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">iscsiadm list target -S"</blockquote><div>
 </div><div>it outputs</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Target: iqn.2008-03.com.storage:0014abcd-5f56-4ba8-9e3b-7efbd87d19be<br>
         Alias: -<br>         TPGT: 1<br>         ISID: 4000002a0000<br>         Connections: 1<br><br> </blockquote><div>as opposed to the proper output</div><div><br></div><div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Target: iqn.2008-03.com.storage:0014abcd-5f56-4ba8-9e3b-7efbd87d19be<br>        Alias: -<br>        TPGT: 1<br>        ISID: 4000002a0000<br>        Connections: 1<br>        LUN: 1<br>             Vendor:  IET<br>             Product: VIRTUAL-DISK<br>
             OS Device Name: /dev/rdsk/c31t161d0s2</blockquote></div><div><br></div><div style>This worked fine for some time, but then </div></div><div>The session seems to be initiated properly, but the logical units are not. In the kernel log I see:<br>
</div><div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">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<br>
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</blockquote><div><br></div><div>Reloading the iscsi module fixed the issue</div><div><br>
</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">svcadm disable svc:/network/iscsi/initiator:default<br>
modunload -i 189<br>svcadm enable svc:/network/iscsi/initiator:default</blockquote><div><br></div><div><br></div><div>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.</div>
</div><div style><br></div><div><br></div><div style>Regards,</div><div style>Ivelin Slavov</div></div>