FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 10-04-2011, 03:39 PM
Juan Sierra Pons
 
Default StorCenter ix2-200 Network Storage over open-iscsi package.

2011/10/4 Joey L <mjh2000@gmail.com>:
> sorry -- this is the error i get when i restart /etc/init.d/open-iscsi :
>
> Logging in to [iface: default, target:
> iqn.1992-04.com.emc:storage.mjhstg.iscsi, portal: 10.168.2.57,3260]
> iscsiadm: Could not login to [iface: default, target:
> iqn.1992-04.com.emc:storage.mjhstg.iscsi, portal: 10.168.2.57,3260]:
> iscsiadm: initiator reported error (15 - already exists)
> iscsiadm: Could not log into all portals. Err 15.
>
>
> On Tue, Oct 4, 2011 at 10:40 AM, Joey L <mjh2000@gmail.com> wrote:
>> I am getting a strange error with the open-iscsi package on debian
>> using nas*StorCenter ix2-200 Network Storage.
>>
>> I think i setup the device correctly following this:
>> iscsiadm -m node -T iqn.1992-04.com.emc:storage.xxxstg.iscsi -p
>> 10.168.2.57 --op update -n node.session.auth.username -v admin
>> iscsiadm -m node -T iqn.1992-04.com.emc:storage.xxxstg.iscsi -p
>> 10.168.2.57 --op update -n node.session.auth.password -v adminadmin
>>
>> *iscsiadm -m node -T iqn.1992-04.com.emc:storage.xxxstg.iscsi -p
>> 10.168.2.57 --op update -n node.startup -v automatic
>>
>>
>> iscsiadm -m discovery -t sendtargets -p 10.168.2.57:3260
>> 10.168.2.57:3260,1 iqn.1992-04.com.emc:storage.xxxstg.iscsi
>>
>>
>> when i execute this command:
>> iscsiadm -m node -T iqn.1992-04.com.emc:storage.xxxstg.iscsi -p 10.168.2.57 -l
>>
>> I get error:
>>
>>
>> Oct *4 10:34:07 rider iscsid: iSCSI logger with pid=30766 started!
>> Oct *4 10:34:07 rider iscsid: transport class version 2.0-870. iscsid
>> version 2.0-871
>> Oct *4 10:34:07 rider iscsid: iSCSI daemon with pid=30767 started!
>> Oct *4 10:34:08 rider iscsid: could not read session targetname: 5
>> Oct *4 10:34:08 rider iscsid: could not find session info for session1
>> Oct *4 10:34:08 rider iscsid: could not read session targetname: 5
>> Oct *4 10:34:08 rider iscsid: could not find session info for session1
>> Oct *4 10:34:08 rider iscsid: session
>> [iqn.1992-04.com.emc:storage.mjhstg.iscsi,10.168.2.57,3260] already
>> running.
>>
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: http://lists.debian.org/CAK3ER7soNbNChO AM-Q_xLZ8Z2rwK9JeosXW4Jt4jaJSLQ@mail.gmail.com
>
>

Hi

This seems a authentication error for me:

Logging in to [iface: default, target:
iqn.1992-04.com.emc:storage.mjhstg.iscsi, portal: 10.168.2.57,3260]
iscsiadm: Could not login to [iface: default, target:
iqn.1992-04.com.emc:storage.mjhstg.iscsi, portal: 10.168.2.57,3260]:
iscsiadm: initiator reported error (15 - already exists)
iscsiadm: Could not log into all portals. Err 15.


Are you sure the password is right in the configuration file?

node.session.auth.username = user
node.session.auth.password = password

And the authentication method? Are you using the same in both sides
initiator and target?

node.session.auth.authmethod = CHAP

Best regards

Juan

--------------------------------------------------------------------------------------
Juan Sierra Pons juan@elsotanillo.net
Linux User Registered: #257202 http://www.elsotanillo.net
GPG key = 0xA110F4FE
Key Fingerprint = DF53 7415 0936 244E 9B00 6E66 E934 3406 A110 F4FE
--------------------------------------------------------------------------------------


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CABS=y9vSDUWz1+Nb-vFoj1DPGSdWzULYcuuiZ0XX2-isg9ncAQ@mail.gmail.com">http://lists.debian.org/CABS=y9vSDUWz1+Nb-vFoj1DPGSdWzULYcuuiZ0XX2-isg9ncAQ@mail.gmail.com
 
Old 10-04-2011, 03:50 PM
Joey L
 
Default StorCenter ix2-200 Network Storage over open-iscsi package.

yes..on all counts - i have been trying different methods of
connecting - but same error.
It seems like it does not clean up past configurations and it is not
unloading drivers properly.
when i stop the service - i still see it in ps -aux ---regarding the
iscsi module/service.
I need to know the following as well as anything you can think of :

1. Is there anything you know how i can clean up past loads ??

2. any debug mode you can think of on debian ??

3. there is a major iscsi.conf file for info and then there is the
individual device file under the node directory -- which one is it
reading ???? which one should i modify ???

thanks
mjh


On Tue, Oct 4, 2011 at 11:39 AM, Juan Sierra Pons <juan@elsotanillo.net> wrote:
> 2011/10/4 Joey L <mjh2000@gmail.com>:
>> sorry -- this is the error i get when i restart /etc/init.d/open-iscsi :
>>
>> Logging in to [iface: default, target:
>> iqn.1992-04.com.emc:storage.mjhstg.iscsi, portal: 10.168.2.57,3260]
>> iscsiadm: Could not login to [iface: default, target:
>> iqn.1992-04.com.emc:storage.mjhstg.iscsi, portal: 10.168.2.57,3260]:
>> iscsiadm: initiator reported error (15 - already exists)
>> iscsiadm: Could not log into all portals. Err 15.
>>
>>
>> On Tue, Oct 4, 2011 at 10:40 AM, Joey L <mjh2000@gmail.com> wrote:
>>> I am getting a strange error with the open-iscsi package on debian
>>> using nas*StorCenter ix2-200 Network Storage.
>>>
>>> I think i setup the device correctly following this:
>>> iscsiadm -m node -T iqn.1992-04.com.emc:storage.xxxstg.iscsi -p
>>> 10.168.2.57 --op update -n node.session.auth.username -v admin
>>> iscsiadm -m node -T iqn.1992-04.com.emc:storage.xxxstg.iscsi -p
>>> 10.168.2.57 --op update -n node.session.auth.password -v adminadmin
>>>
>>> *iscsiadm -m node -T iqn.1992-04.com.emc:storage.xxxstg.iscsi -p
>>> 10.168.2.57 --op update -n node.startup -v automatic
>>>
>>>
>>> iscsiadm -m discovery -t sendtargets -p 10.168.2.57:3260
>>> 10.168.2.57:3260,1 iqn.1992-04.com.emc:storage.xxxstg.iscsi
>>>
>>>
>>> when i execute this command:
>>> iscsiadm -m node -T iqn.1992-04.com.emc:storage.xxxstg.iscsi -p 10.168.2.57 -l
>>>
>>> I get error:
>>>
>>>
>>> Oct *4 10:34:07 rider iscsid: iSCSI logger with pid=30766 started!
>>> Oct *4 10:34:07 rider iscsid: transport class version 2.0-870. iscsid
>>> version 2.0-871
>>> Oct *4 10:34:07 rider iscsid: iSCSI daemon with pid=30767 started!
>>> Oct *4 10:34:08 rider iscsid: could not read session targetname: 5
>>> Oct *4 10:34:08 rider iscsid: could not find session info for session1
>>> Oct *4 10:34:08 rider iscsid: could not read session targetname: 5
>>> Oct *4 10:34:08 rider iscsid: could not find session info for session1
>>> Oct *4 10:34:08 rider iscsid: session
>>> [iqn.1992-04.com.emc:storage.mjhstg.iscsi,10.168.2.57,3260] already
>>> running.
>>>
>>
>>
>> --
>> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
>> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>> Archive: http://lists.debian.org/CAK3ER7soNbNChO AM-Q_xLZ8Z2rwK9JeosXW4Jt4jaJSLQ@mail.gmail.com
>>
>>
>
> Hi
>
> This seems a authentication error for me:
>
> Logging in to [iface: default, target:
> iqn.1992-04.com.emc:storage.mjhstg.iscsi, portal: 10.168.2.57,3260]
> iscsiadm: Could not login to [iface: default, target:
> iqn.1992-04.com.emc:storage.mjhstg.iscsi, portal: 10.168.2.57,3260]:
> iscsiadm: initiator reported error (15 - already exists)
> iscsiadm: Could not log into all portals. Err 15.
>
>
> Are you sure the password is right in the configuration file?
>
> node.session.auth.username = user
> node.session.auth.password = password
>
> And the authentication method? Are you using the same in both sides
> initiator and target?
>
> node.session.auth.authmethod = CHAP
>
> Best regards
>
> Juan
>
> --------------------------------------------------------------------------------------
> Juan Sierra Pons * * * * * * * * * * * * * * * * juan@elsotanillo.net
> Linux User Registered: #257202 * * * http://www.elsotanillo.net
> GPG key = 0xA110F4FE
> Key Fingerprint = DF53 7415 0936 244E 9B00 *6E66 E934 3406 A110 F4FE
> --------------------------------------------------------------------------------------
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: http://lists.debian.org/CABSy9vSDUWz1+Nb-vFoj1DPGSdWzULYcuuiZ0XX2-isg9ncAQ@mail.gmail.com
>
>


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CAK3ER7uRWiKa55Wkx5dUJqs3SFPdxWrU67JL8+QH90TXBgxAi w@mail.gmail.com">http://lists.debian.org/CAK3ER7uRWiKa55Wkx5dUJqs3SFPdxWrU67JL8+QH90TXBgxAi w@mail.gmail.com
 
Old 10-04-2011, 04:38 PM
Juan Sierra Pons
 
Default StorCenter ix2-200 Network Storage over open-iscsi package.

2011/10/4 Joey L <mjh2000@gmail.com>:
> yes..on all counts - i have been trying different methods of
> connecting - but same error.
> It seems like it does not clean up past configurations and it is not
> unloading drivers properly.
> when i stop the service - i still see it in ps -aux ---regarding the
> iscsi module/service.
> I need to know the following as well as anything you can think of :
>
> 1. Is there anything you know how i can clean up past loads ??
>
> 2. any debug mode you can think of on debian ??
>
> 3. there is a major iscsi.conf file for info and then there is the
> individual device file under the node directory -- which one is it
> reading ???? which one should i modify ???
>
> thanks
> mjh
>
>
> On Tue, Oct 4, 2011 at 11:39 AM, Juan Sierra Pons <juan@elsotanillo.net> wrote:
>> 2011/10/4 Joey L <mjh2000@gmail.com>:
>>> sorry -- this is the error i get when i restart /etc/init.d/open-iscsi :
>>>
>>> Logging in to [iface: default, target:
>>> iqn.1992-04.com.emc:storage.mjhstg.iscsi, portal: 10.168.2.57,3260]
>>> iscsiadm: Could not login to [iface: default, target:
>>> iqn.1992-04.com.emc:storage.mjhstg.iscsi, portal: 10.168.2.57,3260]:
>>> iscsiadm: initiator reported error (15 - already exists)
>>> iscsiadm: Could not log into all portals. Err 15.
>>>
>>>
>>> On Tue, Oct 4, 2011 at 10:40 AM, Joey L <mjh2000@gmail.com> wrote:
>>>> I am getting a strange error with the open-iscsi package on debian
>>>> using nas*StorCenter ix2-200 Network Storage.
>>>>
>>>> I think i setup the device correctly following this:
>>>> iscsiadm -m node -T iqn.1992-04.com.emc:storage.xxxstg.iscsi -p
>>>> 10.168.2.57 --op update -n node.session.auth.username -v admin
>>>> iscsiadm -m node -T iqn.1992-04.com.emc:storage.xxxstg.iscsi -p
>>>> 10.168.2.57 --op update -n node.session.auth.password -v adminadmin
>>>>
>>>> *iscsiadm -m node -T iqn.1992-04.com.emc:storage.xxxstg.iscsi -p
>>>> 10.168.2.57 --op update -n node.startup -v automatic
>>>>
>>>>
>>>> iscsiadm -m discovery -t sendtargets -p 10.168.2.57:3260
>>>> 10.168.2.57:3260,1 iqn.1992-04.com.emc:storage.xxxstg.iscsi
>>>>
>>>>
>>>> when i execute this command:
>>>> iscsiadm -m node -T iqn.1992-04.com.emc:storage.xxxstg.iscsi -p 10.168.2.57 -l
>>>>
>>>> I get error:
>>>>
>>>>
>>>> Oct *4 10:34:07 rider iscsid: iSCSI logger with pid=30766 started!
>>>> Oct *4 10:34:07 rider iscsid: transport class version 2.0-870. iscsid
>>>> version 2.0-871
>>>> Oct *4 10:34:07 rider iscsid: iSCSI daemon with pid=30767 started!
>>>> Oct *4 10:34:08 rider iscsid: could not read session targetname: 5
>>>> Oct *4 10:34:08 rider iscsid: could not find session info for session1
>>>> Oct *4 10:34:08 rider iscsid: could not read session targetname: 5
>>>> Oct *4 10:34:08 rider iscsid: could not find session info for session1
>>>> Oct *4 10:34:08 rider iscsid: session
>>>> [iqn.1992-04.com.emc:storage.mjhstg.iscsi,10.168.2.57,3260] already
>>>> running.
>>>>
>>>
>>>
>>> --
>>> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
>>> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>>> Archive: http://lists.debian.org/CAK3ER7soNbNChO AM-Q_xLZ8Z2rwK9JeosXW4Jt4jaJSLQ@mail.gmail.com
>>>
>>>
>>
>> Hi
>>
>> This seems a authentication error for me:
>>
>> Logging in to [iface: default, target:
>> iqn.1992-04.com.emc:storage.mjhstg.iscsi, portal: 10.168.2.57,3260]
>> iscsiadm: Could not login to [iface: default, target:
>> iqn.1992-04.com.emc:storage.mjhstg.iscsi, portal: 10.168.2.57,3260]:
>> iscsiadm: initiator reported error (15 - already exists)
>> iscsiadm: Could not log into all portals. Err 15.
>>
>>
>> Are you sure the password is right in the configuration file?
>>
>> node.session.auth.username = user
>> node.session.auth.password = password
>>
>> And the authentication method? Are you using the same in both sides
>> initiator and target?
>>
>> node.session.auth.authmethod = CHAP
>>
>> Best regards
>>
>> Juan
>>
>> --------------------------------------------------------------------------------------
>> Juan Sierra Pons * * * * * * * * * * * * * * * * juan@elsotanillo.net
>> Linux User Registered: #257202 * * * http://www.elsotanillo.net
>> GPG key = 0xA110F4FE
>> Key Fingerprint = DF53 7415 0936 244E 9B00 *6E66 E934 3406 A110 F4FE
>> --------------------------------------------------------------------------------------
>>
>>
>> --
>> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
>> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>> Archive: http://lists.debian.org/CABSy9vSDUWz1+Nb-vFoj1DPGSdWzULYcuuiZ0XX2-isg9ncAQ@mail.gmail.com
>>
>>
>

Hi again

Maybe this link can help you [1] It seems a similar problem but not
with login/password but wrong "FQDN in the iqn string" in the
settings.

I think this [2] is a very good tutorial. It helped me a lot with my
first steps in iscsi world

> 1. Is there anything you know how i can clean up past loads ??
I think complete reboot will do that, if this is not possible what about
/etc/init.d/open-iscsi stop
and killing all remaining iscsid processes

> 2. any debug mode you can think of on debian ??
nop I have search in th /etc/iet directory for any verbosity option
without luck

grep iscsi /var/log/*|grep -v "/var/log/dpkg.log" |more

Should provide you with enough info

>
> 3. there is a major iscsi.conf file for info and then there is the
> individual device file under the node directory -- which one is it
> reading ???? which one should i modify ???

I have only modified the /etc/iscsi/iscsid.conf file to enable
iscsid's daemon automatic startup
node.startup = automatic

All my configuration files for each node are located in the following path:
/etc/iscsi/nodes/

for example:
/etc/iscsi/nodes/iqn.2011-08.vnet:storage.lun1/192.168.1.22,3260,1/default
/etc/iscsi/nodes/iqn.2011-08.vnet:storage.lun2/192.168.1.22,3260,1/default
/etc/iscsi/nodes/iqn.2011-08.vnet:storage.lun3/192.168.1.22,3260,1/default
/etc/iscsi/nodes/iqn.2011-08.vnet:storage.lun4/192.168.1.22,3260,1/default


[1] http://www.centos.org/modules/newbb//viewtopic.php?viewmode=flat&order=ASC&topic_id=247 79&forum=37&move=next&topic_time=1266261083
[2] http://www.howtoforge.com/using-iscsi-on-debian-lenny-initiator-and-target

I hope it helps

Best regards

--------------------------------------------------------------------------------------
Juan Sierra Pons juan@elsotanillo.net
Linux User Registered: #257202 http://www.elsotanillo.net
GPG key = 0xA110F4FE
Key Fingerprint = DF53 7415 0936 244E 9B00 6E66 E934 3406 A110 F4FE
--------------------------------------------------------------------------------------


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CABS=y9vEEaNmJ+U8_DNgfPK6FfiinZct6mK8GfgAfATCgg7bE w@mail.gmail.com">http://lists.debian.org/CABS=y9vEEaNmJ+U8_DNgfPK6FfiinZct6mK8GfgAfATCgg7bE w@mail.gmail.com
 

Thread Tools




All times are GMT. The time now is 07:50 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org