Assuming all your LUNs are under the same target, you can check what
LUNs are being served by `iscsiadm -m session -P 3` after you log in.
Maybe 4 is not the correct LUN number (the first LUN being LUN 0) ?
-Anish

One socket to bind them all.


> -----Original Message-----
> From: open-iscsi@googlegroups.com [mailto:open-iscsi@googlegroups.com]
> On Behalf Of Scott Classen
> Sent: Friday, September 23, 2011 2:52 PM
> To: open-iscsi@googlegroups.com
> Subject: multiple LUNs
> 
> I'm going crazy here.
> I apologize if this is not on topic for this list and will happily
> take my question elsewhere if you feel it doesn't belong on this list.
> 
> I have just installed CentOS6 onto an iSCSI LUN served from my NetApp.
> I have configured iPXE to boot from LUN #4 by adding the following
> lines in my dhcpd.conf file
> 
> option iscsi-initiator-iqn "iqn.2010-11.com.mymachine";
> option root-path "iscsi:192.168.1.12:::4:iqn.1992-
> 08.com.netapp:sn.123456789";
> 
> I would now like to set up four KVM virtual machines each installed on
> a seperate iSCSI LUN.
> 
> To do this I would now like to access four additional iSCSI LUNS from
> the same NetApp.
> 
> I can't for the life of me figure out how to get iscsiadm to find and
> log into these additional targets.
> 
> iscsiadm indicates I have one active session for my root partaion:
> 
> [root@meh]#  iscsiadm -m session -P 1
> Target: iqn.1992-08.com.netapp:sn.123456789
>       Current Portal: 192.168.1.12:3260,2000
>       Persistent Portal: 192.168.1.12:3260,2000
> 
> When I issue a command to discover new targets I get nothing new:
> 
> [root@meh]# iscsiadm -m discoverydb -p 192.168.1.12:3260 -t st --
> discover
> 192.168.1.12:3260,2000 iqn.1992-08.com.netapp:sn.123456789
> 
> 
> and:
> 
> [root@meh]#  iscsiadm -m node -P 1
> Target: iqn.1992-08.com.netapp:sn.123456789
>       Portal: 192.168.1.12:3260,2000
>               Iface Name: default
> 
> 
> 
> How do I get iscsadm to see the other LUNs?
> 
> Thanks
> 
> --
> 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.

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