From owner-freebsd-questions Wed Oct 23 11:24:31 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 48F2037B401 for ; Wed, 23 Oct 2002 11:24:29 -0700 (PDT) Received: from mail.simrad.no (mail.simrad.no [193.69.73.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id A66E143E65 for ; Wed, 23 Oct 2002 11:24:28 -0700 (PDT) (envelope-from chip.wiegand@simrad.com) In-Reply-To: <200210231744.g9NHic724712@clunix.cl.msu.edu> Subject: Re: can't find certain doc Sensitivity: To: jerrymc@clunix.cl.msu.edu Cc: chip.wiegand@simrad.com, nkinkade@dsl-only.net, questions@FreeBSD.ORG (freebsd -) X-Mailer: Lotus Notes Release 6.0 September 26, 2002 Message-ID: From: chip.wiegand@simrad.com Date: Wed, 23 Oct 2002 11:20:53 -0700 X-MIMETrack: Serialize by Router on S_INET01/S_EXT(Release 5.0.11 |July 24, 2002) at 23.10.2002 20:24:41 MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Jerry McAllister wrote on 10/23/2002 10:44:38 AM: > > > > 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 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. > or just: > cd / > du -sk * > But, no matter what they try to tell you, 150 MB is awfully > small for the root partition now days. Thanks, I'll keep that in mind tonight when I set up a new box at home. :) -- Chip > At that size you would > have to manage stuff pretty tightly. The thing you would have > to do is have a nice pristine system and do the du. Then when > it starts to fill up, do a new du and compare to see what has > been growing. Do you have logs going somewhere besides root? > What about root's Email? Do you do any tinkering as root that > might leave some files around. All these things can use up that > little space quickly. > Anyway, about the only things you can do are to look for files to delete > or directories to move to a different partition with a sym-link and/or > to redo your partitions to make root a little bigger (250MB at least) > either on that disk or get a new bigger disk and start clean. > ////jerry > > -- > > 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 > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message