Hi, Today I had a problem, my vCenter server storage/log was full.
I was able to solve it with these instructions:
To increase the disk space
- Power off the vCenter Server VM. If the VM is inaccessible, then do this from the ESXi host level
- Right-click the VM.
- Click Edit Settings.
- Select Virtual Disk.
- Increase the size of the disk. Ensuring there is no snapshot attached to VM.
- Power on VM
- Use the BASH Shell or Appliance Management CLI o expand the partition(s).
Increase disk space using BASH Shell
- Log in to the vCenter Server Appliance using SSH and root credentials.
- Run this command to enable the Bash shell:
shell.set –enabled true
- Type shell and press Enter.
- Use these commands to verify which disk is experiencing disk capacity issues, then trace which SCSI ID will show in the VM edit settings:
df -h; lsblk; lsscsi
5- Using the VAMI address –> https://vcenter:5480 –> Monitor –> Disks
You can find the Hard Disk number that you must be increased.
6- 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.
7- 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:
/usr/lib/applmgmt/support/scripts/autogrow.sh
8- Run this command to confirm that the virtual disk has successfully grown:
df -h; lsblk; lsscsi
9- you can see it from VAMI
Finish 🙂