General discussion

Locked

root directory

By jaboy78 ·
my bb shows this error in my unix running squid

/dev/dsk/c0t0d0s0 867935 734834 72346 92% /

how to clean the logs of this / directory
Where is it located??

This conversation is currently closed to new comments.

3 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

by joematus In reply to root directory

The / directory is the root directory, it sounds like it's filling up. All your other partitions like var are mounted under the root directory. If it fills up, you're system will have big problems. You'll want to find where your large files are -- this will show the files greater than 1 meg:

find / -xdev -size +1024 -ls | sort -r +b

Note that this will show all your files greater than 1 meg as opposed to that in the root directory. To get to the root directory:

cd /

While you're there use this command to find the subdirectories that take up the most space:

du -k | sort -nr | more

You'll want to find the app that is creating the files that are starting to fill up the root dir. If it's squid try having it log to somewhere that you have more disk space. As an alternative, if you need the large files you can move them or create a symbolic link that writes them to another partition. What you decide really depends on what is causing your root directory to fill up.

Collapse -

by jaboy78 In reply to

Poster rated this answer.

Collapse -

by jaboy78 In reply to root directory

This question was closed by the author

Back to Linux Forum
3 total posts (Page 1 of 1)  

Related Discussions

Related Forums