Search the VMware Knowledge Base (KB)
View by Article ID

Increasing the disk space for the VMware vCenter Server Appliance in vSphere 6.0 (2126276)

  • 72 Ratings

Purpose

This article provides steps to increase the disk space of a specific VMDK for the vCenter Server Appliance 6.x. With the introduction of Logical Volume Management (LVM) in vSphere 6.0, you are now able to dynamically increase the disk size of the vCenter Server disks.

This table provides a list of VMDKs and their respective components within the vCenter Server Appliance:

Note: The sizes provided are generated from a vCenter Server Appliance deployed using a Tiny specification. Your environment may differ depending on the sizing used.

 Disk  VMDK)   Default Size  
 (Tiny VCSA)
 Mount Point  Purpose
 VMDK1  12GB / (10GB)
/boot (132MB)
SWAP (1GB)
 Boot directory where the kernel images and boot load configurations are stored
 VMDK2  1.3GB /tmp  Temporary directory used to store temporary files generated or used by services from vCenter Server
 VMDK3  25GB SWAP  Swap directory used when the system is out of memory to swap to disk
 VMDK4  25GB /storage/core  Core directory where core dumps from VPXD process from the vCenter Server are stored
 VMDK5  10GB /storage/log  Log directory where vCenter Server stores all logs for the environment
 VMDK6  10GB /storage/db  VMware Postgres database storage location
 VMDK7  5GB /storage/dblog  VMware Postgres database logging location
 VMDK8  10GB /storage/seat  Stats, Events, Alarms and Tasks (SEAT) directory for VMware Postgres
 VMDK9  1GB /storage/netdump  VMware Netdump collector repository that stores ESXi dumps
 VMDK10  10GB /storage/autodeploy  VMware Auto Deploy repository that stores the thinpackages used for stateless booting of ESXi hosts
 VMDK11  5GB /storage/invsvc  VMware Inventory Service directory where the xDB, Inventory Service bootstrap configuration file, and tomcat configuration files reside

Resolution

To increase the disk capacity for a specific VMDK on the vCenter Server Appliance 6.0:
  1. Log in to the vCenter Server Appliance using SSH and root credentials.
  2. Run this command to enable the Bash shell:

    shell.set --enabled true

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

    df -h

  5. 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.

  6. 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

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

    df -h

Additional Information

To increase the disk space for vCenter Server Appliance 5.x, see Increase the disk space in vCenter Server Appliance (2056764).
To increase the disk space for vCenter Server Appliance 6.5, see Increasing the disk space for the VMware vCenter Server Appliance in vSphere 6.5 (2145603).

See Also

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 72 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.

What can we do to improve this information? (4000 or fewer characters)




Please enter the Captcha code before clicking Submit.
  • 72 Ratings
Actions
KB: