[OpenIndiana-discuss] Problem changing specific QLogic 2462 port to qlt (COMStar)
sroy at coveo.com
Fri Oct 1 12:28:16 UTC 2010
Hi, I am currently building a new SAN environment over my existing SAN boxes to get performance and management benefits of ZFS. At the moment I am able to connect my OpenIndiana build 147 to my san.
My ZFS server have 2 QLogic 2462 HBA (2 ports on each HBA) and I am trying to change 1 port on each HBA to act as a target for my client (qlt). In past I was able to change from qlc to qlt following the COMSTar Administration guide.
I receive the error msg expected as mentioned in the admin guide but when I reboot and run mdb -k followed by "::devbindings -q qlt" I didn't see any port bind to the qlt driver. When I check the qlc binding, the 2 others ports acting as initiator are there and the one I try to change to qlt isn't.
Here is the commands I run to change qlc to qlt:
1. # luxadm -e port
/devices/pci at 16,0/pci10de,378 at d/pci1077,138 at 0/fp at 0,0:devctl CONNECTED - Need to change this one to qlt
/devices/pci at 16,0/pci10de,378 at d/pci1077,138 at 0,1/fp at 0,0:devctl CONNECTED
/devices/pci at 16,0/pci10de,377 at f/pci1077,138 at 0/fp at 0,0:devctl CONNECTED - Need to change this one to qlt
/devices/pci at 16,0/pci10de,377 at f/pci1077,138 at 0,1/fp at 0,0:devctl CONNECTED
2. 1st path: update_drv -a -i "/pci at 16,0/pci10de,378 at d/pci1077,138 at 0/fp at 0,0" qlt
3. 2nd path: update_drv -a -i "/pci at 16,0/pci10de,377 at f/pci1077,138 at 0/fp at 0,0" qlt
4. reboot the server # reboot
5. recheck the bindings:
a. mdb -k
b. ::devbindings -q qlt
and I get:
Loading modules: [ unix genunix specfs dtrace mac cpu.generic uppc pcplusmp scsi_vhci zfs mpt sd ip hook neti sockfs arp usba qlc fctl stmf stmf_sbd lofs random sata crypto nfs fcp cpc ptm ufs sppp ipc ]
> ::devbindings -q qlt
> ::devbindings -q qlc
ffffff09086f5ab0 pciex1077,2432, instance #0 (driver name: qlc)
ffffff09086f5808 pciex1077,2432, instance #1 (driver name: qlc)
ffffff09086f5560 pciex1077,2432, instance #2 (driver name: qlc)
ffffff09086f52b8 pciex1077,2432, instance #3 (driver name: qlc)
6. check the target mode framework have access to the HBA ports.
a. stmfadm list-target -v
and I get:
# stmfadm list-target -v
Can someone help me?
More information about the OpenIndiana-discuss