On 06/18/2012 02:40 PM, Meska wrote:
> Hi all,
> 
> sorry for newbie question, but what am i doing wrong? I have and
> openfiler NAS with two cards and two subnets (private - 172.16.1.* and
> public 192.168.49.*). So from my other machine:
> 
> [root@edlrac1 rules.d]# iscsiadm -m discovery -t sendtargets -p 172.16.1.3
> 172.16.1.3:3260,1 iqn.2006-01.int.internal:edlrac.fra1
> 192.168.49.105:3260,1 iqn.2006-01.int.internal:edlrac.fra1
> 172.16.1.3:3260,1 iqn.2006-01.int.internal:edlrac.data1
> 192.168.49.105:3260,1 iqn.2006-01.int.internal:edlrac.data1
> 172.16.1.3:3260,1 iqn.2006-01.int.internal:edlrac.crs1
> 192.168.49.105:3260,1 iqn.2006-01.int.internal:edlrac.crs1

After you run the discovery command could you do

iscsiadm -m node -P 1

Could you also tar up the contents of /var/lib/iscsi

and send it? iscsiadm basically looks in those dirs for the targets that
were found with the discovery command.


> [root@edlrac1 rules.d]# iscsiadm -m node -T
> iqn.2006-01.int.internal:edlrac.crs1 -p 172.16.1.3 -l
> [root@edlrac1 rules.d]# iscsiadm -m node -T
> iqn.2006-01.int.internal:edlrac.data1 -p 172.16.1.3 -l
> [root@edlrac1 rules.d]# iscsiadm -m node -T
> iqn.2006-01.int.internal:edlrac.fra1 -p 172.16.1.3 -l
> [root@edlrac1 rules.d]# iscsiadm -m node --login
> Logging in to [iface: default, target:
> iqn.2006-01.int.webmedia:edlrac.data1, portal: 192.168.49.105,3260]
> (multiple)
> Logging in to [iface: default, target:
> iqn.2006-01.int.webmedia:edlrac.crs1, portal: 192.168.49.105,3260]
> (multiple)
> Logging in to [iface: default, target:
> iqn.2006-01.int.webmedia:edlrac.fra1, portal: 192.168.49.105,3260]
> (multiple)

Would you run all these commands with debugging on and send the output?
To do this add "-d 8" to the end of the command.


> 
> Why is iscsiadm  using  192.168.49.105 and not the 172.16.1.3 ?
> 
> [root@edlrac1 rules.d]# iscsiadm --version
> iscsiadm version 2.0-872.33.el6
>

Is this RHEL or Centos?

-- 
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?hl=en.

Reply via email to