From owner-freebsd-questions@FreeBSD.ORG Wed Feb 22 18:32:59 2012 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 DAA771065707 for ; Wed, 22 Feb 2012 18:32:59 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email2.allantgroup.com (email2.emsphone.com [199.67.51.116]) by mx1.freebsd.org (Postfix) with ESMTP id 7EEE78FC1B for ; Wed, 22 Feb 2012 18:32:59 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email2.allantgroup.com (8.14.4/8.14.4) with ESMTP id q1MIWuse019788 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 22 Feb 2012 12:32:57 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.5/8.14.5) with ESMTP id q1MIWujJ085240 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 22 Feb 2012 12:32:56 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.5/8.14.5/Submit) id q1MIWuxj085239; Wed, 22 Feb 2012 12:32:56 -0600 (CST) (envelope-from dan) Date: Wed, 22 Feb 2012 12:32:56 -0600 From: Dan Nelson To: Joe Moore Message-ID: <20120222183256.GB59682@dan.emsphone.com> References: <7DC5CF25DDD70D4A845DDC2F96E116B2A0E467@hcexch01.holidaycompanies.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7DC5CF25DDD70D4A845DDC2F96E116B2A0E467@hcexch01.holidaycompanies.com> X-OS: FreeBSD 8.2-STABLE User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.97.2 at email2.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (email2.allantgroup.com [199.67.51.78]); Wed, 22 Feb 2012 12:32:57 -0600 (CST) X-Scanned-By: MIMEDefang 2.68 on 199.67.51.78 Cc: "freebsd-questions@freebsd.org" Subject: Re: How much space do I need on "/" for a 7.4 to 8 stable upgrade? 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, 22 Feb 2012 18:32:59 -0000 In the last episode (Feb 22), Joe Moore said: > I need to upgrade a server from 7.4 stable to 8.x stable. > > I running buildworld as I write this, and plan to build a GENERIC kernel. > > The root disk partition is 248 MB which was probably the auto default size > when the server was originally built. I remember having to do some > scrambling during the last update to free up enough space for a new kernel > and I really don't want that to happen again. > > I have 65MB of free space on "/". Is that going to be enough? I've already > moved tftpboot to /usr, cleaned out /root, /boot/kernel.old, and /tmp. I did a 5.5 -> 8.1 upgrade (no intermediate installs!) on a system with a 256MB root a few years ago and didn't have any problems. As Adam said, get rid of any /boot/*/*.symbol files. With symbols, a kernel directory could be 50-70 MB, but without, you're looking at only 5-15 MB. My root is only 90MB used, so there should be quite a bit of space you should be able to free up still. Try deleting web browser cache dirs or ccache trees in ~root. > What else could I clean out if I need more space? I'm thinking some > executables in /rescue. "ls -l" shows most of them being 4MB each but > that can't be right. All the files in /rescue is hardlinked to each other, so they only consume 4MB total. -- Dan Nelson dnelson@allantgroup.com