NOTE: Before starting, verify LUN presentation is the same on all hosts as this is a common, legitimate cause and should not be worked around.
To resolve this issue, follow either one of the two options:
Increase or expand the datastore directly from the ESXi host
- From the Web Client, right click the ESXi host and select Storage > Rescan Storage. This forces the ESXi host to sync with the changes on the underlying expanded devices.
- Once the rescan storage completes, navigate to the Datastore View and select the increased or expanded datastore.
- Navigate to Configure > Device Backing and select Extent Name. You should see the Device Details reflecting the updated capacity from the expansion that was done from the SAN.
Note: In this example, the datastore iscsi1 was configured for 25GB and the underlying device was expanded to 400GB.
If the underlying device does not reflect the underlying information, attempt another host level rescan so that the fields highlighted in the image above indicate the desired change. Only follow these steps if the increase in the capacity of the underlying device is detected:
- Log in directly to one of the ESXi host that has access to the datastore through the GUI (Host Client) using root credentials.
- Navigate to Storage > Datastores and select the datastore you are trying to expand or increase.
- Right-click on the datastore and select Increase Capacity. Alternatively, select the Increase capacity button.
You should be prompted to select one of two options:
Add an extent to existing VMFS datastore
Expand an existing VMFS datastore extent
Note: The first option is to create a multi-extent datastores by spanning (adding) a new volume to the existing datastore. The second option is to increase the capacity for the existing device itself. In this example, the second option is used:
- Select the VMFS partition as highlighted in the image and use the side-scroller to indicate the range of the expansion that would need to be done and click Next.
- Click Finish. You should now be able to view the datastore expansion as completed.
- Immediately rescan all hosts by “rescan adapter” and “rescan vmfs” from vCenter.
Or by commands on all hosts:
$ esxcli storage core adapter rescan --all
$ vmkfstools -V
Important:
As this was done directly on the ESXi host, VMware recommends to do a cluster level storage rescan so that all of the ESXi host accessing the same datastore are sync with the expansion that was recently completed. If a cluster level rescan is not done from the vCenter Server, there is a good chance that the vCenter Server might not readily detect the changes which may lead to disparity in the current space/usage of the datastore. VMware recommends to always do a cluster level rescan on the vCenter Server level when the datastore is increased or expanded directly from the ESXi host.
Temporarily disable the Same Host and Transport Filter
Important: VMware does not recommend to turn off or disable this filter. After temporarily turning off or disabling this filter, increase or expand the datastore. Once this is completed, ensure this filter is turned back on or re-enabled. Disabling these filters may result in storage device corruption or performance degradation that might be caused by an unsupported use of storage devices. For more information, see or more information, see the Storage Filtering section in the vSphere Storage Guide.
- Look for parameter "config.vpxd.filter.sameHostsAndTransportsFilter" under "Advanced vCenter Server Settings" and set it to false.
- Do not add the parameter if it already exists, as adding a duplicate parameter can cause vCenter instability. Instead, edit the existing parameter.
Note: No reboot is required for changes to take into effect. Logging out and logging back in to the vCenter Server should be enough for changes to take into effect.
- Once completed, change "config.vpxd.filter.sameHostsAndTransportsFilter" under "Advanced vCenter Server Settings" and set it to true. For more information, see the Storage Filtering section of the vSphere Storage Guide.