VMware Cloud Community
foster29
Contributor
Contributor

full partition

I have a full partion that i'm wondering could be causing my file system issues. I've read through the link below but still can not find where the files are http://www.vmware.com/community/thread.jspa?messageID=521692��

could a file system of 96% usage cause poor SC performance?

Filesystem Size Used Avail Use% Mounted on

/dev/sda5 3.9G 3.5G 183M 96% /

Message was edited by:

foster29

Reply
0 Kudos
7 Replies
whynotq
Commander
Commander

more than likely it is, as it's mounted on "/", check your partitions and see if you have a seperate /var/log partition. if you do then check the contents of the usual subjects i.e /tmp and /home as these can get full of old patches and un-needed applications.

Reply
0 Kudos
foster29
Contributor
Contributor

I've only found one var/log directory that does not appear to contain any large file sizes

Reply
0 Kudos
whynotq
Commander
Commander

so what about /tmp and /home ?

df -h shows your console partitions and their mount points, the one you have issue with is "/", try the following on /tmp and /home

du -h

which shows data useage of the file path so: du -h /tmp will show the utilisation of /tmp and the directories beneath it. if you want to do this for "/" itself i suggest you redirect the output to a text file and then browse the content to find your excessive useage.

foster29
Contributor
Contributor

nothing out of the ordinary, maybe 20 to 30 files no larger than 132kb in size. What is being stored in that partition? are they temp/disposable files. Is it possible to clear it out without any adverse effects?

Reply
0 Kudos
whynotq
Commander
Commander

/ contains your primary installation (so /home, /tmp, /proc, /etc, /opt ....) so it's not a case of just deleting some files, /home and /tmp are the most likely candidates by default you have /var/log as a partition so there may be files in /var that could be removed.

Reply
0 Kudos
Jae_Ellers
Virtuoso
Virtuoso

#!/bin/sh

find . \( \( -path './proc' -o -path './vmfs' \) -prune \) -o \( -size +10485760c -exec ls -lA \{} \; \)

will show all files > 10MB and skip looking in the /proc and /vmfs trees. Change the file size if you need to. It starts where you are sitting, so if you want to look at all the files cd to /. If you want to narrow the search just cd into a directory and rerun.

-=-=-=-=-=-=-=-=-=-=-=-=-=-=- http://blog.mr-vm.com http://www.vmprofessional.com -=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Reply
0 Kudos
foster29
Contributor
Contributor

still no luck, what I have noticed however is that restarting the service console has made dev/sda5 go from 96% to 100%. Not sure how much that helps me seeing I can't figure out what to delete.

Reply
0 Kudos