By default, the VMkernel scans for LUN 0 to LUN 255 for every target (a total of 256 LUNs). You can modify the Disk.MaxLUN parameter to improve LUN discovery speed.
About this task
You cannot discover LUNs with a LUN ID number that is greater than 255.
Reducing the value can shorten rescan time and boot time. However, the time to rescan LUNs might depend on other factors, including the type of storage system and whether sparse LUN support is enabled.
- In the vSphere Client inventory panel, select the host, click the Configuration tab, and click Advanced Settings under Software.
- Select Disk.
- Scroll down to Disk.MaxLUN.
- Change the existing value to the value of your choice, and click OK.
The value you enter specifies the LUN after the last one you want to discover.
For example, to discover LUNs from 0 through 31, set Disk.MaxLUN to 32.