Re: Re: HELP! iscsiadm: No records found! and iscsiadm: connection to discovery failed

2012-07-03 Thread rgc-iscsi
It was a firewall issue my admin had me change the iptables.conf to allow 
the port 3260 and the 10.address.  Thanks for the help 
everyone...please delete or edit any addresses for security.  Thanks.

On Saturday, June 30, 2012 3:42:34 AM UTC-5, Uli wrote:

  rgc-iscsi rgcoy1...@gmail.com schrieb am 29.06.2012 um 21:19 in 
 Nachricht 
 3e8acdf5-19da-4543-aaf3-809781f49...@googlegroups.com: 
  How do I setup the acls? 
  
  The var/log/messages is very long. 
  Here some lines: 
  I'm not sure of the 139.. address. 
  
  Feb 27 12:07:40 ddshost kernel: [5360471.243943] martian source 
  139from 10..n dev br0 
  
  Feb 27 12:07:40 ddshost kernel: [5360471.243945] ll header: 
  ff:ff:ff:.. 

 This looks like the Firewall is active on your initiator! 

 Regards, 
 Ulrich 



-- 
You received this message because you are subscribed to the Google Groups 
open-iscsi group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/open-iscsi/-/loa_aTghaZYJ.
To post to this group, send email to open-iscsi@googlegroups.com.
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.



Antw: Re: HELP! iscsiadm: No records found! and iscsiadm: connection to discovery failed

2012-06-30 Thread Ulrich Windl
 rgc-iscsi rgcoy1...@gmail.com schrieb am 29.06.2012 um 21:19 in Nachricht
3e8acdf5-19da-4543-aaf3-809781f49...@googlegroups.com:
 How do I setup the acls?
 
 The var/log/messages is very long.
 Here some lines:
 I'm not sure of the 139.169.246.129 address.
 
 Feb 27 12:07:40 ddshost kernel: [5360471.243943] martian source 
 139.169.246.129 from 10.29.6.179, on dev br0
 
 Feb 27 12:07:40 ddshost kernel: [5360471.243945] ll header: 
 ff:ff:ff:ff:ff:ff:52:54:00:02:08:b3:08:06

This looks like the Firewall is active on your initiator!

Regards,
Ulrich

-- 
You received this message because you are subscribed to the Google Groups 
open-iscsi group.
To post to this group, send email to open-iscsi@googlegroups.com.
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.



Re: HELP! iscsiadm: No records found! and iscsiadm: connection to discovery failed

2012-06-29 Thread Mike Christie

On 06/29/2012 01:27 PM, rgc-iscsi wrote:

I am trying to connect to two iscsi drives already set up on a NAS
drive.  Windows can easily connect to these but the server being used to
run back ups is linux/debian 6.0.4 with kernel 2.6.32-5-686-bigmem and
open-iscsi is newest i believe.  I have checked this forum and others
trying to find my problem but other peoples solutions either did not
solve my problem or I didn't have files referenced in the solutions.  I
am getting No records found when i run open-iscsi restart and then when
i type: iscsiadm --mode discovery --type sendtargets --portal
(ipa):3260.   I get iscsiadm: connection to discovery address failed.  I
don't understand why this isn't working when it seems so
straightforward.  Is it a firewall issue?  If anyone can help me please do.



Do you have the linux iscsi initiator name in whatever acls you have 
setup on the target if needed?


Do you see any error messages in /var/log/messages?

Send all the output with debugging on:

iscsiadm --mode discovery --type sendtargets --portal  ipa):3260 -d 8

--
You received this message because you are subscribed to the Google Groups 
open-iscsi group.
To post to this group, send email to open-iscsi@googlegroups.com.
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.



Re: HELP! iscsiadm: No records found! and iscsiadm: connection to discovery failed

2012-06-29 Thread rgc-iscsi
How do I setup the acls?

The var/log/messages is very long.
Here some lines:
I'm not sure of the 139.169.246.129 address.

Feb 27 12:07:40 ddshost kernel: [5360471.243943] martian source 
139.169.246.129 from 10.29.6.179, on dev br0

Feb 27 12:07:40 ddshost kernel: [5360471.243945] ll header: 
ff:ff:ff:ff:ff:ff:52:54:00:02:08:b3:08:06

iscsiadm: Max file limits 1024 1024

iscsiadm: updating defaults from '/etc/iscsi/iscsid.conf'
iscsiadm: updated 'discovery.sendtargets.iscsi.MaxRecvDataSegmentLength', 
'32768' = '32768'
iscsiadm: updated 'node.startup', 'manual' = 'manual'
iscsiadm: updated 'node.session.timeo.replacement_timeout', '120' = '120'
iscsiadm: updated 'node.conn[0].timeo.login_timeout', '30' = '15'
iscsiadm: updated 'node.conn[0].timeo.logout_timeout', '15' = '15'
iscsiadm: updated 'node.conn[0].timeo.noop_out_interval', '5' = '5'
iscsiadm: updated 'node.conn[0].timeo.noop_out_timeout', '5' = '5'
iscsiadm: updated 'node.session.err_timeo.abort_timeout', '15' = '15'
iscsiadm: updated 'node.session.err_timeo.lu_reset_timeout', '30' = '20'
iscsiadm: updated 'node.session.initial_login_retry_max', '4' = '8'
iscsiadm: updated 'node.session.cmds_max', '128' = '128'
iscsiadm: updated 'node.session.queue_depth', '32' = '32'
iscsiadm: updated 'node.session.xmit_thread_priority', '-20' = '-20'
iscsiadm: updated 'node.session.iscsi.InitialR2T', 'No' = 'No'
iscsiadm: updated 'node.session.iscsi.ImmediateData', 'Yes' = 'Yes'
iscsiadm: updated 'node.session.iscsi.FirstBurstLength', '262144' = 
'262144'
iscsiadm: updated 'node.session.iscsi.MaxBurstLength', '16776192' = 
'16776192'
iscsiadm: updated 'node.conn[0].iscsi.MaxRecvDataSegmentLength', '262144' 
= '262144'
iscsiadm: updated 'node.session.iscsi.FastAbort', 'Yes' = 'Yes'
iscsiadm: Looking for config file /etc/iscsi/send_targets/10.29.6.188,3260

iscsiadm: Looking for config file /etc/iscsi/send_targets/10.29.6.188,3260 
config st_config.
iscsiadm: updated 'discovery.startup', 'manual' = 'manual'
iscsiadm: updated 'discovery.type', 'sendtargets' = 'sendtargets'
iscsiadm: updated 'discovery.sendtargets.address', '' = '10.29.6.188'
iscsiadm: updated 'discovery.sendtargets.port', '0' = '3260'
iscsiadm: updated 'discovery.sendtargets.auth.authmethod', 'None' = 'None'
iscsiadm: updated 'discovery.sendtargets.timeo.login_timeout', '15' = '15'
iscsiadm: updated 'discovery.sendtargets.reopen_max', '5' = '5'
iscsiadm: updated 'discovery.sendtargets.timeo.auth_timeout', '45' = '45'
iscsiadm: updated 'discovery.sendtargets.timeo.active_timeout', '30' = '30'
iscsiadm: updated 'discovery.sendtargets.iscsi.MaxRecvDataSegmentLength', 
'32768' = '32768'
iscsiadm: overwriting existing record
iscsiadm: Looking for config file /etc/iscsi/send_targets/10.29.6.188,3260

iscsiadm: in read_transports
iscsiadm: Adding new transport iser
iscsiadm: sysfs_attr_get_value: open '/class/iscsi_transport/iser'/'handle'

iscsiadm: sysfs_attr_get_value: new uncached attribute 
'/sys/class/iscsi_transport/iser/handle'

iscsiadm: sysfs_attr_get_value: add to cache 
'/sys/class/iscsi_transport/iser/handle'

iscsiadm: sysfs_attr_get_value: cache 
'/sys/class/iscsi_transport/iser/handle' with attribute value '4197452340'

iscsiadm: sysfs_attr_get_value: open '/class/iscsi_transport/iser'/'caps'

iscsiadm: sysfs_attr_get_value: new uncached attribute 
'/sys/class/iscsi_transport/iser/caps'

iscsiadm: sysfs_attr_get_value: add to cache 
'/sys/class/iscsi_transport/iser/caps'

iscsiadm: sysfs_attr_get_value: cache 
'/sys/class/iscsi_transport/iser/caps' with attribute value '0x9'

iscsiadm: Adding new transport tcp
iscsiadm: sysfs_attr_get_value: open '/class/iscsi_transport/tcp'/'handle'

iscsiadm: sysfs_attr_get_value: new uncached attribute 
'/sys/class/iscsi_transport/tcp/handle'

iscsiadm: sysfs_attr_get_value: add to cache 
'/sys/class/iscsi_transport/tcp/handle'

iscsiadm: sysfs_attr_get_value: cache 
'/sys/class/iscsi_transport/tcp/handle' with attribute value '4196705172'

iscsiadm: sysfs_attr_get_value: open '/class/iscsi_transport/tcp'/'caps'

iscsiadm: sysfs_attr_get_value: new uncached attribute 
'/sys/class/iscsi_transport/tcp/caps'

iscsiadm: sysfs_attr_get_value: add to cache 
'/sys/class/iscsi_transport/tcp/caps'

iscsiadm: sysfs_attr_get_value: cache '/sys/class/iscsi_transport/tcp/caps' 
with attribute value '0x39'

iscsiadm: in read_transports
iscsiadm: Updating transport iser
iscsiadm: sysfs_attr_get_value: open '/class/iscsi_transport/iser'/'handle'

iscsiadm: sysfs_attr_get_value: found in cache 
'/class/iscsi_transport/iser/handle'

iscsiadm: sysfs_attr_get_value: open '/class/iscsi_transport/iser'/'caps'

iscsiadm: sysfs_attr_get_value: found in cache 
'/class/iscsi_transport/iser/caps'

iscsiadm: Updating transport tcp
iscsiadm: sysfs_attr_get_value: open '/class/iscsi_transport/tcp'/'handle'

iscsiadm: sysfs_attr_get_value: found in cache 
'/class/iscsi_transport/tcp/handle'

iscsiadm: sysfs_attr_get_value: open '/class/iscsi_transport/tcp'/'caps'

iscsiadm: 

Re: HELP! iscsiadm: No records found! and iscsiadm: connection to discovery failed

2012-06-29 Thread rgc-iscsi
Yes the 10.29... address is correct.  I can ping it from the linux though 
with response and I can connect and mnt the cifs share on the drive also.  
It is not currently connected to the cifs share though.  I will see if my 
coworker can check with wireshark since I do not have it on my computer and 
I don't think the server has it either.  I also only have root on the 
alternate debian vm's but not the host.  I am getting the same errors on 
the other as well even when logged in as root.  My administrator is on 
vacation so I can't have him help me troubleshoot for another week...and he 
is unfamiliar with iscsi...that is my assignment currently.

-- 
You received this message because you are subscribed to the Google Groups 
open-iscsi group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/open-iscsi/-/I6fd-ApqCdYJ.
To post to this group, send email to open-iscsi@googlegroups.com.
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.



Re: HELP! iscsiadm: No records found! and iscsiadm: connection to discovery failed

2012-06-29 Thread Mike Christie

On 06/29/2012 02:53 PM, rgc-iscsi wrote:

Yes the 10.29... address is correct.  I can ping it from the linux
though with response and I can connect and mnt the cifs share on the
drive also.  It is not currently connected to the cifs share though.  I
will see if my coworker can check with wireshark since I do not have it
on my computer


What about tcpdump? If so run

tcpdump -w iscsitrace.out -i name-of-your-net-dev-like-eth0

Do that command, then run the iscsiadm discovery command, then stop 
tcpdump and send the iscsitrace.out file to me.


--
You received this message because you are subscribed to the Google Groups 
open-iscsi group.
To post to this group, send email to open-iscsi@googlegroups.com.
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.



Re: HELP! iscsiadm: No records found! and iscsiadm: connection to discovery failed

2012-06-29 Thread Mike Christie
Could you also tell me what type of NAS drive you have? And you are sure 
it has iscsi enabled, right? When you said Windows can easily connect 
did you meant with iscsi and you still have it setup to do iscsi?



On 06/29/2012 08:56 PM, Mike Christie wrote:

On 06/29/2012 02:53 PM, rgc-iscsi wrote:

Yes the 10.29... address is correct.  I can ping it from the linux
though with response and I can connect and mnt the cifs share on the
drive also.  It is not currently connected to the cifs share though.  I
will see if my coworker can check with wireshark since I do not have it
on my computer


What about tcpdump? If so run

tcpdump -w iscsitrace.out -i name-of-your-net-dev-like-eth0

Do that command, then run the iscsiadm discovery command, then stop
tcpdump and send the iscsitrace.out file to me.



--
You received this message because you are subscribed to the Google Groups 
open-iscsi group.
To post to this group, send email to open-iscsi@googlegroups.com.
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.