From owner-freebsd-questions@FreeBSD.ORG Fri Apr 23 16:48:02 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B1481065675 for ; Fri, 23 Apr 2010 16:48:02 +0000 (UTC) (envelope-from freebsd.user@seibercom.net) Received: from mail-qy0-f181.google.com (mail-qy0-f181.google.com [209.85.221.181]) by mx1.freebsd.org (Postfix) with ESMTP id E2CE78FC1C for ; Fri, 23 Apr 2010 16:48:01 +0000 (UTC) Received: by qyk11 with SMTP id 11so11676978qyk.13 for ; Fri, 23 Apr 2010 09:48:01 -0700 (PDT) Received: by 10.224.46.228 with SMTP id k36mr83384qaf.192.1272041280950; Fri, 23 Apr 2010 09:48:00 -0700 (PDT) Received: from scorpio.seibercom.net (c-67-189-160-65.hsd1.ny.comcast.net [67.189.160.65]) by mx.google.com with ESMTPS id 5sm4224062qwh.35.2010.04.23.09.47.59 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 23 Apr 2010 09:48:00 -0700 (PDT) Received: from scorpio.seibercom.net (zeus.seibercom.net [192.168.1.1]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: FreeBSD.user@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 92A92E15408 for ; Fri, 23 Apr 2010 12:47:58 -0400 (EDT) Date: Fri, 23 Apr 2010 12:47:57 -0400 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20100423124757.13647126@scorpio.seibercom.net> In-Reply-To: <201004231618.o3NGIvPE010330@casselton.net> References: <20100423115809.27930745@scorpio.seibercom.net> <201004231618.o3NGIvPE010330@casselton.net> Organization: Seibercom X-Mailer: Claws Mail 3.7.5 (GTK+ 2.18.7; amd64-portbld-freebsd8.0) X-Face: #"DtK&7^5P|u6yesiHW<_YTpWs>V8v|7J%W[b6O~\9emUr??J}9>jRP`j"a7j aE,2>V.`kdX53n; 0L; z[Y*]80/iO& List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Apr 2010 16:48:02 -0000 On Fri, 23 Apr 2010 11:18:57 -0500 (CDT) Mark articulated: > > The command (as root) will show which directories in the root > partition use the most space: > > # du -kx / | sort -n > > Sometime install will backup the boot kernel directory. > Multiple /boot/kernel* directories can quickly eat up space. / $ sudo du -kx / | sort -n 1 /dev 2 /.snap 2 /boot/firmware 2 /boot/zfs 2 /cdrom 2 /etc/ntp 2 /etc/skel 2 /etc/ssl/demoCA/crl 2 /etc/zfs 2 /media 2 /mnt 2 /proc 2 /tmp 2 /usr 2 /var 4 /etc/devd 4 /etc/gnats 4 /etc/ppp 4 /etc/ssl/demoCA/certs 6 /etc/gss 6 /etc/periodic/monthly 6 /etc/ssl/demoCA/private 8 /etc/bluetooth 10 /etc/X11 10 /etc/ssl/demoCA/newcerts 14 /etc/periodic/weekly 14 /etc/ssl/apache-certs 16 /root/kernels 24 /boot/defaults 34 /root 36 /etc/pam.d 36 /etc/security 40 /etc/periodic/security 42 /etc/ssl/demoCA 54 /etc/defaults 56 /etc/periodic/daily 74 /etc/mtree 94 /etc/ssl 118 /etc/periodic 144 /etc/ssh 252 /etc/mail 336 /lib/geom 386 /etc/rc.d 1026 /libexec 1152 /bin 1888 /etc 4416 /rescue 5240 /sbin 7586 /lib 12884 /boot/modules 238354 /boot/kernel.old 240616 /boot/kernel 492826 /boot 514199 / I am assuming that I can safely delete the contents of "/boot/kernel.old". It is not that I am in dire need of space but rather I do not want to risk running out of space in root again. Next time I will allocate at least 2G to root. $ df -cih Filesystem Size Used Avail Capacity iused ifree %iused Mounted on /dev/ad0s1a 989M 502M 408M 55% 2.9k 138k 2% / devfs 1.0K 1.0K 0B 100% 0 0 100% /dev /dev/ad0s1d 496M 18K 456M 0% 15 66k 0% /tmp /dev/ad0s1e 220G 6.1G 196G 3% 371k 29M 1% /usr /dev/ad1s1d 222G 737M 203G 0% 28k 30M 0% /var total 443G 7.3G 401G 2% 402k 60M 1% -- Jerry FreeBSD.user@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ I'd rather have a bottle in front of me than a frontal lobotomy.