Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Feb 2007 13:57:44 -0500
From:      "Don Munyak" <don.munyak@gmail.com>
To:        "FreeBSD Questions" <freebsd-questions@freebsd.org>
Subject:   Re: compiling error - /usr : filesystem full
Message-ID:  <6207f7d90702081057i597ff6e4r427b0ec66f91acc5@mail.gmail.com>
In-Reply-To: <d7195cff0702072125v1c7bd696j6cdb762746abf12f@mail.gmail.com>
References:  <6207f7d90702070902n5a2aceb3xe6b380b491ae5b64@mail.gmail.com> <d7195cff0702072125v1c7bd696j6cdb762746abf12f@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Here's some additional Information I have been able to find. The
narrative is just to further explain what I was doing.
---------------------
I was in the process of rebuilding a new kernel for one of my laptops.
I did the whole cvsup_without-gui. I created a new kernel called
LAPTOP and commented all unnecessary drivers and options.

When I ran make buildkernel KERNCONF=LAPTOP, the process eventually
died with an error. I neglected to write down the exact error, but it
was something like

{objcopy) /usr : filesystem full

As you can see /usr is choking. I have not turned off the laptop.
Based on the information below, what can I "delete" to free up some
space. I use the word delete in broad terms. Much like the windows
world where you should 'uninstall' as opposed to simply deleting a
folder...I am not sure what to do...ie how to free up space.

The only thing I can think of is to simply # rm /usr/ports ... for
lack of a better example.

# du -ak /usr |sort -nr | > /tmp/file2.txt
This file had 24,000 lines so I deleted much of the file.

Your thoughts/suggestions will be much appreciated.

----------------------------------------------------

### output from running # df -m > /tmp/file1.txt
### where -m is MB
Filesystem  1M-blocks Used Avail Capacity  Mounted on
/dev/ad0s1a       495   55   400    12%    /
devfs               0    0     0   100%    /dev
/dev/ad0s1e       495   10   445     2%    /tmp
/dev/ad0s1f      2300 2286  -170   108%    /usr
/dev/ad0s1d      1098   58   952     6%    /var
devfs               0    0     0   100%    /var/named/dev


### output from running # du -ak /usr |sort -nr | > /tmp/file2.txt
### where -a is 'display entry for each file in file hierarchy
### where -k is 'display block count in kilobyte'
2341378    /usr
636728    /usr/obj
636726    /usr/obj/usr
636724    /usr/obj/usr/src
428576    /usr/src
402064    /usr/ports
289070    /usr/X11R6
273156    /usr/local
232342    /usr/obj/usr/src/sys
230268    /usr/obj/usr/src/sys/LAPTOP
204636    /usr/src/contrib
170340    /usr/obj/usr/src/sys/LAPTOP/modules
170338    /usr/obj/usr/src/sys/LAPTOP/modules/usr
170336    /usr/obj/usr/src/sys/LAPTOP/modules/usr/src
170334    /usr/obj/usr/src/sys/LAPTOP/modules/usr/src/sys
170332    /usr/obj/usr/src/sys/LAPTOP/modules/usr/src/sys/modules
148210    /usr/X11R6/lib
129236    /usr/compat
129234    /usr/compat/linux
116012    /usr/compat/linux/usr
106724    /usr/obj/usr/src/gnu
105986    /usr/obj/usr/src/tmp
101880    /usr/src/sys
100536    /usr/obj/usr/src/tmp/usr
88956    /usr/compat/linux/usr/lib
88856    /usr/obj/usr/src/gnu/usr.bin
86464    /usr/X11R6/share
83186    /usr/local/share
79184    /usr/local/lib
78854    /usr/share
67228    /usr/compat/linux/usr/lib/locale
61072    /usr/obj/usr/src/lib
59326    /usr/local/freebsd-update
59324    /usr/local/freebsd-update/work
56616    /usr/X11R6/lib/X11
52090    /usr/obj/usr/src/tmp/usr/src
49418    /usr/obj/usr/src/tmp/usr/src/gnu
49416    /usr/obj/usr/src/tmp/usr/src/gnu/usr.bin
47864    /usr/src/contrib/gcc
45808    /usr/obj/usr/src/gnu/usr.bin/cc
44264    /usr/X11R6/lib/X11/fonts
43932    /usr/ports/distfiles
40422    /usr/X11R6/share/doc
39098    /usr/src/sys/dev
38956    /usr/obj/usr/src/usr.sbin
37694    /usr/obj/usr/src/tmp/usr/src/gnu/usr.bin/cc
33638    /usr/share/doc
32104    /usr/ports/devel
31654    /usr/local/lib/perl5
31646    /usr/lib
31414    /usr/X11R6/lib/firefox
31082    /usr/local/freebsd-update/work/4
30496    /usr/compat/linux/usr/lib/locale/locale-archive
30218    /usr/share/doc/en_US.ISO8859-1
28974    /usr/local/lib/perl5/5.8.8
28080    /usr/src/contrib/binutils
26840    /usr/ports/www
26692    /usr/src/crypto
26288    /usr/local/share/doc
26166    /usr/local/freebsd-update/work/3
25830    /usr/X11R6/bin
24344    /usr/bin
24190    /usr/compat/linux/usr/share
24124    /usr/X11R6/include
23604    /usr/X11R6/share/doc/qt
23602    /usr/X11R6/share/doc/qt/html
23142    /usr/share/doc/en_US.ISO8859-1/books
21592    /usr/X11R6/lib/firefox/components
21436    /usr/local/bin
21240    /usr/ports/games
20528    /usr/obj/usr/src/usr.bin
19966    /usr/src/lib
19820    /usr/obj/usr/src/tmp/usr/lib
19572    /usr/obj/usr/src/secure
19552    /usr/ports/INDEX-6.db
19072    /usr/obj/usr/src/sys/LAPTOP/kernel.debug
18534    /usr/src/share
18488    /usr/share/man
18464    /usr/obj/usr/src/lib/libc
17866    /usr/obj/usr/src/gnu/lib
16902    /usr/src/contrib/bind9
16500    /usr/obj/usr/src/secure/lib
16206    /usr/src/sys/contrib
15788    /usr/src/contrib/gdb
15758    /usr/libexec
15666    /usr/X11R6/include/firefox
15590    /usr/obj/usr/src/gnu/usr.bin/cc/cc_int
15538    /usr/local/freebsd-update/work/4/rollback
15538    /usr/local/freebsd-update/work/4/install
15462    /usr/obj/usr/src/tmp/usr/src/gnu/usr.bin/cc/cc_int
15348    /usr/obj/usr/src/gnu/usr.bin/gdb
15312    /usr/src/usr.sbin
15208    /usr/ports/net
14984    /usr/X11R6/lib/X11/fonts/100dpi
14934    /usr/X11R6/share/locale
14688    /usr/ports/graphics
14546    /usr/src/contrib/gdb/gdb
14542    /usr/local/freebsd-update/work/4/rollback/usr
14542    /usr/local/freebsd-update/work/4/install/usr
14462    /usr/X11R6/share/doc/X11
14286    /usr/obj/usr/src/rescue
14258    /usr/ports/distfiles/KDE
14256    /usr/ports/distfiles/KDE/qt-x11-free-3.3.6.tar.bz2
14216    /usr/obj/usr/src/rescue/rescue
14162    /usr/obj/usr/src/sys/LAPTOP/modules/usr/src/sys/modules/netgraph
13806    /usr/include
13776    /usr/share/doc/en_US.ISO8859-1/books/handbook
13744    /usr/ports/textproc
13638    /usr/src/crypto/openssl
13464    /usr/X11R6/lib/X11/fonts/75dpi
13080    /usr/local/freebsd-update/work/3/rollback
13080    /usr/local/freebsd-update/work/3/install
13078    /usr/local/freebsd-update/work/3/rollback/boot
13078    /usr/local/freebsd-update/work/3/install/boot
12886    /usr/src/sys/contrib/dev
12886    /usr/sbin
12784    /usr/ports/security
12492    /usr/X11R6/lib/modules
12362    /usr/src/contrib/groff
12220    /usr/obj/usr/src/sbin
12178    /usr/ports/sysutils
12150    /usr/ports/emulators
12070    /usr/obj/usr/src/secure/lib/libcrypto
12066    /usr/obj/usr/src/tmp/usr/libexec
12052    /usr/local/share/ghostscript
12046    /usr/X11R6/share/xfce4
11938    /usr/ports/mail
11856    /usr/src/contrib/libstdc++
11818    /usr/ports/lang
11316    /usr/local/lib/perl5/5.8.8/mach
11102    /usr/obj/usr/src/tmp/usr/src/gnu/usr.bin/binutils
10872    /usr/obj/usr/src/gnu/usr.bin/binutils
10788    /usr/X11R6/share/icons
10626    /usr/src/usr.bin
10480    /usr/local/share/ri
10478    /usr/local/share/ri/1.8
10422    /usr/ports/audio
10360    /usr/src/lib/libc
10194    /usr/obj/usr/src/sys/LAPTOP/modules/usr/src/sys/modules/acpi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6207f7d90702081057i597ff6e4r427b0ec66f91acc5>