Unable to grow or expand a VMFS volume or datastore
search cancel

Unable to grow or expand a VMFS volume or datastore

book

Article ID: 313382

calendar_today

Updated On:

Products

VMware vCenter Server VMware vSphere ESXi

Issue/Introduction

To increase the capacity (grow or extend) of a VMFS datastore successfully, ensure that the device has been increased from the backend SAN.

Once completed, initiate a cluster level rescan to ensure that the Extent Device list contains updated list and then use the Increase option.

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.

 


Symptoms:
When you try to grow or expand a VMFS volume by clicking the Increase option, there are no available devices to select.

Environment

VMware vSphere ESXi 7.x
VMware vCenter Server 6.7.x
VMware vSphere ESXi 6.7


Resolution

To increase the capacity of the VMFS datastore:
  1. 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.
  1. Right click on the cluster/host and select Storage > Rescan Storage.

    increase datastore capacity
     
  2. Navigate to the Datastore View and select the Datastore.
  3. Navigate to Configure > Device Backing and select the Extent Name.

    expand vmfs datastore

    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.
     
  4. Log in to one of the hosts that has access to this datastore via the GUI (host client) using the root credentials. 
  5. Navigate to Storage > Datastores and select the datastore in question.
  6. Right click on the datastore and select Increase Capacity. Alternatively, select the option at the top to perform the same (highlighted in green).

    vmware expand datastore
  7. 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. 
     
  8. You should be able to view the device extent as indicated in the screenshot below. Select the device instance and click Next.

    esxi expand datastore
     
  9. 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.
     
  10. 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.  
     
  11. You should be able to view the datastore reflecting the updated capacity uniformly across the vCenter Server.


Additional Information