This article provide steps on how to delete files when the vCenter /Storage/archive/ partition is full.
File system /storage/archive is low on storage space. Increase the size of disk /storage/archive.
/storage/archive
partition near or is at 100% utilization.VMware vCenter Server Appliance 6.7.x
VMware vCenter Server 7.0.x
VMware vCenter Server 8.0.x
1. Take a snapshot of the vCenter Server Appliance
2. SSH into the vCenter Server Appliance
3. Run the following command to enable access to the Bash shell: (for more information about enable or disable SSH ad Bash shell access, refer Enable or Disable SSH and Bash Shell Access)
shell.set –enabled true
4. Type shell
and press Enter
5. Navigate to directory /storage/archive/vpostgres/
cd /storage/archive/vpostgres
/
6. Run for following command to check file which are older than 40 Days.
find * -mtime +40
7. To delete / remove files older than 40 days,. ***Cross verify the folder path before running the below command***
find *.* -mtime +40 | xargs rm
8. Use command “df -h” to display the disk space in a human-readable form:
df -h
9. Wait for 2 -3 minutes, then try refreshing the browser to see if the hard drive 13 space archive partition no longer shows a red warning.