Hello All
I thought I would share this as I have just gone through this exercise in a test vCenter before I make changes to prod.
Scenario : My /storage/logs were filling up and I was getting constant emails. I followed the steps in https://kb.vmware.com/s/article/83070 . These did not really free up enough space. After poking around the vCenter shell , I could not find sufficient large sized files so I decided to upgrade the logs volume.
I looked at this KB to determine which disk I needed to increase (Hard Disk 5)
https://kb.vmware.com/s/article/78515
Then I followed this guide to increase the space. Basically added 10GB more to the volume , SSH and expand. All good.
https://kb.vmware.com/s/article/2145603
Then I decided to take a manual backup of vCenter, delete it and restore from backup.
Here is where things went south quick
At stage 2, it would not proceed. Gave me a metadata error about the log volume . Here is how I worked past it
- Login to the server running vCenter VM. Edit settings and add 10GB (20GB total) to Hard Disk 5
- Open the Web Console on the vCenter, press F2 , authenticate, go into troubleshooting and enable SSH access
- Login to vCenter with SSH , enable BASH shell and run this command : /usr/lib/applmgmt/support/scripts/autogrow.sh
- run df -Th to make sure the volume was indeed expanded
- Return back to vCenter installer at Stage 2. Click continue
This time it worked because it detected the correct size for the storage volume.
This may save someone a lot of grief when they need to recover. I hope this helps someone