That is a function of the driver for the specific HBA and the SD.conf file. Use the GUI that came with the driver install software to set persistent bindings.
For JNI adapters, the utility is EZFibre. Use the target to WWN binding feature for the driver to set the WWN in the /kernel/drv/sd.conf file. You can set the proper bindings in the fcaw.conf file for JNI adapters like this:
# Configuration flag def_wwn_binding # Type: string; default: "$xxxxxxxxxxxxxxxx" (means WWN is "static don't care") # Sets the 16 digit hexidecimal default wwn binding for every target/lun # instance which does not explicitly define one. # - A "$" preceding the string indicates static binding enabled # - A "x" in place of a digit indicates "don't care" for that digit # *See technote for details on wwn bindings def_wwn_binding = "xxxxxxxxxxxxxxxx";
For the SD.conf file, follow this format: name="sd" class="scsi" target=1 lun=0; wwn="2000004568018769"; name="sd" class="scsi" target=1 lun=1; name="sd" class="scsi" target=1 lun=2;
For more information:Tip: Troubleshooting Fibre Channel host bus adapters in PCs
Tip: Taming HBAs
Tip: How HBAs and operating systems work together
About the author:Christopher Poelker is Christopher Poelker is a storage architect at Hitachi Data Systems, and SearchStorage.com's storage networking expert.