VMware Cloud Community
mgman11
Contributor
Contributor

Issue With Log Disk Exhaustion

VMWare Appliance 7.0.2

If I run the command df -h I can see that my log disk is close to full. Size 20G Used 16G Avail 2.8G Use% 86

If I run this command,  du -sh ./vmware  I can see that the vmware folder on the log disk is using 2.1G

There are 2 other folders in /storage/log and they are empty. Where are the other 14GB of used disk? I should have almost 18G free I would think.

 

-Mark

0 Kudos
7 Replies
scott28tt
VMware Employee
VMware Employee

I've reported your thread so a moderator should move it to the area for vCenter Server.

 


-------------------------------------------------------------------------------------------------------------------------------------------------------------

Although I am a VMware employee I contribute to VMware Communities voluntarily (ie. not in any official capacity)
VMware Training & Certification blog
0 Kudos
Ajay1988
Expert
Expert

Go to /storage/log/vmware/ and run below commands to find what is taking space.

du -shc *
du -skhxc /storage/log/vmware/* | sort -n

Share the output in a txt file

If you think your queries have been answered
Mark this response as "Correct" or "Helpful".

Regards,
AJ
0 Kudos
mgman11
Contributor
Contributor

Thank you. Output attached shows 2.6 GB of usage.

 

-Mark

0 Kudos
Ajay1988
Expert
Expert

That seems fine. Can u share output of below even please ?

df -h 

fdisk -l | grep "/dev/mapper/log_vg-log" | less

If you think your queries have been answered
Mark this response as "Correct" or "Helpful".

Regards,
AJ
0 Kudos
mgman11
Contributor
Contributor

See output2.txt . Thank you 🙂

0 Kudos
Ajay1988
Expert
Expert

Well at present I don't see any issue as mentioned by u . storage/log is used 2.2 GB .

root@vc [ ~ ]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/log_vg-log 20G 2.2G 17G 12% /storage/log

Ajay1988_0-1654004664487.png

 

If you think your queries have been answered
Mark this response as "Correct" or "Helpful".

Regards,
AJ
0 Kudos
robc_yk
Enthusiast
Enthusiast

Have a look at vmware KB#76563.

It's not difficult to clear up and requires no downtime.

0 Kudos