Hi Kyle. For your configuration do you have a LUN in the storage group assigned to your server? If so, the LUN is presented to both SPs (service processors) but only owned by one. If your storage group for the server has been configured for the default mode the LUN is presented in PNR mode; therefore, only one SP owns it and can be used for the IO. In order to use the LUN thru the other SP the LUN needs to be trespassed to that SP. If the storage group for the server is configured for ALUA mode then you can read and write thru both SPs without a trespass command. If there are no LUNs assigned in a storage group for your server, then the LUN that is presented to the server is a LUNZ and you will not be able to access it. You indicate below that you are able to fdisk one of the SCSI devices but not all four. If you are configured in the manner you described you should be able to access it thru the two NICs that attached to the SP that owns the LUN.
Regards, Wayne. EMC Corp -----Original Message----- From: email@example.com [mailto:open-is...@googlegroups.com] On Behalf Of Mike Christie Sent: Wednesday, December 09, 2009 9:52 PM To: firstname.lastname@example.org Subject: Re: Need help with multipath and iscsi in CentOS 5.4 Kyle Schmitt wrote: > I'm cross-posting here from linux-iscsi-users since I've seen no linux-scsi-users would be for centos 4. Centos 5 uses a different initiator, but you are the right place finally :) > traffic in the weeks since I posted this. > > Hi, I needed a little help or advice with my setup. I'm trying to > configure multipathed iscsi on a CentOS 5.4 (RHEL 5.4 clone) box. > > Very short version: One server with two NICs for iSCSI sees storage on > EMC. Storage shows up as four discs, but only one works. > > So far single connections work: If I setup the box to use one NIC, I > get one connection and can use it just fine. > > When I setup multiple connections I have problems... > I created two interfaces, and assigned each one to a NIC > iscsiadm -m iface -I iface0 --op=new > iscsiadm -m iface -I iface0 --op=update -n iface.net_ifacename -v eth2 > iscsiadm -m iface -I iface1 --op=new > iscsiadm -m iface -I iface1 --op=update -n iface.net_ifacename -v eth3 > > Each interface saw two paths to their storage, four total, so far so > good. > I logged all four of them them in with: > iscsiadm -m node -T <long ugly string here> -l > > I could see I was connected to all four via > iscsiadm-m session > > At this point, I thought I was set, I had four new devices > /dev/sdb /dev/sdc /dev/sdd /dev/sde > > Ignoring multipath at this point for now, here's where the problem > started. I have all four devices, but I can only communicate through > one of them: /dev/sdc. > > As a quick test I tried to fdisk all four partitions, to see if I saw > the same thing in each place, and only /dev/sdc works. What do you mean by works? Can you dd it, or fdisk it? > > Turning on multipath, I got a multipathed device consisting of sdb sdc > sdd and sde, but sdb sdd and sde are failed with a message of > checker msg is "emc_clariion_checker: Logical Unit is unbound or LUNZ" > Have you created a lun that is accessible to the initiator defined in /etc/iscsi/initiatorname.iscsi? Could you send the /var/log/messages for when you run the login command so I can see the disk info? -- You received this message because you are subscribed to the Google Groups "open-iscsi" group. To post to this group, send email to open-is...@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-is...@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.