From owner-freebsd-questions@FreeBSD.ORG Thu Feb 8 18:57:46 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5831F16A402 for ; Thu, 8 Feb 2007 18:57:46 +0000 (UTC) (envelope-from don.munyak@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.235]) by mx1.freebsd.org (Postfix) with ESMTP id 19AE413C481 for ; Thu, 8 Feb 2007 18:57:45 +0000 (UTC) (envelope-from don.munyak@gmail.com) Received: by wr-out-0506.google.com with SMTP id i22so573211wra for ; Thu, 08 Feb 2007 10:57:45 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=kcnIXqHZVwhihth2aCDsVfm1/b/YKhwurX6Ho1sTMq5HqEMaY4xyPTYBDo1e2YdFuqNsPS57FdzoIw9zZi5raLevHEQ1FMYF55Xqkud22WASytYGqkHIYw3h3yTGOxIm/M07l1jsZC0wj5a/4EaxbnqIr8UW6tCYhuOk4orqSy8= Received: by 10.115.61.1 with SMTP id o1mr3631517wak.1170961064407; Thu, 08 Feb 2007 10:57:44 -0800 (PST) Received: by 10.114.148.19 with HTTP; Thu, 8 Feb 2007 10:57:44 -0800 (PST) Message-ID: <6207f7d90702081057i597ff6e4r427b0ec66f91acc5@mail.gmail.com> Date: Thu, 8 Feb 2007 13:57:44 -0500 From: "Don Munyak" To: "FreeBSD Questions" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6207f7d90702070902n5a2aceb3xe6b380b491ae5b64@mail.gmail.com> Subject: Re: compiling error - /usr : filesystem full 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: Thu, 08 Feb 2007 18:57:46 -0000 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