Re: iscsiadm: No records found!

2017-08-08 Thread vinodmghodke
Thanks Sushanth . after lot of google, your tips works... Thanks 
again... heartly thankfull ...




On Wednesday, 24 July 2013 18:51:58 UTC+5:30, Sushanth Bhat wrote:

> Hi Nithin
>
> Are you still facing the same problem?
>
> Try commenting all the lines in open filer machine "*/etc/initiator.deny*
> ".
>
> And also check* iptables* you could just stop or edit *"# service 
> iptables stop"*
>
> Reboot the machine.
>
> On Thursday, 14 February 2008 23:14:30 UTC+5:30, nithink...@gmail.com 
> wrote:
>>
>>
>>
>> On Feb 14, 10:23 pm, Mike Christie  wrote: 
>> > nithinkumar...@gmail.com wrote: 
>> > > Apart from this i ll show you the iscsid.conf 
>> > 
>> > >  node.startup = automatic 
>> > > node.session.auth.authmethod = CHAP 
>> > > node.session.auth.username = xx 
>> > > node.session.auth.password = xxx 
>> > > discovery.sendtargets.auth.authmethod = CHAP 
>> > > discovery.sendtargets.auth.username =  
>> > > discovery.sendtargets.auth.password = xxx 
>> > 
>> > Maybe we should start with a really simple setup. If you remove all the 
>> > CHAP settings from the target and initiator, does it work? If you then 
>> I have removed all the CHAP setting from both the initiator as well as 
>> target. 
>> Still the same problem. 
>> > do one way chap does it work?
>
>

-- 
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: No records found!

2013-07-24 Thread sushanth . bhat
Hi Nithin

Are you still facing the same problem?

Try commenting all the lines in open filer machine */etc/initiator.deny*.

And also check* iptables* you could just stop or edit *# service iptables 
stop*

Reboot the machine.

On Thursday, 14 February 2008 23:14:30 UTC+5:30, nithink...@gmail.com wrote:



 On Feb 14, 10:23 pm, Mike Christie micha...@cs.wisc.edu wrote: 
  nithinkumar...@gmail.com wrote: 
   Apart from this i ll show you the iscsid.conf 
  
node.startup = automatic 
   node.session.auth.authmethod = CHAP 
   node.session.auth.username = xx 
   node.session.auth.password = xxx 
   discovery.sendtargets.auth.authmethod = CHAP 
   discovery.sendtargets.auth.username =  
   discovery.sendtargets.auth.password = xxx 
  
  Maybe we should start with a really simple setup. If you remove all the 
  CHAP settings from the target and initiator, does it work? If you then 
 I have removed all the CHAP setting from both the initiator as well as 
 target. 
 Still the same problem. 
  do one way chap does it work?

-- 
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/groups/opt_out.




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.



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

2012-06-29 Thread rgc-iscsi
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.

-- 
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/-/EAahE1TLcUgJ.
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.



Setting up iSCSI targets: iscsiadm: No records found! problem

2010-10-04 Thread joachim.deschrij...@ugent.be
Hi all,

I am trying to setup a backup partition on a 40TB storage server.
There are already partitions setup on that server that are working, so
the storage server configuration is ok.

So I have another server where I need the storage, which I will call
worker-server for the sake of explanation and storage-server is the
40TB one.

Using openfiler:
* I created a 4TB partition on the storage-server
* created a target
* did LUN mapping
* created a network entry (255.255.255.255 mask, ok?)
* allowed access to it.

So I log into the worker-server:
* I install iscsi-initiator-utils
* chkconfig iscsi on
* I checked initiatorname.iscsi, there is something there, so should
be ok?
* I run service iscsi start - Setting up iSCSI targets: iscsiadm: No
records found! ...
* Needless to say, discovery is blank as well when I run iscsiadm --
mode discovery --type sendtargets --portal ip_address

Am I doing something completely wrong? Anyone any suggestion?

-- 
You received this message because you are subscribed to the Google Groups 
open-iscsi group.
To post to this group, send email to open-is...@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: Setting up iSCSI targets: iscsiadm: No records found! problem

2010-10-04 Thread Mike Christie

On 10/04/2010 11:51 AM, joachim.deschrij...@ugent.be wrote:

Hi all,

I am trying to setup a backup partition on a 40TB storage server.
There are already partitions setup on that server that are working, so
the storage server configuration is ok.

So I have another server where I need the storage, which I will call
worker-server for the sake of explanation and storage-server is the
40TB one.

Using openfiler:
* I created a 4TB partition on the storage-server
* created a target
* did LUN mapping
* created a network entry (255.255.255.255 mask, ok?)
* allowed access to it.

So I log into the worker-server:
* I install iscsi-initiator-utils
* chkconfig iscsi on
* I checked initiatorname.iscsi, there is something there, so should
be ok?
* I run service iscsi start -  Setting up iSCSI targets: iscsiadm: No
records found! ...
* Needless to say, discovery is blank as well when I run iscsiadm --
mode discovery --type sendtargets --portalip_address

Am I doing something completely wrong? Anyone any suggestion?



That last time this was reported the user had to modify the target a 
little more. Here is what they said they had to do:



Thanks for your reply. I was able to resolve the issue by modifying
/etc/initiator.deny and commenting all the lines that were denying access to
configured disk.

--
You received this message because you are subscribed to the Google Groups 
open-iscsi group.
To post to this group, send email to open-is...@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.



iscsiadm: no records found

2010-06-23 Thread samba
hi
1. I created the five logical volumes in  volume group (rac1).

2. Created  iscsi targets for each of these five volumes
3. Create New Target IQN for 5 logical volumes with 5 names
4.Done LUN Mapping  Network ACL

5. iSCSI service is started, use the iscsiadm command-line interface
to discover all available targets on the network storage server
iscsiadm -m discovery -t sendtargets -p openfiler1-priv
192.168.2.195:3260,1 iqn.2006-01.com.openfiler:racdb.asm1
192.168.2.195:3260,1 iqn.2006-01.com.openfiler:racdb.asm2
192.168.2.195:3260,1 iqn.2006-01.com.openfiler:racdb.asm3
192.168.2.195:3260,1 iqn.2006-01.com.openfiler:racdb.asm4
192.168.2.195:3260,1 iqn.2006-01.com.openfiler:racdb.crs

6.when i Manually Login to iSCSI Targets i got messgae like

iscsiadm -m node -T iqn.2006-01.com.openfiler:racdb.asm1 -p
192.168.2.195 -l
 
.asm2
 
.asm3
 
.asm4

iscsiadm: no records found!

when i run
iscsiadm -m node -T iqn.2006-01.com.openfiler:racdb.crs  -p
192.168.2.195

it show s nothing..

please tell me what i did mistake


.

-- 
You received this message because you are subscribed to the Google Groups 
open-iscsi group.
To post to this group, send email to open-is...@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: iscsiadm: no records found

2010-06-23 Thread Mike Christie

On 06/21/2010 11:01 PM, samba wrote:

hi
1. I created the five logical volumes in  volume group (rac1).

2. Created  iscsi targets for each of these five volumes
3. Create New Target IQN for 5 logical volumes with 5 names
4.Done LUN Mapping  Network ACL

5. iSCSI service is started, use the iscsiadm command-line interface
to discover all available targets on the network storage server
iscsiadm -m discovery -t sendtargets -p openfiler1-priv
192.168.2.195:3260,1 iqn.2006-01.com.openfiler:racdb.asm1
192.168.2.195:3260,1 iqn.2006-01.com.openfiler:racdb.asm2
192.168.2.195:3260,1 iqn.2006-01.com.openfiler:racdb.asm3
192.168.2.195:3260,1 iqn.2006-01.com.openfiler:racdb.asm4
192.168.2.195:3260,1 iqn.2006-01.com.openfiler:racdb.crs

6.when i Manually Login to iSCSI Targets i got messgae like

iscsiadm -m node -T iqn.2006-01.com.openfiler:racdb.asm1 -p
192.168.2.195 -l
  
.asm2
  
.asm3
  
.asm4


So does iscsiadm actually print out aht .asm2 over there?

What version of open-iscsi are you using?

Do you have multiple versions installed? If you do whereis iscsiadm do 
you see it installed in multiple places?



If after running the discovery command you do

iscsiadm -m node -P 1

Do you see the targets and portals?


If you do, then if you run

iscsiadm -m node -l

Does that log into all the targets ok?

--
You received this message because you are subscribed to the Google Groups 
open-iscsi group.
To post to this group, send email to open-is...@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: iscsiadm: No records found! debian lenny

2009-06-22 Thread Stefan

Am Sonntag 21 Juni 2009 18:23:03 schrieb Mike Christie:


 then iscsid will login into those targets you found when you did
 discovery. iscsid will also then have the scsi layer do a scsi scan and
 search for disks. If it finds them then you can mount and use them like
 a local disk. If you are not seeing any disks then you probably have not
 set something up right in openfiler.

You are correct! I dont have LUNs mapped in openfiler arrgghhh !!


thanks for help!!!
stefan

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: iscsiadm: No records found! debian lenny

2009-06-21 Thread Mike Christie

On 06/20/2009 09:13 AM, Stefan wrote:
 Am Samstag 20 Juni 2009 12:53:45 schrieb Stefan:

 okay, have it: I copied the configs from another machine and did a iscsi
 restart doing discover:
 iscsiadm  -m discovery -t st -p 10.100.100.30
 10.100.100.30:3260,1 iqn.2006-01.com.openfiler:tsn.e1ed9b1eb42c
 10.100.100.30:3260,1 iqn.from10-100-100-4.com.openfiler:tsn.1391acfee1c6
 10.100.100.30:3260,1 iqn.fromlenny.com.openfiler:tsn.7480be2c6f3f

 dont know, what was wrong with the old config

 but nothing is mounted and I can not find a log entry . How can I mount the
 scsi device now? fdisk -l shows no such scsi device.


After you do discovery, then you can login to the target to find disks. 
When you do

iscsiadm -m node ... -l
or
iscsiadm -m node -L all/manual/automatic
or
service iscsi start

then iscsid will login into those targets you found when you did 
discovery. iscsid will also then have the scsi layer do a scsi scan and 
search for disks. If it finds them then you can mount and use them like 
a local disk. If you are not seeing any disks then you probably have not 
set something up right in openfiler.

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



iscsiadm: No records found! debian lenny

2009-06-18 Thread Stefan

Hello al,
I want to do a iscsi connection from a debian lenny machine do a san
(openfiler.com) and getting such error  when trying:

iscsiadm: No records found!


Im doing:
iscsiadm --mode discovery --type sendtargets --portal 10.100.100.30
10.100.100.30:3260,1 iqn.2006-01.com.openfiler:tsn.c0aa34c0adda

/etc/init.d/open-iscsi restart
Disconnecting iSCSI targets:.
Stopping iSCSI initiator service:.
Starting iSCSI initiator service: iscsid.
Setting up iSCSI targets:
iscsiadm: No records found!

nmap shows the port open from lenny machine. Can not find a log.

can someone help?
tia
stefan
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: iscsistart or iscsiadm .. no records found

2008-05-01 Thread Mike Christie

aspasia wrote:
 Hello again,
 
 I followed the recommendation to create the record, so I added the
 following in my initrd:
 
 iscsiadm -m node -T iqn.2008-04.com.mycompany:storage.ubuntu8_x86_test
 -p 192.168.17.3:3260 -o new
 iscsiadm -m node -T iqn.2008-04.com.mycompany:storage.ubuntu8_x86_test
 -p 192.168.17.3:3260 -l
 
 This time, the record was added, yet iscsiadm still failed to connect,
 and (I was actually thinking of iscsid) this time states it's unable
 to talk to the daemon.  Did I have to copy the iscsid binary to
 the /bin directory of my initrd package?  or am I missing a library or
 module that needs to be loaded?
 
 The following errors appears:
 
 iscsiadm:  cannot connect to SCSI daemon (111)!

With iscsiadm you need iscsid.

With iscsistart you do not need iscsid.



--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~--~~~~--~~--~--~---



RE: iscsiadm: No records found!

2008-02-14 Thread Don Williams

You provided almost no information about the iSCSI target, the version of
open-iSCSI, Distro or Kernel rev. 

 When you run the discovery command does it find any targets? 

 One suggestion. Add :3260 to the end of the discovery command.   

 Don


-Original Message-
From: open-iscsi@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent: Thursday, February 14, 2008 8:05 AM
To: open-iscsi
Subject: iscsiadm: No records found!


Hello all,

i have run
iscsiadm -m discovery -t sendtargets -p 10.129.1.71

after this when i restart open-iscsi, its showing that no records
found
/etc/init.d/open-iscsi restart

 * Disconnecting iSCSI
targets
[ OK ]
 * Stopping iSCSI initiator
service
[ OK ]
 * Starting iSCSI initiator service
iscsid
[ OK ]
 * Setting up iSCSI
targets
iscsiadm: No records found!
 
[ OK ]

Can anybody tell what could be the problem?



--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~--~~~~--~~--~--~---



Re: iscsiadm: No records found!

2008-02-14 Thread [EMAIL PROTECTED]



On Feb 14, 8:22 pm, Don Williams [EMAIL PROTECTED] wrote:
 You provided almost no information about the iSCSI target, the version of
 open-iSCSI, Distro or Kernel rev.

kernel :- 2.6.22-14-generic
OS:- Ubuntu Gutsy
open-iscsi version:- 2.0.865-1
  When you run the discovery command does it find any targets?

When i run discovery command there is no output.

  One suggestion. Add :3260 to the end of the discovery command.

I tried this. No result
  Don

Apart from this i ll show you the iscsid.conf

 node.startup = automatic
node.session.auth.authmethod = CHAP
node.session.auth.username = xx
node.session.auth.password = xxx
discovery.sendtargets.auth.authmethod = CHAP
discovery.sendtargets.auth.username = 
discovery.sendtargets.auth.password = xxx
node.session.timeo.replacement_timeout = 120
node.conn[0].timeo.login_timeout = 15
node.conn[0].timeo.logout_timeout = 15
node.conn[0].timeo.noop_out_interval = 10
node.conn[0].timeo.noop_out_timeout = 15

node.session.iscsi.InitialR2T = No
node.session.iscsi.ImmediateData = Yes
node.session.iscsi.FirstBurstLength = 262144
node.session.iscsi.MaxBurstLength = 16776192
node.conn[0].iscsi.MaxRecvDataSegmentLength = 131072
discovery.sendtargets.iscsi.MaxRecvDataSegmentLength = 32768

When i run iscsid -f -d 8
The following was the output
[EMAIL PROTECTED]:/etc/iscsi# iscsid -f -d 8
iscsid: transport class version 2.0-724. iscsid version 2.0-865
iscsid: in ctldev_open
iscsid: created NETLINK_ISCSI socket...
iscsid: InitiatorName==iqn.1993-08.org.debian:01:7b3b391c825
iscsid: an InitiatorAlias= is required, but was not found in /etc/
iscsi/initiatorname.iscsi
iscsid: InitiatorName=iqn.1993-08.org.debian:01:7b3b391c825
iscsid: InitiatorAlias=venus
iscsid: iscsid_exit
iscsid: in ctldev_close
iscsid: reaped pid 6626, reap_count now 0
iscsid: poll result 1
iscsid: poll result 1
iscsid: poll result 1

The last three lines of above output was the result of running the
iscsiadm command for discovery.



 -Original Message-
 From: open-iscsi@googlegroups.com [mailto:[EMAIL PROTECTED] On

 Behalf Of [EMAIL PROTECTED]
 Sent: Thursday, February 14, 2008 8:05 AM
 To: open-iscsi
 Subject: iscsiadm: No records found!

 Hello all,

 i have run
 iscsiadm -m discovery -t sendtargets -p 10.129.1.71

 after this when i restart open-iscsi, its showing that no records
 found
 /etc/init.d/open-iscsi restart

  * Disconnecting iSCSI
 targets
 [ OK ]
  * Stopping iSCSI initiator
 service
 [ OK ]
  * Starting iSCSI initiator service
 iscsid
 [ OK ]
  * Setting up iSCSI
 targets
 iscsiadm: No records found!

 [ OK ]

 Can anybody tell what could be the problem?
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~--~~~~--~~--~--~---