Support > Knowledge Base
Knowledge Base

Search the Knowledge Base: |
Search the Knowledge Base: |
Unable to Recognize New SAN LUNs After Command Line Rescan
Details
What is the proper method to rescan the SAN from the command line?
Solution
If your ESX Server version is less than 2.5, you need to perform the following three steps. If your ESX Server version is 2.5 or greater, you need to perform only the third step.
The first step flushes the cache in the HBA (fiber host bus adapter). The second step scans the SAN for presented LUNs. The third step creates device nodes required to partition the available LUNS into VMFS volumes.
Note: The first step applies to QLogic HBAs only, not to Emulex HBAs.- If you have Emulex HBAs, skip this step. Otherwise, for QLogic HBAs only, run wwpn.pl with the -s option for each HBA through which the LUN is accessed. For example:
wwpn.pl -s vmhba1 - Run vmkfstools with the -s option for each HBA through which the LUN is accessed. For example:
vmkfstools -s vmhba1 - Run cos-rescan.sh on the same HBA as in the step above. For example:
cos-rescan.sh vmhba1
Keywords
Feedback
Actions
- KB Article: 1352
- Updated: Aug 14, 2009
- Products:
VMware ESX - Product Versions:
VMware ESX 2.0.x
VMware ESX 2.1.x
VMware ESX 2.5.x

