As a virtual environment manager, you will eventually encounter a problem of lack of disk space on one of the many disks. You will have two choices. The first is to clean up by cleaning up logs and temporary files. The second, the laziest one, to add space to the virtual disks concerned. This is the option chosen here.

List the utilization percentage of your disks

First, you must have access to your vCenter console or via SSH. When connecting, launch bash by typing the shell command and then check for space using the df -h command.

The command will show all mount points. Each is associated with a virtual disk. A list of the association of mount points to disks is detailed at the end of the article.

shell
df -f
Disk space vCenter Server Appliance

Adding space to your disks

In your vCenter, edit the virtual machine of your vCenter, in hard disks, select the disk that needs to be increased, then add space. In general, add at most double the space initially configured or according to the available in your infrastructure. Repeat for each of the discs concerned then save your modifications.

Disk space vCenter Server Appliance

Again, go to the command prompt of your vCenter to extend the space. Use the following command :

vpxd_servicecfg storage lvm autogrow

You will have a confirmation of the successful command with the display of the result.

VC_CFG_RESULT=0

Then check the disk space again with the df -h command. In our example I added 25GB. We see that our mount point now has 63% free space.

Disk space vCenter Server Appliance

Lists of VMDKs/Partitions for vCenter Server

List of VMDKs for a vCenter Server Appliance 7.0

Disk
(VMDK)
Default Size
(Tiny with Default Storage Size)
Mount PointPurpose
VMDK148GB/ (46GB)
/boot (132MB)
SWAP (1GB)
Directory where the kernel images and boot loader configurations are stored.
VMDK21.8GB/tmpDirectory used to store temporary files generated or used by services from vCenter Server
VMDK325GBSWAPDirectory used when the system is out of memory to swap to disk
VMDK425GB/storage/coreDirectory where core dumps from VPXD process from the vCenter Server are stored
VMDK510GB/storage/logDirectory where vCenter Server and Platform Services Controller store all logs for the environment
VMDK610GB/storage/dbVMware Postgres database storage location
VMDK75GB/storage/dblogVMware Postgres database logging location
VMDK810GB/storage/seatStats, Events, Alarms and Tasks (SEAT) directory for VMware Postgres
VMDK91GB/storage/netdumpVMware Netdump collector repository that stores ESXi dumps
VMDK1010GB/storage/autodeployVMware Auto Deploy repository that stores the thinpackages used for stateless booting of ESXi hosts
VMDK1110GB/storage/imagebuilderVMware Image Builder repository that stores the vSphere image profiles, software depots and VIB packages, such as driver VIBs and update VIBs.
VMDK12100GB/storage/updatemgrVMware Update Manager repository where patches and updates are stored for Virtual Machine and ESXi hosts
VMDK1350GB/storage/archiveVMware Postgres database’s Write-Ahead Logging (WAL) location
VMDK1410GB/storage/vtsdbVMware vTSDB Service Repository that stores the stats
VMDK155GB/storage/vtsdblogVMware vTSDB Service Repository that stores the logs of the service
VMDK16100GB/storage/lifecycleWorkload Control Plane service stage directory or software depot, this stores the binaries for install and update/upgrade.
List of VMDKs/Partitions for a vCenter Server Appliance 7.0

List of VMDKs for a vCenter Server Appliance 6.7

Disk
(VMDK)
Default Size
(Tiny with Default Storage Size)
Mount PointPurpose
VMDK112GB/ (10GB)
/boot (132MB)
SWAP (1GB)
Directory where the kernel images and boot loader configurations are stored.
VMDK21.8GB/tmpDirectory used to store temporary files generated or used by services from vCenter Server
VMDK325GBSWAPDirectory used when the system is out of memory to swap to disk
VMDK425GB/storage/coreDirectory where core dumps from VPXD process from the vCenter Server are stored
VMDK510GB/storage/logDirectory where vCenter Server and Platform Services Controller store all logs for the environment
VMDK610GB/storage/dbVMware Postgres database storage location
VMDK75GB/storage/dblogVMware Postgres database logging location
VMDK810GB/storage/seatStats, Events, Alarms and Tasks (SEAT) directory for VMware Postgres
VMDK91GB/storage/netdumpVMware Netdump collector repository that stores ESXi dumps
VMDK1010GB/storage/autodeployVMware Auto Deploy repository that stores the thinpackages used for stateless booting of ESXi hosts
VMDK1110GB/storage/imagebuilderVMware Image Builder repository that stores the vSphere image profiles, software depots and VIB packages, such as driver VIBs and update VIBs.
VMDK12100GB/storage/updatemgrVMware Update Manager repository where patches and updates are stored for Virtual Machine and ESXi hosts
VMDK1350GB/storage/archiveVMware Postgres database’s Write-Ahead Logging (WAL) location
List of VMDKs/Partitions for a vCenter Server 6.7

List of VMDKs for a vCenter Server Appliance 6.5

Disk
(VMDK)
Default Size
(Tiny)
Mount PointPurpose
VMDK112GB/ (10GB)
/boot (132MB)
SWAP (1GB)
Directory where the kernel images and boot loader configurations are stored.
VMDK21.8GB/tmpDirectory used to store temporary files generated or used by services from vCenter Server
VMDK325GBSWAPDirectory used when the system is out of memory to swap to disk
VMDK425GB/storage/coreDirectory where core dumps from VPXD process from the vCenter Server are stored
VMDK510GB/storage/logDirectory where vCenter Server and Platform Services Controller store all logs for the environment
VMDK610GB/storage/dbVMware Postgres database storage location
VMDK75GB/storage/dblogVMware Postgres database logging location
VMDK810GB/storage/seatStats, Events, Alarms and Tasks (SEAT) directory for VMware Postgres
VMDK91GB/storage/netdumpVMware Netdump collector repository that stores ESXi dumps
VMDK1010GB/storage/autodeployVMware Auto Deploy repository that stores the thinpackages used for stateless booting of ESXi hosts
VMDK1110GB/storage/imagebuilderVMware Image Builder repository that stores the vSphere image profiles, software depots and VIB packages, such as driver VIBs and update VIBs.
VMDK12100GB/storage/updatemgrVMware Update Manager repository where patches and updates are stored for Virtual Machine and ESXi hosts
List of VMDKs/Partitions for a vCenter Server 6.5