Posts

Showing posts from April, 2026

How to Clean VMware vCenter Logs and Fix Storage Full Issues (Step-by-Step Guide)

Introduction If your VMware vCenter Server is running out of disk space, especially under /storage/log or /storage/archive , it can impact performance and even stop critical services. In this guide, I’ll walk you through a real-time troubleshooting approach to identify large log files and safely clean them. Step 1: Access vCenter Appliance Shell Login using SSH: login as: administrator@vsphere.local Command> shell Switch to root: sudo -i Step 2: Unlock or Reset Root Account (if needed) /usr/sbin/faillock --user root --reset passwd Step 3: Identify Large Log Files Navigate to log directory: cd /storage/log Find top large files: find . -type f -print0 | xargs -0 du -h | sort -rh | head -n 10 👉 Example output from your system: 1.5G log bundle Multiple 100MB threadmonitor logs Step 4: Remove Unnecessary Large Files Delete large old log bundle: rm vc-localhost-*.tgz Re-check: du -xh -d 1 | sort -rh Step 5: Identify Log Growth Directories find ./ -type d -exec sh -c 'echo -n "{...