From owner-freebsd-questions@FreeBSD.ORG Wed Oct 7 12:26:59 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E96581065676 for ; Wed, 7 Oct 2009 12:26:59 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id A28E88FC12 for ; Wed, 7 Oct 2009 12:26:59 +0000 (UTC) Received: from mr02.lnh.mail.rcn.net ([207.172.157.22]) by smtp02.lnh.mail.rcn.net with ESMTP; 07 Oct 2009 08:26:58 -0400 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr02.lnh.mail.rcn.net (MOS 3.10.7-GA) with ESMTP id QFO97588; Wed, 7 Oct 2009 08:08:42 -0400 (EDT) Received: from 209-6-22-227.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.22.227]) by smtp01.lnh.mail.rcn.net with ESMTP; 07 Oct 2009 08:08:35 -0400 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19148.33986.629983.591360@jerusalem.litteratus.org> Date: Wed, 7 Oct 2009 08:08:34 -0400 To: Jonathan Chen In-Reply-To: <20091007094142.GA90993@osiris.chen.org.nz> References: <874310.63278.qm@web52906.mail.re2.yahoo.com> <20091007094142.GA90993@osiris.chen.org.nz> X-Mailer: VM 7.17 under 21.5 (beta28) "fuki" XEmacs Lucid X-Junkmail-Whitelist: YES (by domain whitelist at mr02.lnh.mail.rcn.net) Cc: Chris Stankevitz , freebsd-questions@freebsd.org Subject: Re: / almost out of space just after installation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Oct 2009 12:27:00 -0000 Jonathan Chen writes: > > I just installed FreeBSD. After I installed it, I was surprised > > to find only 26M of space on /. I used the auto-defaults during > > the Disklabel portion of the install. > > > > [cstankevitz@crs-m6300 ~]$ df -h > > Filesystem Size Used Avail Capacity Mounted on > > /dev/ad4s1a 496M 430M 26M 94% / > > devfs 1.0K 1.0K 0B 100% /dev > > /dev/ad4s1e 496M 14K 456M 0% /tmp > > /dev/ad4s1f 113G 1.9G 102G 2% /usr > > /dev/ad4s1d 2.9G 7.9M 2.6G 0% /var > > > > Q1: Is 26M free space on / after installing FreeBSD normal? > > > > The amount used (ie: 430M) looks about right. On my > FreeBSD-7.2-STABLE/amd64, running a GENERIC kernel with a minimal > /etc, my / filesystem is using 443M. However, this has a > /boot/kernel and a /boot/kernel.old, both of which chews up 210M > each. Agreed. Other minor suggestions to the OP: check the contents of /root, and move anything large that can live elsewhere and create a symlink. And somethings can just be deleted: if root uses two or three times a year, then a large cache is probably superfluous. Look for any ".core" files, which can usually be deleted. It is my understanding that - providing /tmp is on a separate partition - / should receive very little traffic, and the size should stabilize quickly. Robert Huff