Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jun 2005 09:58:45 -0400
From:      Ean Kingston <ean@hedron.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: df: root partition at 108% capacity! Can't find why...
Message-ID:  <200506160958.45589.ean@hedron.org>
In-Reply-To: <c62e57e1dd99f58ceeb0def43229a083@comcast.net>
References:  <c62e57e1dd99f58ceeb0def43229a083@comcast.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On June 15, 2005 05:24 pm, SteveW wrote:
> Hi All,
>
> df: root partition at 108% capacity! Can't find why...
>
> After searching google freebsd.org I am no nearing to figuring this
> out, other than this is a "known" problem. Either I or the system
> managed to get the root partition back to under 100% but only just... I
> have looked for any large files that might be taking up space but have
> yet to locate anything over 3meg.
>
> Any suggestions, ideas, thoughts gratefully received.

1. Create  a separate /tmp filesystem. You should never let ordinary users (or 
daemons) write to the root filesystem. Unless you really need the nearly 4G 
of space you have in /var for a specific reason, you should be able to take 
some space out of there for your /tmp.

2. Use du to track down large files/directories, as was suggested by someone 
else.

3. Double check the size of hidden files in / and /root.

4. When you find out what is/was filling your filesystem, change the 
configuration so it doesn't happen again.

>
> Thanks,
>
>
> Steve
>
>
>
> INFO:
> FreeBSD 4.7-RELEASE-p10 / 80gig drive
>
> df was: /dev/ad0s1a   252M   250M -18.5M   108%
>
> df now:
> Filesystem    Size   Used  Avail Capacity  Mounted on
> /dev/ad0s1a   252M   230M   1.8M    99%    /
> /dev/ad0s1g    29G   2.3G    24G     9%    /home
> /dev/ad0s1f   3.0G   1.7G   1.0G    62%    /usr
> /dev/ad0s1e   3.9G    75M   3.5G     2%    /var
> procfs        4.0K   4.0K     0B   100%    /proc
>
> After the cras dmesg was filled with this:
> pid 8967 (cp), uid 0 on /: file system full
> pid 8967 (cp), uid 0 on /: file system full
>

-- 
Ean Kingston

E-Mail: ean AT hedron DOT org
URL: http://www.hedron.org/
I am currently looking for work. If you need competent system/network 
administration please feel free to contact me directly.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200506160958.45589.ean>