VMware : How to increase disk space on VCSA appliance

By | January 21, 2023

The VMware vCenter Server Appliance (VCSA) propose several disk sizing at the time of deployment. Eventually, disk shortage may occur, especially for the /var/log disk.

This example assume you want to increase the default 10 Gb /var/log volume located on the virtual Hard Disk 5.

1. From the vCenter oe ESXi WebUI, edit the VCSA virtual machine hardware ;

2. Locate the Hard Disk 5 and increase from 10 to 15 Gb ;

Note: The following step assume you are running VCSA with best practices, therefore remote SSH login is disabled by default. You may skip the following walkthrough about enabling SSH otherwise.

3. Login to the Platform Service Controller (PSC) WebUI ;


4. In the left menu, click on Access ;

5. On the right of Access Settings, click on Edit ;

6. Turn on “Enable SSH Login” ;

7. With your favourite SSH client, login to your VCSA appliance (example) ;

ssh -p root@vcenter-ip

8. At the “Command>” prompt, go into the shell mode ;

9. Output the current disk space status ;

10. Run the following command to auto-grow all the filesystems that have extra unused disk space ;

11. Check the disk space again ;

The disk should now display the added disk space.