From owner-freebsd-questions@FreeBSD.ORG Sat Mar 6 01:30:53 2004 Return-Path: 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 D3A9016A4CE for ; Sat, 6 Mar 2004 01:30:53 -0800 (PST) Received: from smtp01.wxs.nl (smtp01.wxs.nl [195.121.6.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id 06DD543D41 for ; Sat, 6 Mar 2004 01:30:53 -0800 (PST) (envelope-from freebsd@akruijff.dds.nl) Received: from kruij557.speed.planet.nl (ipd50a97ba.speed.planet.nl [213.10.151.186]) by smtp01.wxs.nl (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with ESMTP id <0HU5009Y5EFF4T@smtp01.wxs.nl> for freebsd-questions@freebsd.org; Sat, 06 Mar 2004 10:30:52 +0100 (MET) Received: from alex.lan (localhost [127.0.0.1]) by kruij557.speed.planet.nl (8.12.10/8.12.10) with ESMTP id i269UAsb033873; Sat, 06 Mar 2004 10:30:10 +0100 Received: (from akruijff@localhost) by alex.lan (8.12.10/8.12.10/Submit) id i269U85Q033872; Sat, 06 Mar 2004 10:30:08 +0100 Content-return: prohibited Date: Sat, 06 Mar 2004 10:30:08 +0100 From: Alex de Kruijff In-reply-to: <200403032150.i23LoXi15171@clunix.cl.msu.edu> To: Jerry McAllister Message-id: <20040306093008.GA782@alex.lan> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: Mutt/1.4.2.1i References: <11F383396235D511994B00A0C9E175377211FB@INDEC-NTSERVER> <200403032150.i23LoXi15171@clunix.cl.msu.edu> X-Authentication-warning: alex.lan: akruijff set sender to freebsd@akruijff.dds.nl using -f cc: "'freebsd-questions@freebsd.org'" cc: Ron Joordens Subject: Re: /root file system full X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Mar 2004 09:30:54 -0000 On Wed, Mar 03, 2004 at 04:50:32PM -0500, Jerry McAllister wrote: > > Good Morning, > > > > I have recently installed FreeBSD 4.9 and have thoroughly enjoyed my first > > foray into the BSD world. Indeed my first foray into any non-windows OS. So > > far I have encountered quite a few problems but have always managed to find > > an answer in the handbook or by searching through the extensive resources > > available on the net. Great documentaion! This is the first time I have > > needed to ask a question. > > Good. > > > > My / filesystem is full. 109%. I want to know what is on the / filesystem, > > what I can get rid of, how to get rid of it and how to make sure that it > > doesn't happen again. > > First, use the program to check usage of a disk. > Since it is / that is overfull, > log in or su to root > cd / > du -sk * > > Then find out which directory trees or files are using up > all the space. > CD in to those directories and do the same thing until you > find some things that seem unexpectedly large or unnecessary. > Then you can delete unneeded things. > > In spite of a pretty good system, upgrades and installs can use > up space and leave extra stuff lying around. Some of them clean > up after themselves well and some don't do so well. > > As for the amount of space you need in a / filesystem, I think > that the 128 MB is unrealistic. If you have just a base system > and stay right on top of it all the time, you can get by with that > amount. With disks being so much larget nowdays, I let myself > have more, maybe double or so. But, on the machine I am on at > the moment, although I have a bigger root, only 43 MB of it is used. I agree, but don't make it to much bigger. There is a better performance include with a small root, since the start of the disk is faster then the end. Having a small root allow a faster boot and faster writes and read to swap file, since this is then closer to the start. I feel 256M would be appropriate. It migth be that less gives problems when you try to update though the make world process. -- Alex Articles based on solutions that I use: http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/