Padmanabhan wrote:
> Hello Mike,
> Here again, let me try to explain the problem
> Initiator                  Target
> 10.1.1.2                    10.1.1.1
> 2001::2                     2001::1
> node.startup=automatic

you can set the node.startup value for each portal on the target.

> 
> When the system reboots, the initiator login twice (TWO TCP
> connections) with target on both IPv4/IPv6 addresses
> where only one is required. Is there a way to limit this session at
> iSCSI level, preferably on initiator?

Run iscsiadm -m node. What do you see? Something like
iscsiadm -m node
10.1.1.1:3260,2 iqn.1992-08.com.mytarget
[2001::1]:3260,3 iqn.1992-08.com.mytarget

If you only want to log into the first one do

iscsiadm -m node -T iqn.1992-08.com.mytarget -p 10.1.1.1:3260,2 -o 
update -n node.startup -v manual


If you only want to log into the second one do

iscsiadm -m node -T iqn.1992-08.com.mytarget -p  [2001::1]:3260,3 -o 
update -n node.startup -v manual


If you are running iscsiadm by hand pass in the specific portal you want 
to log into instead of just the target name.


> 
> Output of fdisk -l on initiator, the same target volume is listed as
> 
> /dev/sdc
> /dev/sdd
> 
> Yes, under /dev/disk the exported volume is updated in by-id,by-uuid..
> directories.

I am asking why couldn't you just use those?

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