From owner-freebsd-questions@FreeBSD.ORG Fri May 7 18:57:24 2010 Return-Path: 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 296BB1065677 for ; Fri, 7 May 2010 18:57:24 +0000 (UTC) (envelope-from sterling@camdensoftware.com) Received: from wh2.interactivevillages.com (wh2.interactivevillages.com [75.125.250.34]) by mx1.freebsd.org (Postfix) with ESMTP id ED20C8FC16 for ; Fri, 7 May 2010 18:57:23 +0000 (UTC) Received: from 174-21-99-21.tukw.qwest.net ([174.21.99.21] helo=_HOSTNAME_) by wh2.interactivevillages.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1OASfJ-0007LP-QA for freebsd-questions@freebsd.org; Fri, 07 May 2010 11:52:51 -0700 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Fri, 07 May 2010 11:57:52 -0700 Date: Fri, 7 May 2010 11:57:52 -0700 From: Chip Camden To: FreeBSD Questions Message-ID: <20100507185752.GA24228@libertas.local.camdensoftware.com> Mail-Followup-To: FreeBSD Questions Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Company: Camden Software Consulting URL: http://camdensoftware.com X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - wh2.interactivevillages.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - camdensoftware.com Subject: Space on root partition 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: Fri, 07 May 2010 18:57:24 -0000 When partitioning the drive, I took the defaults -- which seems to create a root partition that's too small. I'm at 59% usage, and every time I install a new kernel I have to rm /boot/kernel.old to get it to go. Two questions: 1. Is there an easy way to resize partitions? 2. Is there anything in root I could safely symlink off to another partition? Here's a df: Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ad4s1a 507630 273388 193632 59% / devfs 1 1 0 100% /dev /dev/ad4s1e 507630 18 467002 0% /tmp /dev/ad4s1f 463086528 21941374 404098232 5% /usr /dev/ad4s1d 4848462 201194 4259392 5% /var and here's du -x /: 2 /.snap 1 /dev 2 /tmp 2 /usr 2 /var 56 /etc/defaults 6 /etc/X11 8 /etc/bluetooth 8 /etc/devd 4 /etc/gnats 6 /etc/gss 252 /etc/mail 74 /etc/mtree 38 /etc/pam.d 56 /etc/periodic/daily 6 /etc/periodic/monthly 40 /etc/periodic/security 14 /etc/periodic/weekly 118 /etc/periodic 4 /etc/ppp 396 /etc/rc.d 36 /etc/security 2 /etc/skel 144 /etc/ssh 12 /etc/ssl 2 /etc/zfs 1742 /etc 2 /cdrom 2 /dist 1180 /bin 24 /boot/defaults 2 /boot/firmware 249960 /boot/kernel 310 /boot/modules 2 /boot/zfs 251788 /boot 354 /lib/geom 7628 /lib 1010 /libexec 2 /media 8 /mnt 2 /proc 4464 /rescue 2 /root/.gem/ruby/1.8/cache 2 /root/.gem/ruby/1.8/doc 2 /root/.gem/ruby/1.8/gems 2 /root/.gem/ruby/1.8/specifications 10 /root/.gem/ruby/1.8 12 /root/.gem/ruby 14 /root/.gem 4 /root/.config 10 /root/bin 74 /root 5452 /sbin 273379 / Any help much appreciated. -- Sterling (Chip) Camden | camdensoftware.com | chipstips.com | chipsquips.com