On 12/26/2014 07:20 AM, bharatvivek2...@gmail.com wrote:
> Dear All,
> 
> I was trying to login to a SAN Device logical volume from my linux
> server, which is connected to SAN Device with 10Gb NIC card.
> IQN of volume was
> : 
> iqn.2001-03.jp.nec:storage01:ist-m000-sn-0000000942014090.lx-ddsldset-0018.target0016
> and I executed command as follows:
> 
> "/sbin/iscsiadm -m node -T
> iqn.2001-03.jp.nec:storage01:ist-m000-sn-0000000942014090.lx-ddsldset-0018.target0016
> -p 172.168.2.165 --login"
> 
> But, it failed with:
> Error Code : 6
> Error message : iscsiadm: iface iter could not read dir
> /var/lib/iscsi/nodes/iqn.2001-03.jp.nec:storage01:ist-m000-sn-0000000942014090.lx-ddsldset-0048.target0012/172.168.2.165,3260,3.
> iscsiadm: Could not execute operation on all records: encountered iSCSI
> database failure
> 
> This error message was quite confusing as it shows that reading iface
> for IQN :
> "iqn.2001-03.jp.nec:storage01:ist-m000-sn-0000000942014090.lx-ddsldset-0048.target0012"
> failed but I tried login to
> "iqn.2001-03.jp.nec:storage01:ist-m000-sn-0000000942014090.lx-ddsldset-0018.target0016".
> Moreover, iSCSI session for
> "iqn.2001-03.jp.nec:storage01:ist-m000-sn-0000000942014090.lx-ddsldset-0048.target0012"
> was logged out around 6 minutes ago.
> 

Can you easily replicate this? If so, could you run iscsiadm with
debugging on? Just add "-d 8":


/sbin/iscsiadm -m node -T
iqn.2001-03.jp.nec:storage01:ist-m000-sn0000000942014090.lx-ddsldset-0018.target0016
-p 172.168.2.165 --login -d 8


-- 
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/d/optout.

Reply via email to