Have you got an NSX Manager that’s done the rounds for the past few years and served you well? Is it time for another upgrade but you’re stuck because the disk is full and you’ve been told:
Cannot continue upgrade due to errors : Insufficient disk space. Database disk usage is at 87%, but it should be less than 70%. We recommend running a database full vacuum before proceeding with upgrade. Upgrade aborted.. Please correct before proceeding.
I’ve hit this today, and found something interesting that can happen if your NSX Manager has been around for quite some time. I found that the /common/work/Catalina/localhost/_
directory stores incomplete update/upgrade uploads from the NSX management interface. If you’ve had a few uploads fail in the past or you’ve had to cancel them for another reason the files will reside here. Here’s what mine looked like:
|
|
You can see the files were from last year during the last series of upgrades in this environment.
If you want to clear this directory you’ll need to SSH to your NSX Manager. Warning: This is not supported by VMware and any changes made to the NSX Manager should only be done by GSS.
- SSH to the NSX Manager
- Enable Tech Support mode: https://kb.vmware.com/s/article/2149630 Protip: When the “st eng” command prompts for a password, it’s asking for the “IAmOnThePhoneWithTechSupport” string.
- Change directory to
/common/work/Catalina/localhost/_
. - Clear out the temp files:
rm ./*.tmp
Again, this isn’t supported and I provide no warranty on this. However, it worked for me.