From owner-freebsd-questions@FreeBSD.ORG Sun Feb 13 18:42:17 2011 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 4BF991065673 for ; Sun, 13 Feb 2011 18:42:17 +0000 (UTC) (envelope-from sterling@camdensoftware.com) Received: from wh2.interactivevillages.com (wh2.interactivevillages.com [75.125.250.34]) by mx1.freebsd.org (Postfix) with ESMTP id 1063C8FC13 for ; Sun, 13 Feb 2011 18:42:16 +0000 (UTC) Received: from c-24-22-230-24.hsd1.wa.comcast.net ([24.22.230.24] helo=_HOSTNAME_) by wh2.interactivevillages.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1Pogtf-0005LB-2x for freebsd-questions@freebsd.org; Sun, 13 Feb 2011 10:42:12 -0800 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Sun, 13 Feb 2011 10:42:11 -0800 Date: Sun, 13 Feb 2011 10:42:11 -0800 From: Chip Camden To: FreeBSD Message-ID: <20110213184211.GA36911@libertas.local.camdensoftware.com> Mail-Followup-To: FreeBSD References: <4D580C00.6060902@comcast.net> <19800.3705.156052.864114@jerusalem.litteratus.org> <4D582895.7090300@comcast.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="C7zPtVaVf+AK4Oqc" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Company: Camden Software Consulting URL: http://camdensoftware.com X-PGP-Key: http://pgp.mit.edu:11371/pks/lookup?search=0xD6DBAF91 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - wh2.interactivevillages.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - camdensoftware.com Subject: Re: Stuck 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: Sun, 13 Feb 2011 18:42:17 -0000 --C7zPtVaVf+AK4Oqc Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoth illoai@gmail.com on Sunday, 13 February 2011: > On 13 February 2011 13:53, Rem P Roberti wrote: > > On 02/13/11 09:01, Robert Huff wrote: > >> > >> Rem Roberti writes: > >> > >>> =A0This is a new one for me. =A0I decided to do a manual update on my > >>> =A08.1 box, starting with csup. =A0Buildworld went fine, as did > >>> =A0buildkernel. =A0However, when I tried to install the new kernel > >>> =A0installkernel choked with an error message telling me that it > >>> =A0could not proceed because the root partition was full. =A0What! = =A0I > >>> =A0did a df and sure enough the root partition was overloaded. =A0When > >>> =A0I installed the system I used sysinstalls recommended sizes for > >>> =A0the root partion, which is around 10G. =A0Anyway, when I rebooted, > >>> =A0the system rebooted into single user mode, and that is presently > >>> =A0where I stand. =A0I have no idea how to proceed at this point, and > >>> =A0would appreciate any help in fixing this. =A0Of course, I smell a > >>> =A0newbie type error in all of this, but haven't quite figured out > >>> =A0where I went wrong. > >> > >> =A0 =A0 =A0 =A0Start with this: > >> > >> =A0 =A0 =A0 =A0du -x / | sort -nr | head -n 30 > >> > >> =A0 =A0 =A0 =A0This will give you the largest directories; if any of t= hem > >> don't look right - investigate further. > >> =A0 =A0 =A0 =A0(For comparison: the root directory on this machine is 2 > >> gbytes, of which I use 1.1. =A010 gbytes is a lot of space > > > > I completely misspoke, having confused the hard drive in question with > > another box. This drive is a 40G drive, of which 500MB was allotted for > > root. =A0When I ran your command I noticed the /boot/kernel.old was very > > large, so I moved the whole thing over to my home directory, which fina= lly > > allowed me to boot the computer normally. =A0This was an intuitive move= , and > > probably not that kosher, but it worked. =A0But where do we go from her= e? > > >=20 > Remove all the *.symbols files (if you're not going > to be debugging). >=20 > Build with "makeoptions DEBUG=3D-g" commented out > of your kernel config. >=20 > (my root filesystem has 70M used. On amd64, no less) >=20 I have INSTALL_NODEBUG=3Dyes in my make.conf, which someone on this list advised. Apparently that still builds the symbols but doesn't install them in /boot/kernel, saving a ton of space. This will prevent you running into this same problem the next time you build. --=20 Sterling (Chip) Camden | sterling@camdensoftware.com | 2048D/3A978E4F http://chipsquips.com | http://camdensoftware.com | http://chipstips.com --C7zPtVaVf+AK4Oqc Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iQEcBAEBAgAGBQJNWCYDAAoJEIpckszW26+R/yUH/iIhV43Do6XrXcs5oACzPEL/ RfCyaSzVM+skW8VDO3DDC2Bn5bYOhUVyxnRJClXqqrO7BSlv493WyTfRFZBgRWah I/NnvrIso6S3s67v2P+wjRnp8UCjHmIwkL3nRjE2l0ueq+Yt5hfruxo/FYFLPnRo hWQT24VMGlpPGQsJB7aWdgAR2fYkIqTlSRbujvzprwO8JKjB/cX0wy4CBH/dKXx8 L+eWHLnlwwCXtei3/4eHYlrOh1hPij+JWGPo4NFCwCw7OGlsf+oNbFK7L2LSHWdo BYgWl1nX6NE7sSvOjs9eQsZiVH8dcP3isfjH1R/8oy4PuJDSpqb2o3pXIPWc1ZU= =Yj7i -----END PGP SIGNATURE----- --C7zPtVaVf+AK4Oqc--