NPIV port login failures

bharat singh bharat064015 at gmail.com
Tue Jul 8 12:08:13 UTC 2014


Hello,

I am trying to use virtual target ports for QLogic PCI to Fibre Channel
Host Adapter for QLE2460 on freebsd9.
Initiator hosted on a ESX 5.0

Increased no of chans to 4 and assigned unique WWPN/WWNN to the virtual
ports.

[root at fckern ~]#  ctladm port -l
Port Online Type     Name         pp vp WWNN               WWPN
   Speed  Vendor
0    YES    IOCTL    CTL ioctl    0  0  0                  0
    0
1    YES    INTERNAL ctl2cam      0  0  0x500000009f287f00
0x500000009f287f02  0
2    YES    INTERNAL CTL internal 0  0  0                  0
    0
3    YES    FC       isp0         0  0  0x2000001b328b413b
0x2100001b328b413b  4000000  Qlogic   >>>> physical port
4    YES    FC       isp0         0  1  0x2000001b328b413c
0x2000001b328b413c  4000000  Qlogic   >>>> virtual ports
5    YES    FC       isp0         0  2  0x2000001b328b413d
0x2000001b328b413d  4000000  Qlogic
6    YES    FC       isp0         0  3  0x2000001b328b413e
0x2000001b328b413e  4000000  Qlogic
7    YES    FC       isp0         0  4  0x2000001b328b413f
 0x2000001b328b413f  4000000  Qlogic

but initiator login to virtual ports is failing.

[root at fckern ~]# ctladm wwpnlist
No of logged in Initiators are 1:
Initiator WWPN Target WWPN:
2100001b32060f71 2100001b328b413b   >>>> only the physical port login is
going through

Jul  8 15:05:48 fckern kernel: isp0: Chan 1 PLOGX PortID 0xfffffc to N-Port
handle 0x401: invalid parameter at offset 0xa
Jul  8 15:05:48 fckern kernel: isp0: isp_fclink_test: Chan 1 cannot log
into SNS
Jul  8 15:05:48 fckern kernel: isp0: Chan 3 PLOGX PortID 0xfffffc to N-Port
handle 0x403: invalid parameter at offset 0xa
Jul  8 15:05:48 fckern kernel: isp0: isp_fclink_test: Chan 3 cannot log
into SNS
Jul  8 15:05:48 fckern kernel: isp0: Chan 4 PLOGX PortID 0xfffffc to N-Port
handle 0x404: invalid parameter at offset 0xa
Jul  8 15:05:48 fckern kernel: isp0: isp_fclink_test: Chan 4 cannot log
into SNS
Jul  8 15:05:48 fckern kernel: isp0: Chan 2 PLOGX PortID 0xfffffc to N-Port
handle 0x402: invalid parameter at offset 0xa
Jul  8 15:05:48 fckern kernel: isp0: isp_fclink_test: Chan 2 cannot log
into SNS

I have added the virtual ports to my switch's zone. ESX & switch have NPIV
support enabled.
Have anyone faced any similar issue ?

-- 
Bharat Singh


More information about the freebsd-scsi mailing list