VMware Live Recovery
vSphere Replication 8.x
Deleting old log files in the appliance will free up space and remove the notification from the plugin in vCenter.
NOTE: Take a memory snapshot of the appliance before performing the steps below.
WARNING: Exercise caution when running the rm commands because once you delete a file it cannot be recovered. The rm command removes the entries for a particular file, group of files, or certain select files from a list within a directory. When you use the rm command, user confirmation, read permission, and write permission is not necessary before a file is deleted.
Steps to clean up the old files:
Example as below.
/opt/vmware/logs
and /opt/vmware/support
partition. Example as below:
root@vsphere-replication [ /var/log/journal ]# ls
6f57f5c608a24f2ba0d45b9ffbf97291 808021b8da5445d8927f06a9a0b3059b log
remote
root@vsphere-replication [ /var/log/journal ]# rm -rf *
root@vsphere-replication [ /opt/vmware/logs/hms ]# ls
rm -rf hms.*.log.gz
rm -rf hms-audit.*.log.gz
rm -rf hms-change.*.log.gz
rm -rf hms-eventlog.*.log.gz
rm -rf hms-hks.*.log.gz
root@vsphere-replication [ /opt/vmware/support/hms ]# ls
rm -rf hsb-*.gz
root@vsphere-replication [ /var/log/vmware ]# ls
rm -rf hbrsrv-*-int.stats.gz
rm -rf hbrsrv-*.stats
rm -rf hbrsrv-*.log.gz
root@vsphere-replication [ /var/log/vmware/dr ]# ls
rm -rf drconfig-*.log.gz
root@vsphere-replication [ /var/log/vmware/envoy ]# ls
rm -rf envoy-*.log.gz
If a log file is to be emptied and not deleted, the following command can be run: echo > filename
Reboot the appliance and check the disk space now to see how much space has been released.
Example as below.
Ensure that all essential services are running and delete the snapshot after a while.
If the low disk space alert persists even after deleting the log files, please contact Broadcom Support for further investigation.