Ok, I've tried the configuration and login now whilst specifying the 
TPGT.  I don't hit the same error now, but I do see this:

# iscsiadm -m node -T 
iqn.1986-03.com.sun:02:aff22998-3466-4bf4-ee3c-958fd4b5d346 -p 
10.8.0.6:3260 -l
Login session [iface: default, target: 
iqn.1986-03.com.sun:02:aff22998-3466-4bf4-ee3c-958fd4b5d346, portal: 
10.8.0.6,3260]
iscsiadm: initiator reported error (14 - iSCSI driver does not support 
requested capability.)
iscsiadm: Could not execute operation on all records. Err 107.

So, progress!

Here is the set of operations I performed.

Thanks
Jesse


# iscsiadm -m node -T 
iqn.1986-03.com.sun:02:aff22998-3466-4bf4-ee3c-958fd4b5d346 -p 
10.8.0.6:3260,1 -o new
New iSCSI node [tcp:[hw=default,ip=,net_if=default,iscsi_if=default] 
10.8.0.6,3260,1 
iqn.1986-03.com.sun:02:aff22998-3466-4bf4-ee3c-958fd4b5d346] added

# iscsiadm -m node -T 
iqn.1986-03.com.sun:02:aff22998-3466-4bf4-ee3c-958fd4b5d346 -p 
10.8.0.6:3260,1      
node.name = iqn.1986-03.com.sun:02:aff22998-3466-4bf4-ee3c-958fd4b5d346
node.tpgt = 1
node.startup = manual
iface.hwaddress = default
iface.iscsi_ifacename = default
iface.net_ifacename = default
iface.transport_name = tcp
node.discovery_address = <empty>
node.discovery_port = 0
node.discovery_type = static
node.session.initial_cmdsn = 0
node.session.initial_login_retry_max = 4
node.session.cmds_max = 128
node.session.queue_depth = 32
node.session.auth.authmethod = None
node.session.auth.username = <empty>
node.session.auth.password = <empty>
node.session.auth.username_in = <empty>
node.session.auth.password_in = <empty>
node.session.timeo.replacement_timeout = 120
node.session.err_timeo.abort_timeout = 10
node.session.err_timeo.reset_timeout = 30
node.session.iscsi.FastAbort = Yes
node.session.iscsi.InitialR2T = No
node.session.iscsi.ImmediateData = Yes
node.session.iscsi.FirstBurstLength = 262144
node.session.iscsi.MaxBurstLength = 16776192
node.session.iscsi.DefaultTime2Retain = 0
node.session.iscsi.DefaultTime2Wait = 2
node.session.iscsi.MaxConnections = 1
node.session.iscsi.MaxOutstandingR2T = 1
node.session.iscsi.ERL = 0
node.conn[0].address = 10.8.0.6
node.conn[0].port = 3260
node.conn[0].startup = manual
node.conn[0].tcp.window_size = 524288
node.conn[0].tcp.type_of_service = 0
node.conn[0].timeo.logout_timeout = 15
node.conn[0].timeo.login_timeout = 15
node.conn[0].timeo.auth_timeout = 45
node.conn[0].timeo.active_timeout = 5
node.conn[0].timeo.idle_timeout = 60
node.conn[0].timeo.ping_timeout = 5
node.conn[0].timeo.noop_out_interval = 10
node.conn[0].timeo.noop_out_timeout = 15
node.conn[0].iscsi.MaxRecvDataSegmentLength = 131072
node.conn[0].iscsi.HeaderDigest = None,CRC32C
node.conn[0].iscsi.DataDigest = None
node.conn[0].iscsi.IFMarker = No
node.conn[0].iscsi.OFMarker = No

# iscsiadm -m node -T 
iqn.1986-03.com.sun:02:aff22998-3466-4bf4-ee3c-958fd4b5d346 -p 
10.8.0.6:3260,1 -o update -n node.session.iscsi.ImmediateData -v No

# iscsiadm -m node -T 
iqn.1986-03.com.sun:02:aff22998-3466-4bf4-ee3c-958fd4b5d346 -p 
10.8.0.6:3260,1 -o update -n iface.transport_name -v iser

# iscsiadm -m node -T 
iqn.1986-03.com.sun:02:aff22998-3466-4bf4-ee3c-958fd4b5d346 -p 10.8.0.6:3260
node.name = iqn.1986-03.com.sun:02:aff22998-3466-4bf4-ee3c-958fd4b5d346
node.tpgt = 1
node.startup = manual
iface.hwaddress = default
iface.iscsi_ifacename = default
iface.net_ifacename = default
iface.transport_name = iser
node.discovery_address = <empty>
node.discovery_port = 0
node.discovery_type = static
node.session.initial_cmdsn = 0
node.session.initial_login_retry_max = 4
node.session.cmds_max = 128
node.session.queue_depth = 32
node.session.auth.authmethod = None
node.session.auth.username = <empty>
node.session.auth.password = <empty>
node.session.auth.username_in = <empty>
node.session.auth.password_in = <empty>
node.session.timeo.replacement_timeout = 120
node.session.err_timeo.abort_timeout = 10
node.session.err_timeo.reset_timeout = 30
node.session.iscsi.FastAbort = Yes
node.session.iscsi.InitialR2T = No
node.session.iscsi.ImmediateData = No
node.session.iscsi.FirstBurstLength = 262144
node.session.iscsi.MaxBurstLength = 16776192
node.session.iscsi.DefaultTime2Retain = 0
node.session.iscsi.DefaultTime2Wait = 2
node.session.iscsi.MaxConnections = 1
node.session.iscsi.MaxOutstandingR2T = 1
node.session.iscsi.ERL = 0
node.conn[0].address = 10.8.0.6
node.conn[0].port = 3260
node.conn[0].startup = manual
node.conn[0].tcp.window_size = 524288
node.conn[0].tcp.type_of_service = 0
node.conn[0].timeo.logout_timeout = 15
node.conn[0].timeo.login_timeout = 15
node.conn[0].timeo.auth_timeout = 45
node.conn[0].timeo.active_timeout = 5
node.conn[0].timeo.idle_timeout = 60
node.conn[0].timeo.ping_timeout = 5
node.conn[0].timeo.noop_out_interval = 10
node.conn[0].timeo.noop_out_timeout = 15
node.conn[0].iscsi.MaxRecvDataSegmentLength = 131072
node.conn[0].iscsi.HeaderDigest = None,CRC32C
node.conn[0].iscsi.DataDigest = None
node.conn[0].iscsi.IFMarker = No
node.conn[0].iscsi.OFMarker = No

# iscsiadm -m node -T 
iqn.1986-03.com.sun:02:aff22998-3466-4bf4-ee3c-958fd4b5d346 -p 
10.8.0.6:3260 -l
Login session [iface: default, target: 
iqn.1986-03.com.sun:02:aff22998-3466-4bf4-ee3c-958fd4b5d346, portal: 
10.8.0.6,3260]
iscsiadm: initiator reported error (14 - iSCSI driver does not support 
requested capability.)
iscsiadm: Could not execute operation on all records. Err 107.
#




Mike Christie wrote:
> Mike Christie wrote:
>   
>> Jesse Butler wrote:
>>     
>>> Having some issues with SendTargets, so I've gone with this first  
>>> example (static config), and am seeing some issues with the modify.
>>>
>>> I am running the OpeniSCSI that comes with OFED 1.3.1. Should I move  
>>> to another release, maybe?
>>>
>>> /* create, no error */
>>> # iscsiadm -m node -T iqn.1986-03.com.sun:02:aff22998-3466-4bf4- 
>>> ee3c-958fd4b5d346 -p 10.8.0.6:3260 -o new
>>> New iSCSI node [tcp:[hw=default,ip=,net_if=default,iscsi_if=default]  
>>> 10.8.0.6,3260,-1 iqn.1986-03.com.sun:02:aff22998-3466-4bf4- 
>>> ee3c-958fd4b5d346] added
>>>
>>> /* dump the config */
>>> # iscsiadm -m node -T iqn.1986-03.com.sun:02:aff22998-3466-4bf4- 
>>> ee3c-958fd4b5d346 -p 10.8.0.6:3260
>>> node.name = iqn.1986-03.com.sun:02:aff22998-3466-4bf4-ee3c-958fd4b5d346
>>> node.tpgt = -1
>>> node.startup = manual
>>> iface.hwaddress = default
>>> iface.iscsi_ifacename = default
>>> iface.net_ifacename = default
>>> iface.transport_name = tcp
>>> node.discovery_address = <empty>
>>> node.discovery_port = 0
>>> node.discovery_type = static
>>> node.session.initial_cmdsn = 0
>>> node.session.initial_login_retry_max = 4
>>> node.session.cmds_max = 128
>>> node.session.queue_depth = 32
>>> node.session.auth.authmethod = None
>>> node.session.auth.username = <empty>
>>> node.session.auth.password = <empty>
>>> node.session.auth.username_in = <empty>
>>> node.session.auth.password_in = <empty>
>>> node.session.timeo.replacement_timeout = 120
>>> node.session.err_timeo.abort_timeout = 10
>>> node.session.err_timeo.reset_timeout = 30
>>> node.session.iscsi.FastAbort = Yes
>>> node.session.iscsi.InitialR2T = No
>>> node.session.iscsi.ImmediateData = Yes
>>> node.session.iscsi.FirstBurstLength = 262144
>>> node.session.iscsi.MaxBurstLength = 16776192
>>> node.session.iscsi.DefaultTime2Retain = 0
>>> node.session.iscsi.DefaultTime2Wait = 2
>>> node.session.iscsi.MaxConnections = 1
>>> node.session.iscsi.MaxOutstandingR2T = 1
>>> node.session.iscsi.ERL = 0
>>> node.conn[0].address = 10.8.0.6
>>> node.conn[0].port = 3260
>>> node.conn[0].startup = manual
>>> node.conn[0].tcp.window_size = 524288
>>> node.conn[0].tcp.type_of_service = 0
>>> node.conn[0].timeo.logout_timeout = 15
>>> node.conn[0].timeo.login_timeout = 15
>>> node.conn[0].timeo.auth_timeout = 45
>>> node.conn[0].timeo.active_timeout = 5
>>> node.conn[0].timeo.idle_timeout = 60
>>> node.conn[0].timeo.ping_timeout = 5
>>> node.conn[0].timeo.noop_out_interval = 10
>>> node.conn[0].timeo.noop_out_timeout = 15
>>> node.conn[0].iscsi.MaxRecvDataSegmentLength = 131072
>>> node.conn[0].iscsi.HeaderDigest = None,CRC32C
>>> node.conn[0].iscsi.DataDigest = None
>>> node.conn[0].iscsi.IFMarker = No
>>> node.conn[0].iscsi.OFMarker = No
>>>
>>> /* now, modify the transport (tcp to iser) */
>>> # iscsiadm -m node -T iqn.1986-03.com.sun:02:aff22998-3466-4bf4- 
>>> ee3c-958fd4b5d346 -p 10.8.0.6:3260 -o update -n iface.transport_name - 
>>> v iser
>>>
>>> /* no error, dump the config */
>>> # iscsiadm -m node -T iqn.1986-03.com.sun:02:aff22998-3466-4bf4- 
>>> ee3c-958fd4b5d346 -p 10.8.0.6:3260
>>> iscsiadm: iface iter could not stat /etc/iscsi/nodes/iqn. 
>>> 1986-03.com.sun:02:aff22998-3466-4bf4-ee3c-958fd4b5d346/10.8.0.6,3260.
>>> iscsiadm: Could not execute operation on all records. Err 19.
>>>
>>> /* not sure what happened, but my "1" entry is now "-1"... with "iser"  
>>> set as the transport_name */
>>> # grep transport_name /etc/iscsi/nodes/iqn.1986-03.com.sun\: 
>>> 02\:aff22998-3466-4bf4-ee3c-958fd4b5d346/10.8.0.6\,3260\,-1/default
>>> iface.transport_name = iser
>>>
>>>       
>> There is bug in the older tools where if you mix and match new style 
>> commands with old ones this happens. I think the one above was just 
>> busted though. I have no idea what is in ofed.
>>
>> If you set a tpgt when you create the node does it work then?
>> # iscsiadm -m node -T 
>> iqn.1986-03.com.sun:02:aff22998-3466-4bf4-ee3c-958fd4b5d346 -p 
>> 10.8.0.6:3260,$whatever_is_the_tpgt
>>
>> You do not have to set a valid final tpgt. When we login a normal 
>>     
>
> Actually maybe for the tools in ofed you need to set a valid tpgt. Try 
> it out with the tpgt if the portal and I think it should work.
>
> >
>   

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~----------~----~----~----~------~----~------~--~---

Reply via email to