Re: iscsiadm and lots of sessions

2017-01-27 Thread Chris Leech
Sorry, that didn't make sense as you said Centos 6.6.  I read your GitHub issue 
first and replied here on the list without noticing that there was more info.

I think you'll need to upgrade to iscsi-initiator-utils-6.2.0.873-17 or newer 
in order to get this fix in an distro package.  Centos 6.8 should have 
6.2.0.873-22, I don't think there would be any problem in just updating that 
package if you can't move the entire OS.  That should give you 24-bits of 
unique ISID instead of 8-bits.

Chris

- Original Message -
> Hi,
> 
> We'd need to know what version of the iSCSI tools you're using, distro vendor
> and package version or built from upstream sources.
> This should have been fixed about a year ago in the upstream source.
> 
> Thanks,
> Chris
> 
> - Original Message -
> > Hi,
> > I am running iscsiadm on CentOS 6.6.
> > I use the following bash code to create many sessions:
> > for i in `seq 1 257`; do iscsiadm -m session -r
> > /sys/devices/platform/host891/session883/ -o new; done
> > When using tcpdump, I see that in the login messages which are sent in
> > field ISID only the C field changes.
> > fields T is 0, A and B are the expected driver id but D is always 0.
> > This situation causes the 257th session to get the same isid as the 1st
> > session.
> > How can I get more unique sessions?
> > Thanks, Roy.
> > 
> 
> --
> 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 https://groups.google.com/group/open-iscsi.
> For more options, visit https://groups.google.com/d/optout.
> 

-- 
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 https://groups.google.com/group/open-iscsi.
For more options, visit https://groups.google.com/d/optout.


Re: iscsiadm and lots of sessions

2017-01-26 Thread Chris Leech
Hi,

We'd need to know what version of the iSCSI tools you're using, distro vendor 
and package version or built from upstream sources.
This should have been fixed about a year ago in the upstream source.

Thanks,
Chris

- Original Message -
> Hi,
> I am running iscsiadm on CentOS 6.6.
> I use the following bash code to create many sessions:
> for i in `seq 1 257`; do iscsiadm -m session -r
> /sys/devices/platform/host891/session883/ -o new; done
> When using tcpdump, I see that in the login messages which are sent in
> field ISID only the C field changes.
> fields T is 0, A and B are the expected driver id but D is always 0.
> This situation causes the 257th session to get the same isid as the 1st
> session.
> How can I get more unique sessions?
> Thanks, Roy.
> 

-- 
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 https://groups.google.com/group/open-iscsi.
For more options, visit https://groups.google.com/d/optout.


iscsiadm and lots of sessions

2017-01-25 Thread roy rosen
Hi,
I am running iscsiadm on CentOS 6.6.
I use the following bash code to create many sessions:
for i in `seq 1 257`; do iscsiadm -m session -r 
/sys/devices/platform/host891/session883/ -o new; done
When using tcpdump, I see that in the login messages which are sent in 
field ISID only the C field changes.
fields T is 0, A and B are the expected driver id but D is always 0.
This situation causes the 257th session to get the same isid as the 1st 
session.
How can I get more unique sessions?
Thanks, Roy.

-- 
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 https://groups.google.com/group/open-iscsi.
For more options, visit https://groups.google.com/d/optout.