... # Make a logical unit available to hosts. To make a logical unit available to all hosts, obtain the Global Unique Identification (GUID) number for the logical unit. {code} # sbdadm list-lu # stmfdm list-lu -v {code} To make a logical unit available to selected hosts, identify the WWNs for the FC or FCoE ports of the host. {code} # fcinfo hba-port {code} {code} HBA Port WWN: *210000e08b83378d* OS Device Name: /dev/cfg/c4 Manufacturer: Qlogic Corp. Model: QLA2462 Firmware Version: 4.0.27 Fcode/BIOS Version: N/A Type: N-port State: online Supported Speeds: 1Gb 2Gb 4Gb Current Speed: 4Gb Node WWN: 210000e08b83378d HBA Port WWN: *210100e08ba3378d* OS Device Name: /dev/cfg/c5 Manufacturer: Qlogic Corp. Model: QLA2462 Firmware Version: 4.0.27 Fcode/BIOS Version: N/A Type: N-port State: online Supported Speeds: 1Gb 2Gb 4Gb Current Speed: 4Gb Node WWN: 210100e08ba3378d {code} # Add a view and perform mapping by following the instructions in [How to Make SCSI Logical Units Available|How to Make SCSI Logical Units Available]. # Verify that the logical unit is visible in one of the following ways:
* For a Solaris initiator host, verify that the logical unit is visible by running the following script. {code:none} #!/bin/ksh fcinfo hba-port |grep "^HBA" | awk '{print $4}' | while read 1n do fcinfo remote-port -p $1n -s >/dev/null 2>&1 done {code} All subsequent logical units appear in the format output, because the script forces the initiator to touch all the logical units through all the ports. If you do not see the LUNs, run the {{format}} command again. If you still do not see the LUNs, ensure that the service is enabled on the target by using the {{svcs stmf}} command. Also ensure that you added view entries for the LUN, as described in [How to Make SCSI Logical Units Available|How to Make SCSI Logical Units Available]. * For a Linux initiator host, verify that the logical unit is visible by running the utility provided by the HBA vendor. The utility scans for configuration changes. * For a Windows initiator host, verify that the logical unit is visible by selecting Control Panel > Administrative Tools > Computer Management > Disk Management. Then from the Action menu, choose Rescan Disks. |