Re: Root filesystem full

From: Aaron Baugher (abaugher_at_esc.pike.il.us)
Date: 03/29/04


Date: Mon, 29 Mar 2004 14:38:28 -0600

Sean <smalone@sbcglobal.net> writes:

> Filesystem Size Used Avail Capacity Mounted on
> /dev/ad0s1a 248M 246M -18.4M 108% /
>
> Can anyone suggest how to begin troubleshooting this?

cd /
du -x -d 1

The '-x' says don't traverse other filesystems, and the '-d 1' says
only go one level deep. That'll give you a list of all the
directories in / that aren't on other filesystems, and how much space
they're taking up. That should help you find what's filled it up.
Use 'ls -l' to check for files, if the directory listing doesn't show
anything large.

If you see that a particular directory is using a lot, cd into it and
run that same du command again to narrow it down further. I've got
the same partition setup as you, and my / is only 72MB, so you've got
something pretty big somewhere that should stand out.

-- 
Aaron
abaugher@esc.pike.il.us