VMware Cloud Community
jonson
Contributor
Contributor

esx root running out off space all the time

Hi,

We have a issue with our esx 3.0 and we found out it is becasue the root is run out of space. do any one know why ? I suspect was the log file for VM, does any onw know when those VM log file keep? can I clear them out?

Thanks

Jonson

0 Kudos
6 Replies
Chris_Howard
Hot Shot
Hot Shot

Logs are kept in the /var/log directory - however this may sit in its own filesystem.

You can use du -sh * from the / directory, which will list the files and folders in that directory, and their sizes. - you can then hopefully drill down to find the offending area.

If you found this helpful please consider the use of the Helpful /Correct buttons to award points. Thanks !!

If you found this helpful please consider the use of the Helpful /Correct buttons to award points. Thanks !!
0 Kudos
weinstein5
Immortal
Immortal

Did you follow the recommended partioning when you install ESX? - If you did it should have put /var/log into a seperate partition and thus reducing the chance that logs are the issue - could comeone be copying files to / - checking what directory is filling up will definitely help determining what is going on -

If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful
0 Kudos
blackforce
Contributor
Contributor

Have you uploaded any ISO's to VMimages folder? If you have stick them on a datastore not in there, as that is contained in the root

0 Kudos
weinstein5
Immortal
Immortal

That ois a good point - in ESX 2.x that was the preferred place to place ISO images with 3.x the preferred location is on a datastore like blackforce recommends - eithe VMFS or NAS/NFS

If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful
0 Kudos
kjb007
Immortal
Immortal

The 3.0 HA logs are kept in /opt. That is also a partition no always broken out into its own filesystem. Run du -sh /opt to see if that is your culprit.

-KjB

vExpert/VCP/VCAP vmwise.com / @vmwise -KjB
0 Kudos
petedr
Virtuoso
Virtuoso

Another thing to check is are you getting any core dumps which could be taking up space.

They would be in /var/core

Like was said du -sh * from with a directory will give you the sizes and point to where the issues may be.

www.thevirtualheadline.com www.liquidwarelabs.com
0 Kudos