Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Oct 2002 09:52:58 -0700
From:      chip.wiegand@simrad.com
To:        nkinkade@dsl-only.net
Cc:        freebsd - <questions@freebsd.org>
Subject:   Re: can't find certain doc
Message-ID:  <OFF8E1A26C.AEF1B9E1-ON88256C5B.005C5F6B-88256C5B.005D1B8E@simrad.no>
In-Reply-To: <20021023160241.GA270@sub21-156.member.dsl-only.net>

next in thread | previous in thread | raw e-mail | index | archive | help

owner-freebsd-questions@FreeBSD.ORG wrote on 10/23/2002 09:02:41 AM:

> On Mon, Oct 21, 2002 at 02:49:46PM -0700, chip.wiegand@simrad.com wrote:
> > I thought I saw a doc called something like 'what to do if your hard
drive
> > gets full'. I checked the docs
> > the freebsd.org and couldn't find anything like that. Is there a doc
out
> > there some place that tells me
> > what to do when the root partition fills up, for no apparent reason?
This
> > machine is strictly a web
> > backup box and rarely is used for anything else, yet the root partition
is
> > at 104%.

> Try:
> # cd /
> # du -h -d 1 -I usr

That helps a lot, thanks, though I still haven't found any one particularly
large file or directory. In /var/db/pkg is about 14megs, is it okay to
clear
that stuff? And in . is kernel and kernel.generic, do I need both of these?
I have gotten the du down to 98% so far, on a 150meg / partition.

--
chip

> This should tell you how much space each file/dir is using in /,
> excluding, the 'usr'.  Some  of  the other dirs are bound to be
> mounted filesystems, but ignore those.  Exluding 'usr' just saves
> a lot of time, as `du' doesn't have to calculate that beast of a
> filesystem.

> Nathan

> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?OFF8E1A26C.AEF1B9E1-ON88256C5B.005C5F6B-88256C5B.005D1B8E>