Dear All,

I have executed delete operation on a target for nodes database when some 
sessions are active. Now, when i execute following command, i get below 
error message.

[root@HN0101 ~]# iscsiadm -m session

tcp: [11667] 172.168.2.61:3260,4 
iqn.2001-03.jp.nec:storage01:ist-m000-sn-0000000942901110.lx-ddsldset-0013.target0000
 
(non-flash)

tcp: [11668] 172.168.2.61:3260,4 
iqn.2001-03.jp.nec:storage01:ist-m000-sn-0000000942901110.lx-ddsldset-0719.target0010
 
(non-flash)

tcp: [11669] 172.168.2.61:3260,4 
iqn.2001-03.jp.nec:storage01:ist-m000-sn-0000000942901110.lx-ddsldset-0140.target0006
 
(non-flash)

tcp: [11670] 172.168.2.61:3260,4 
iqn.2001-03.jp.nec:storage01:ist-m000-sn-0000000942901110.lx-ddsldset-0127.target0003
 
(non-flash)

tcp: [11671] 172.168.2.61:3260,4 
iqn.2001-03.jp.nec:storage01:ist-m000-sn-0000000942901110.lx-ddsldset-0131.target0004
 
(non-flash)

tcp: [11672] 172.168.2.61:3260,4 
iqn.2001-03.jp.nec:storage01:ist-m000-sn-0000000942901110.lx-ddsldset-0144.target0007
 
(non-flash)

tcp: [11673] 172.168.2.61:3260,4 
iqn.2001-03.jp.nec:storage01:ist-m000-sn-0000000942901110.lx-ddsldset-0084.target0002
 
(non-flash)

iscsiadm: could not read session targetname: 5
iscsiadm: could not find session info for session3076


I have used RHEL 6.6 linux distro and my open iscsi initiator version 
is iscsi-initiator-utils-6.2.0.873-13.

In my environment, we have a RPC XML server which is written in python. 
When a client request for a operation(say operation1), we execute following 
iscsiadm command in  sequence using Popen() interface of subprocess module 
in some portion of the operation,

1> Logout all session for all target, Command   -    "/sbin/iscsiadm --mode 
node --logoutall=all"
2> modify iscsi.conf file
3> restart iscsid.
4> run discovery on all portals of storage device.
              If discovery fails on all portals(N/W down or other reasons), 
then delete the nodes database for each target using iscsiadm utility. 


 Now, after above error has occurred, when we go to execute operation1, My 
server generates core. The core is generated by iscsiuio. 

Can any one help me to understand the cause of the problem.

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/open-iscsi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to