Mike Christie <micha...@cs.wisc.edu> writes:

> On 10/7/15, 1:37 AM, Ferenc Wagner wrote:
>
>> In a pristine system (iscsistart only, no targets configured by
>> iscsiadm) I only get two sessions (with short interfaces names).  With
>> an older open-iscsi version I could then add the four needed node, and
>> after login iscsid took over the two from iscsistart and also started
>> the two other.  Now, that iscsid uses long interface names, it creates
>> four new sessions and leaves the two from iscsistart unmanaged.  Than
>
> How do you know they are unmanaged by iscsid? Is the iscsid session
> state in the iscsiadm -m session -P 1 info showing:
>
> Internal iscsid Session State: Unknown

Maybe I was wrong on this point.  After an iscsistart -b in the
initramfs, but with no ifaces or nodes configured later:

# iscsiadm -m session -P1
Target: iqn.2000-02.hu.niif:dx90.pc (non-flash)
        Current Portal: 10.0.3.2:3260,3
        Persistent Portal: 10.0.3.2:3260,3
                **********
                Interface:
                **********
                Iface Name: be2iscsi.90:1b:0e:23:ce:a9
                Iface Transport: be2iscsi
                Iface Initiatorname: iqn.2000-02.hu.niif:vhbl04.pc
                Iface IPaddress: <empty>
                Iface HWaddress: 90:1b:0e:23:ce:a9
                Iface Netdev: <empty>
                SID: 1
                iSCSI Connection State: LOGGED IN
                iSCSI Session State: LOGGED_IN
                Internal iscsid Session State: NO CHANGE
        Current Portal: 10.0.4.1:3260,2
        Persistent Portal: 10.0.4.1:3260,2
                **********
                Interface:
                **********
                Iface Name: be2iscsi.90:1b:0e:23:ce:ad
                Iface Transport: be2iscsi
                Iface Initiatorname: iqn.2000-02.hu.niif:vhbl04.pc
                Iface IPaddress: <empty>
                Iface HWaddress: 90:1b:0e:23:ce:ad
                Iface Netdev: <empty>
                SID: 2
                iSCSI Connection State: LOGGED IN
                iSCSI Session State: LOGGED_IN
                Internal iscsid Session State: NO CHANGE

on the two sessions created by iscsistart (and there are no other
sessions yet).  But I can't use the above Iface Name values:

# iscsiadm -m node -T iqn.2000-02.hu.niif:dx90.pc -I be2iscsi.90:1b:0e:23:ce:a9 
-p 10.0.3.1 -o new
iscsiadm: Could not read iface info for be2iscsi.90:1b:0e:23:ce:a9.

Otherwise, the above command creates the default suffixed ifaces:

# ls /etc/iscsi/ifaces/
be2iscsi.90:1b:0e:23:ce:a9.ipv4.0  be2iscsi.90:1b:0e:23:ce:ad.ipv4.0
be2iscsi.90:1b:0e:23:ce:a9.ipv6.0  be2iscsi.90:1b:0e:23:ce:ad.ipv6.0
-- 
Regards,
Feri.

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to open-iscsi+unsubscr...@googlegroups.com.
To post to this group, send email to open-iscsi@googlegroups.com.
Visit this group at http://groups.google.com/group/open-iscsi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to