What iSCSI target are you using? 

 Are you using a packaged version of the open-iSCSI initiator or did you
build it from the code on the open-iSCSI website? 

 You should also create an /etc/iscsi/initiatorname.iscsi 

 Don


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 14, 2008 11:32 AM
To: open-iscsi
Cc: [EMAIL PROTECTED]
Subject: Re: iscsiadm: No records found!



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 = xxxxxx
node.session.auth.password = xxxxxxx
discovery.sendtargets.auth.authmethod = CHAP
discovery.sendtargets.auth.username = xxxxxxxx
discovery.sendtargets.auth.password = xxxxxxx
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to