df -h command reveals that the root partition (/) is at 100% capacity.VCF 9.x
/) filesystem has reached maximum capacity.vcf-commonsvcs and operationsmanager), internal databases, and underlying logging frameworks lose the ability to write temporary files, PID files, or runtime data. This storage exhaustion blocks these essential orchestration services from completing their startup sequences, leading to service crashes and locking the UI into a perpetual initialization loop (resulting in the 502 Bad Gateway error).1: Prerequisite
Take an offline snapshot of the SDDC Manager virtual machine via the vSphere Client before proceeding.
2: SSH and Elevate Privileges
Connect to the SDDC Manager appliance via SSH using the vcf user account.
Elevate to the root user:
3: Identify Large Files Consuming Space
Download the Max_File_size.sh file from the Attachments section SDDC Manager UI becomes inaccessible due to root (/dev/sda4) partition filling up
Upload the Max_File_size.sh script to the SDDC Manager using Winscp or other file transfer protocol
Make the script executablechmod +x Max_File_size.sh
Run the script to pinpoint the largest directories:
./Max_File_size4: Reclaim Disk Space
Navigate to the local SFTP backup directory (or the directory identified in Step 3):
cd /var/srv/sftpuserIdentify and delete old, historical NSX backup files or directories that are no longer required.rm -rf <old_backup_filename_or_directory>
Verify that the disk space has been successfully reclaimed and the root partition is no longer at 100%:
df -h5: Restart SDDC Manager Services
/opt/vmware/vcf/operationsmanager/scripts/cli/sddcmanager_restart_services.sh