Date: Wed, 22 Feb 2012 18:42:55 +0000 From: Joe Moore <joe.moore@holidaycompanies.com> To: "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: <7DC5CF25DDD70D4A845DDC2F96E116B2A0E4F9@hcexch01.holidaycompanies.com> In-Reply-To: <20120222183256.GB59682@dan.emsphone.com> References: <7DC5CF25DDD70D4A845DDC2F96E116B2A0E467@hcexch01.holidaycompanies.com> <20120222183256.GB59682@dan.emsphone.com>
next in thread | previous in thread | raw e-mail | index | archive | help
-----Original Message----- From: Dan Nelson [mailto:dnelson@allantgroup.com]=20 Sent: Wednesday, February 22, 2012 12:33 PM To: Joe Moore Cc: freebsd-questions@freebsd.org Subject: Re: How much space do I need on "/" for a 7.4 to 8 stable upgrade? In the last episode (Feb 22), Joe Moore said: > I need to upgrade a server from 7.4 stable to 8.x stable. >=20 > I running buildworld as I write this, and plan to build a GENERIC kernel. >=20 > The root disk partition is 248 MB which was probably the auto default=20 > size when the server was originally built. I remember having to do=20 > some scrambling during the last update to free up enough space for a=20 > 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=20 > 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 2= 56MB 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 fr= ee up still. Try deleting web browser cache dirs or ccache trees in ~root. =20 > What else could I clean out if I need more space? I'm thinking some=20 > executables in /rescue. "ls -l" shows most of them being 4MB each but=20 > that can't be right. All the files in /rescue is hardlinked to each other, so they only consume = 4MB total. --=20 Dan Nelson dnelson@allantgroup.com I deleted /boot/kernel/*symbols and that freed up another 90+ MB. I've got 159MB free so I'm good to go. Thanks to all responders! ...jgm
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7DC5CF25DDD70D4A845DDC2F96E116B2A0E4F9>