Date: Wed, 22 Feb 2012 12:32:56 -0600 From: Dan Nelson <dnelson@allantgroup.com> To: Joe Moore <joe.moore@holidaycompanies.com> Cc: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: Re: How much space do I need on "/" for a 7.4 to 8 stable upgrade? Message-ID: <20120222183256.GB59682@dan.emsphone.com> In-Reply-To: <7DC5CF25DDD70D4A845DDC2F96E116B2A0E467@hcexch01.holidaycompanies.com> References: <7DC5CF25DDD70D4A845DDC2F96E116B2A0E467@hcexch01.holidaycompanies.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120222183256.GB59682>