Date: Sun, 13 Feb 2011 10:42:11 -0800 From: Chip Camden <sterling@camdensoftware.com> To: FreeBSD <freebsd-questions@freebsd.org> Subject: Re: Stuck Message-ID: <20110213184211.GA36911@libertas.local.camdensoftware.com> In-Reply-To: <AANLkTikBjzg%2ByboYnyOBPAqDLjFkiMKCcx3AOvg1PJSo@mail.gmail.com> References: <4D580C00.6060902@comcast.net> <19800.3705.156052.864114@jerusalem.litteratus.org> <4D582895.7090300@comcast.net> <AANLkTikBjzg%2ByboYnyOBPAqDLjFkiMKCcx3AOvg1PJSo@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <remegius@comcast.net> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110213184211.GA36911>