Knowledge Base
The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides

|
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
Request a Product Feature
To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.
Actions
- KB Article:
- Updated:
- Categories:
- Product Family:
- Products:
- Product Versions:

