1752789 Members
5968 Online
108789 Solutions
New Discussion юеВ

Re: root directory

 
SOLVED
Go to solution
Rob O'Connor
Advisor

root directory

Hey everyone:
Well, my weekly seeking help from you guys. The root directory on my system is getting filled. I can't find what's is causing the problem or the files that needs to be clean. The directory that suspected is /etc. The '/' contains the following:
dev
bin
sbin
Mail
dead.letter
etc
.elm
.kshrc
. etc...
I was wondering if anyone has any suggestions on which files to clean. The '\' has 260mb of which close 250mb is used. Driving me nuts! Thanks.

Henry
13 REPLIES 13
Robert-Jan Goossens
Honored Contributor
Solution

Re: root directory

Hi Henry,

# cd /
# find . -type file -size +1000 -exec ls -l {} \;

will locate your big file in /

Hope it helps,

Robert-jan.
Robert-Jan Goossens
Honored Contributor

Re: root directory

Hi Henry,

# cd /
# find . -type file -size +1000 -xdev -exec ls -l {} \;

will locate your big file in /

Hope it helps,

Robert-jan.
LucianoCarvalho
Respected Contributor

Re: root directory

hi,
Try to sue large files using find.
#find / -size 10000 -print

You can change the value 10000 to any value you want.
Another trick is to look at /dev/rmt. Sometimes big files are created when someone type a wrong tape address to do a backup.

best regards.
LucianoCarvalho
Respected Contributor

Re: root directory

hi,
Try to sue large files using find.
#find / -size 10000 -print

You can change the value 10000 to any value you want.
Another trick is to look at /dev/rmt. Sometimes big files are created when someone type a wrong tape address to do a backup.

best regards.
LucianoCarvalho
Respected Contributor

Re: root directory

hi,
Try to sue large files using find.
#find / -size 10000 -print

You can change the value 10000 to any value you want.
Another trick is to look at /dev/rmt. Sometimes big files are created when someone type a wrong tape address to do a backup.

best regards.
LucianoCarvalho
Respected Contributor

Re: root directory

hi,
Try to sue large files using find.
#find / -size 10000 -print

You can change the value 10000 to any value you want.
Another trick is to look at /dev/rmt. Sometimes big files are created when someone type a wrong tape address to do a backup.

best regards.
LucianoCarvalho
Respected Contributor

Re: root directory

hi,
Try to sue large files using find.
#find / -size 10000 -print

You can change the value 10000 to any value you want.
Another trick is to look at /dev/rmt. Sometimes big files are created when someone type a wrong tape address to do a backup.

best regards.
James R. Ferguson
Acclaimed Contributor

Re: root directory

Hi Henry:

Look for a non-special file in '/dev'. A backup that mis-keyed '/dev/rmt/om' instead of '/dev/rmt/0m' is a common mistake and lead to a very inflated root directory.

Regards!

...JRF...
Pete Randall
Outstanding Contributor

Re: root directory

Run a "du -sk /*" to see where you need to concentrate your efforts. If it is in /etc, then drill down with "du -sk /etc/*" and keep drilling down into subdirectories until you find the offendor.


Pete

Pete