Mike Christie wrote:
> Mark Chaney wrote:
>> I have a dell md3000i with only a single controller in it, but it has two
>> iscsi ports. Each one of my servers has two iscsi nics as well. I setup two
>> ifaces per server and have iface0 and iface1 setup to each use their own
>> switch. Each switch is connected to an individual iscsi port on the md3000i
>> controller. Each network is on its own subnet.
>>
>> I am trying for the life of me to connect a single iface to a single portal,
>> but I keep getting errors that no records are found. When I try to do any
>> type of discovery methods, it keeps adding both interfaces to both ifaces,
>> also seems to throw in ipv6 even though Im not using it on my network and
>> don't want to (how can disable ipv6). 
>>
>> When I run iscsiadm -m discovery -t sendtargets -p 10.0.0.1, I get the
>> following:
>>
>> ################################################
>>
>> [EMAIL PROTECTED] iscsi]# iscsiadm -m discovery -t sendtargets -p 10.0.0.1
>> 10.0.0.1:3260,1
>> iqn.1984-05.com.dell:powervault.6001e4f0003b58f8000000004833b5b4
>> 10.0.0.1:3260,1
>> iqn.1984-05.com.dell:powervault.6001e4f0003b58f8000000004833b5b4
>> 10.0.1.1:3260,1
>> iqn.1984-05.com.dell:powervault.6001e4f0003b58f8000000004833b5b4
>> 10.0.1.1:3260,1
>> iqn.1984-05.com.dell:powervault.6001e4f0003b58f8000000004833b5b4
>> [fe80:0000:0000:0000:021e:4fff:fe3b:58fa]:3260,1
>> iqn.1984-05.com.dell:powervault.6001e4f0003b58f8000000004833b5b4
>> [fe80:0000:0000:0000:021e:4fff:fe3b:58fa]:3260,1
>> iqn.1984-05.com.dell:powervault.6001e4f0003b58f8000000004833b5b4
>> [fe80:0000:0000:0000:021e:4fff:fe3b:58fc]:3260,1
>> iqn.1984-05.com.dell:powervault.6001e4f0003b58f8000000004833b5b4
>> [fe80:0000:0000:0000:021e:4fff:fe3b:58fc]:3260,1
>> iqn.1984-05.com.dell:powervault.6001e4f0003b58f8000000004833b5b4
>>
>> ###########################################################
>>
>> Even though I should only be getting 1 portal for each iface and definitely
>> no ipv6.
> 
> If you are getting ipv6 addres like above then you need to modify your 
> target. When iscsiadm does discovery the target is returning those ipv6 
> portals and iscsiadm is just printing out what we got.
> 
> 
> So basically going back to the problem of the iface portal match up too, 
> when iscsiadm does sendtargets to -p 10.0.0.1, the target is telling us 
> about all the portals on the target. There is no way to ask it just for 
> portals that can accessed though a specific iface. It just tells us 
> everything it knows. iscsiadm will then setup the db so that each iface 
> in /etc/iscsi/ifaces or that is passed into it with the -I argument are 
> setup to access through the target through each portals returned. So if 
> you do:
> 
> iscsiadm -m discovery -t st ........ -P 1
> 
> you will get a better idea of the mappings.
> 
> I think what you have to do is edit the results by hand:
> 
> # do discovery and setup with one iface
> iscsiadm -m discovery -t st ........ -I iface0
> 

When you run this the second time you might have to also pass it the -o 
new argument so the info from the first run is not deleted. So the 
second time you run it for iface1 you would do

iscsiadm -m discovery -t st ........ -I iface1 -o new

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

Reply via email to