-->

vCenter /storage/archive being full on vCenter Appliance

This article describes how to clear space on partition being full on vCenter Appliance

I recently encountered the issue.  /storage/core full got full while checking on vCenter appliance. even we get alert on vCenter alerts.

Following steps to clear the space:-

> Login vCenter appliance putty session.

>  Run the command df -h to get details use of partitions/files.

# df-h

> Change the directory and /storage/core.

# root@vc-01#cd /storage/archive

ls -l (list of directories on file systems)

# root@vc-01#storage/archive# 

# root@vc-01#storage/archive/vpostgress#

Run the below command to verify the files 

# root@vc-01#storage/archive/vpostgress# find * -mtime +3

Here +3 means get more than 3 days files will generate.

if you want delete file on specific days , you should change number "find * -mtime +3"

Run the below command for delete the files 

# root@vc-01#storage/archive/vpostgress# find * -mtime +3 -exec rm {} \

Note: Make sure decide after days delete files means find * -mtime +3 -exec rm {} \

if want to change after 7 days files run the below command.

find * -mtime +7 -exec rm {} \

change number indicate days of retention.




> Run the df -h command to get space details on vCenter appliances.

vCenter /storage/archive being full on vCenter Appliance vCenter  /storage/archive being full on vCenter Appliance Reviewed by Virtulization on November 28, 2023 Rating: 5

No comments:

Home - PageNavi (show/hide)

hide
Powered by Blogger.