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



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