Low disk space" warning messageadmin@vLR[~]$ df -hFilesystem Size Used Avail Use% Mounted on/dev/mapper/support_vg-support 3.9G 3.9G 0 100% /opt/vmware/support/dev/loop0 2.3G 2.2G 8.9M 100% /opt/vmware/support/logs/srm/SRAs
du -sh * command within the /opt/vmware/support directory reveals no files consuming excessive disk space.root@vr_hostname [ /opt/vmware/support ]# du -sh *4.0K hms4.0K impex352M logs16K lost+found
lsof command on the appliance, which confirms that the HMS process is actively holding file descriptors for .tar.gz files marked as deleted.lsof | grep -i deleted
COMMAND PID TID TASKCMD USER FD TYPE DEVICE SIZE/OFF NODE NAMEgzip 7575 vrms 3r DIR 254,1 0 40965 /opt/vmware/support/hms/HSB-hms-8c030f47-4a4c-4dc6-9b36-########### (deleted)gzip 7575 vrms 4r REG 254,1 651161600 40966 /opt/vmware/support/hms/HSB-hms-8c030f47-4a4c-4dc6-9b36-###########/bundle.tar.gz__tmp_1782831816181 (deleted)gzip 9020 vrms 3r DIR 254,1 0 65537 /opt/vmware/support/hms/HSB-hms-0a6ac6d2-5b6b-4fa4-be07-########### (deleted)gzip 9020 vrms 4r REG 254,1 654376960 65538 /opt/vmware/support/hms/HSB-hms-0a6ac6d2-5b6b-4fa4-be07-###########/bundle.tar.gz__tmp_1782832235399 (deleted)
To resolve the immediate storage constraint, apply the following workaround to stop the HMS service, clear the locked log files, and modify the log rotation configuration to truncate files in place.
admin" user.root" by running command su -systemctl stop hmscd /opt/vmware/support/logs/hmsrm hms-stderr.log*rm hms-stdout.log*vi /etc/logrotate.d/hms-service.conf/opt/vmware/logs/hms/hms-stdout.log /opt/vmware/logs/hms/hms-stderr.log { size 50M rotate 5 compress nocreate nodateext su root vrms}nocreate parameter with copytruncate and updating the file paths to match the environment. Ensure the updated block reflects the following configuration:/var/log/vmware/hms/hms-stdout.log /var/log/vmware/hms/hms-stderr.log { size 50M rotate 5 compress copytruncate nodateext su root vrms}HMS service by running command systemctl start hmslogrotate service by running command systemctl restart logrotate