/boot is full after running "make installkernel" on FreeBSD 8.0
Jerry McAllister
jerrymc at msu.edu
Thu Jul 1 21:25:48 UTC 2010
On Thu, Jul 01, 2010 at 11:24:46AM -0700, Ed Flecko wrote:
> Hi folks,
> I'm running FreeBSD 8.0, and I'm trying to simple stay current with
> all security patches. It's a clean install of FreeBSD 8.0 on a 50G
> drive, and I let sysinstall select the default partition configuration
> when I did the install.
>
> I've taken the following steps:
>
>
> # csup -4 /etc/stable-supfile
> # cd /usr/src
> # make buildworld
> # make buildkernel
> # make installkernel
>
> After the make installkernel command, the / partition shows 106%
> capacity (and it started as 500M).
>
> Here's my before and after running "make installkernel"
>
> Before:
>
> Filesystem Size Used Avail Capacity Mounted on
> /dev/da0s1a 496M 253M 203M 55% /
> devfs 1.0K 1.0K 0B 100% /dev
> /dev/da0s1e 496M 12K 456M 0% /tmp
> /dev/da0s1f 44G 3.0G 37G 8% /usr
> /dev/da0s1d 1.9G 10M 1.8G 1% /var
>
> After:
>
> Filesystem Size Used Avail Capacity Mounted on
> /dev/da0s1a 496M 485M -29M 106% /
> devfs 1.0K 1.0K 0B 100% /dev
> /dev/da0s1e 496M 12K 456M 0% /tmp
> /dev/da0s1f 44G 3.0G 37G 8% /usr
> /dev/da0s1d 1.9G 10M 1.8G 1% /var
>
> # cd /
> # du -h -d2 | grep M
>
> 2.0K ./tmp/.XIM-unix
> 33M ./usr/bin
> 18M ./usr/include
> 37M ./usr/lib
> 20M ./usr/libexec
> 267M ./usr/local
> 20M ./usr/sbin
> 37M ./usr/share
> 511M ./usr/src
> 450M ./usr/ports
> 10M ./var/db
> 10M ./var
> 1.7M ./etc
> 1.1M ./bin
> 233M ./boot/kernel
> 233M ./boot/kernel.old
> 466M ./boot
> 7.4M ./lib
> 4.3M ./rescue
> 4.4M ./sbin
>
> It looks like the both kernels are eating up the entire /
>
> Right?
They are using up about twice the space that two kernels are
using on my machine here.
>
> What am I doing wrong? The isn't normal, is it?
Normal is probably not a very real concept.
I get along with with 384MB for my root partition and I have a couple of
kernels there. It is running at 92% capacity so I could probably use
some more, but shouldn't need over 512 MB, (Tho that isn't 8.xx so
I might have to set my sights larger when I get to that).
////jerry
>
> Thank you,
> Ed
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions
mailing list