Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Feb 2011 13:00:30 -0500
From:      "illoai@gmail.com" <illoai@gmail.com>
To:        Rem P Roberti <remegius@comcast.net>
Cc:        Robert Huff <roberthuff@rcn.com>, FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: Stuck
Message-ID:  <AANLkTikBjzg%2ByboYnyOBPAqDLjFkiMKCcx3AOvg1PJSo@mail.gmail.com>
In-Reply-To: <4D582895.7090300@comcast.net>
References:  <4D580C00.6060902@comcast.net> <19800.3705.156052.864114@jerusalem.litteratus.org> <4D582895.7090300@comcast.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 the=
m
>> 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 finall=
y
> 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 here?
>

Remove all the *.symbols files (if you're not going
to be debugging).

Build with "makeoptions DEBUG=3D-g" commented out
of your kernel config.

(my root filesystem has 70M used. On amd64, no less)

--=20
--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikBjzg%2ByboYnyOBPAqDLjFkiMKCcx3AOvg1PJSo>