User Tools

Site Tools


vmware:vcenter_storage_increase

Increase Vcenter space

To increase the disk capacity for a specific VMDK on the vCenter Server Appliance 6.0:

Log in to the vCenter Server Appliance using SSH and root credentials.

Run this command to enable the Bash shell:

shell.set --enabled true

Type shell and press Enter. Use this command to verify which disk is experiencing disk space issues:

df -h
  Using the vSphere Client or vSphere Web Client, locate the vCenter Server Appliance virtual machine and increase the disk space on the affected virtual disk. For more information, see Increasing the size of a virtual disk (1004047).
  Note: If the vCenter Server Appliance is inaccessible connect directly to the host  that is running the virtual machine.
  After the virtual disk is increased, return to the SSH session and run this command to automatically expand any logical volumes for which the physical volumes are increased:
vpxd_servicecfg storage lvm autogrow

When the grow operation is successful, you see output similar to:

VC_CFG_RESULT=0

Run this command to confirm that the virtual disk has been successfully grown:

df -h
vmware/vcenter_storage_increase.txt · Last modified: 2021/01/01 21:25 (external edit)