new1234.jpg
Home > VMware > VMware: Increasing the disk space for the VMware vCenter Server Appliance in vSphere 6.0

VMware: Increasing the disk space for the VMware vCenter Server Appliance in vSphere 6.0

Some months ago I installed 15 new vSphere 6.0 hosts with local flash disks. After installation I configured the VMware Syslog Service at the vCenter appliance. Few weeks later the vSphere web-client shows some warnings about disk usage

Problem

Filesystem /dev/mapperlog_vg_log usage 100%, mounted on /storage/logs

 
Use this command to verify which disk is experiencing disk space issues:

image

 

 

 

 

 

 

 

 

 

 

 

 

Solution

As you can see the the /storage/logs mount point is located at VMDK5

image

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Edit de vCenter appliance virtual hardware, select disk Hard disk 5 and increase the provisioned size, in my case from 10 to 20 GB

image

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Once the virtual disk has been increased, return to the SSH session and execute this command to automatically expand any logical volumes for which the physical volumes are increased:

vpxd_servicecfg storage lvm autogrow

 

image

 

 

 

 

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

image

 

 

 

 

 

 

 

 

 

More information: VMware

sanderdaems

Sander Daems is founder and author of this blog and working as a Lead (Sr.) Consultant by UNICA ICT Solutions. Sander has over 15 years experience in IT, primary focus: virtualization and modern worksplace.

More Posts - Website

Follow Me:
TwitterLinkedIn

  1. Peter
    December 14th, 2015  (Quote) at 10:09  (Quote) | #1

    Very nice, this is what I’m looking for

  2. Gianluigi
    February 27th, 2016  (Quote) at 15:35  (Quote) | #2

    Great post Sander, very useful, thanks a lot!
    I had the same problem… did you discovered the reason why the log partition was full?
    In my case the ESXi were really chatty 😉 seems that the default VCSA logrotate settings are not adequate even for just 2 hosts…

  1. No trackbacks yet.