vCenter Server patching to 8.0 U3h and above shows the warning message as below:
Warning
The log partition size on this vCenter Server is smaller than the recommended 50 GB.
Resolution
Please update log partition to 50 GB after successful patch. Refer to the Knowledge Base article for detailed steps. https://knowledge.broadcom.com/external/article/409413
Symptoms
# df -h /storage/log/
Filesystem Size Used Avail Uses Mounted on
/dev/mapper/log_vg-log 9.8G 3.5G 5.9G 37% /storage/log
#
VMware vCenter Server 8.0 U3h and above.
From 8.0 U3h onwards, the size of /storage/log is 50 GB by default for fresh vCenter deployments, major upgrades, and patching using the Reduced Downtime Update (RDU) method. Existing appliances deployed with smaller log partitions trigger this warning to ensure sufficient space for updated logging requirements.
Increase the /storage/log partition size to 50 GB by following the steps below:
Important Considerations and Prerequisites:
Identify the disk corresponding to /storage/log
Increase the /storage/log mount
shell to 'bash' using **shell** command if the default shell is Appliance shell. * List APIs: "help api list" * List Plugins: "help pi list" * Launch BASH: "shell"
Command> shellShell access is granted to rootroot@<hostname> [ ~ ]#
/storage/log mount.lsblk -o NAME,HCTL,MOUNTPOINT,SIZEls -al /sys/block/sd*/sys/block/sde is mapped to SCSI device 0 and Unit number 4 (from the 3rd part of the HCTL entry [2:0:4:0] in the above screenshots), which means /sys/block/sde maps to SCSI (0:4).Note:
In VC, the letter in /dev/sdX follows the alphabetical order to indicate the sequence of hard disks detected by the system. Hence, /dev/sde maps to Hard disk 5. But, it is recommended to follow above steps to find the disk.a = Hard Disk 1 (/dev/sda)b = Hard Disk 2 (/dev/sdb)...e = Hard Disk 5 (/dev/sde)...q = Hard Disk 17 (/dev/sdq)
root' user using SSH and switch to the shell. * List APIs: "help api list" * List Plugins: "help pi list" * Launch BASH: "shell"
Command> shellShell access is granted to rootroot@<hostname> [ ~ ]#
/usr/lib/applmgmt/support/scripts/autogrow.sh
Note: Execution will fail with error "/run/lock/lvm/P_global:aux: open failed: Permission denied" if the login was attempted using non-root user. Re-login to vCenter Server as root user or execute the command 'su -" before executing the above script./storage/log disk has successfully grown.lsblkFor any Backup taken before this point, the restore must be done before resizing the disk.
For any Backup taken after this point, the restore must be done after resizing the disk.
List of VMDKs/Partitions for a vCenter Server 8.0 - Size Mount point and Purpose.