SolStorage
From My Admin Page
Lots of good info at Blog O'Matty. Also, Show WWN of HBA cards
Using "luxadm"
- use luxadm probe to find all attached fibre devices.
- Then use luxadm display to show enclosure or device specific data.
bash-3.2# /usr/sbin/luxadm probe No Network Array enclosures found in /dev/es Found Fibre Channel device(s): Node WWN:200400a0b8170d41 Device Type:Disk device Logical Path:/dev/rdsk/c7t600A0B8000170D4100001D3F4F473086d0s2 bash-3.2# /usr/sbin/luxadm display 200400a0b8170d41 DEVICE PROPERTIES for disk: 200400a0b8170d41 Vendor: SUN Product ID: CSM100_R_FC Revision: 0660 Serial Num: 1T43528213 Unformatted capacity: 833940.000 MBytes Write Cache: Enabled Read Cache: Enabled Minimum prefetch: 0x3 Maximum prefetch: 0x3 Device Type: Disk device Path(s): /dev/rdsk/c7t600A0B8000170D4100001D3F4F473086d0s2 /devices/scsi_vhci/ssd@g600a0b8000170d4100001d3f4f473086:c,raw Controller /devices/ssm@0,0/pci@18,600000/SUNW,qlc@1,1/fp@0,0 Device Address 200500a0b8170d43,0 Host controller port WWN 210100e08b3f4d04 Class secondary State STANDBY Controller /devices/ssm@0,0/pci@19,700000/SUNW,qlc@3/fp@0,0 Device Address 200400a0b8170d42,0 Host controller port WWN 210000e08b86fc1e Class primary State ONLINE Controller /devices/ssm@0,0/pci@18,600000/SUNW,qlc@1/fp@0,0 Device Address 200400a0b8170d43,0 Host controller port WWN 210000e08b1f4d04 Class primary State ONLINE Controller /devices/ssm@0,0/pci@18,600000/SUNW,qlc@1/fp@0,0 Device Address 200500a0b8170d42,0 Host controller port WWN 210000e08b1f4d04 Class secondary State STANDBY
Using "fcinfo"
To show administrative info :
# fcinfo hba-port HBA Port WWN: 2100001b32189a2d OS Device Name: /dev/cfg/c4 Manufacturer: QLogic Corp. Model: 375-3354-01 Firmware Version: 05.01.02 FCode/BIOS Version: BIOS: 2.02; fcode: 2.01; EFI: 2.00; Serial Number: 0402G00-0721261798 Driver Name: qlc Driver Version: 20090929-2.32 Type: N-port State: online Supported Speeds: 1Gb 2Gb 4Gb Current Speed: 4Gb Node WWN: 2000001b32189a2d HBA Port WWN: 2100001b3200e6ab OS Device Name: /dev/cfg/c3 Manufacturer: QLogic Corp. Model: 375-3354-01 Firmware Version: 05.01.02 FCode/BIOS Version: BIOS: 2.02; fcode: 2.01; EFI: 2.00; Serial Number: 0402G00-0726391142 Driver Name: qlc Driver Version: 20090929-2.32 Type: N-port State: online Supported Speeds: 1Gb 2Gb 4Gb Current Speed: 4Gb Node WWN: 2000001b3200e6ab
To show what connected to, use fcinfo remport-port -p <wwn>
# fcinfo remote-port -p 2100001b3200e6ab Remote Port WWN: 500a098287794daf Active FC4 Types: SCSI SCSI Target: yes Node WWN: 500a098087794daf Remote Port WWN: 500a098297794daf Active FC4 Types: SCSI SCSI Target: yes Node WWN: 500a098087794daf
Misc
- to show HBA ports: fcinfo hba-port -l
- to show HBA info: luxadm fcode_download -p
- mpathadm - multipath discovery and administration
- mpathadm list LU
#!/bin/sh for i in `/usr/sbin/cfgadm |grep fc-fabric|awk '{print $1}'`; do dev="`/usr/sbin/cfgadm -lv $i|grep devices |awk '{print $NF}'`" wwn="`/usr/sbin/luxadm -e dump_map $dev |grep 'Host Bus'|awk '{print $4}'`" echo "$i: $wwn" done