To increase the capacity of the VMFS datastore from VC UI:
- Initiate a Cluster level rescan (incase the device is shared across multiple hosts/clusters) or on the host (incase of a stand-alone host) so as to force the ESXi host(s) to sync in with the change for the underlying devices expansion.
If the device for which size is increased from backend SAN is exposed to multiple hosts in multiple clusters, then cluster level rescan has to be triggered on all the clusters where device is visible.
- Right click on the cluster/host and select Storage > Rescan Storage.
- Navigate to the Datastore View and select the Datastore.
- Navigate to Configure > Device Backing and select the Extent Name.
You should be able to see the Device Details reflecting the update capacity basis the expansion done from the SAN.
Note: In this example, the datastore iscsi1 was configured for 250 GB and the underlying device was expanded to 400 GB.
If the underlying device is not reflecting the updated info, attempt a cluster/host level rescan once again so that the fields highlighted in the image above indicate the desired change. The following steps would need to be followed ONLY if you are able to detect an increase in the capacity of the underlying device.
To increase the capacity of VMFS Datastore from Host UI:
1. Log in to one of the hosts that has access to this datastore via the GUI (host client) using the root credentials. Navigate to Storage > Datastores and select the datastore in question.
- Right click on the datastore and select Increase Capacity. Alternatively, select the option at the top to perform the same (highlighted in green).
- You would be prompted to select one of the two options. Add an extent to existing VMFS datastore or Expand an existing VMFS datastore extent.
Note: The first option is to create multi-extent datastores by spanning (adding) a new volume to the existing datastore and the second option is to increase the capacity for the existing device itself. In this example, proceed with the second option.
- You should be able to view the device extent as indicated in the screenshot below. Select the device instance and click Next.
- Select the VMFS partition as highlighted in the image and use to side-scroller to indicate the range of the expansion that would need to be done and click Next. Once completed, click on Finish. You should now be able to view the datastore expansion having completed successfully.
- Considering this expansion activity was directly on the host by bypassing the vCenter Server. VMware recommends that once the expansion is completed at the host level, a cluster level rescan is initiated so that all the hosts that have access to this datastore are in sync with the expansion that was just recently performed.
Note: If a cluster level rescan is not done from the vCenter Server level, there are good chances that the vCenter Server might not readily detect the change and there would be a disparity in the current space/usage for the datastore in question. VMware recommends that a cluster level rescan at the vCenter Server level is always followed after any form of expansion being done at the host level.
- You should be able to view the datastore reflecting the updated capacity uniformly across the vCenter Server.