From owner-freebsd-stable@FreeBSD.ORG Mon Jun 9 18:33:21 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9319F106564A for ; Mon, 9 Jun 2008 18:33:21 +0000 (UTC) (envelope-from spomerg@cwu.EDU) Received: from donald.cts.cwu.edu (donald.cts.cwu.edu [198.104.67.147]) by mx1.freebsd.org (Postfix) with ESMTP id 791668FC14 for ; Mon, 9 Jun 2008 18:33:21 +0000 (UTC) (envelope-from spomerg@cwu.EDU) Received: from CONVERSION-CWU-DAEMON.DONALD.CTS.CWU.EDU by DONALD.CTS.CWU.EDU (PMDF V6.4-b2 #31513) id <01MVSB94QF1S0002YF@DONALD.CTS.CWU.EDU> for freebsd-stable@freebsd.org; Mon, 09 Jun 2008 11:33:20 -0700 (PDT) Received: from hermes.cwu.edu (hermes.cwu.edu [172.16.21.28]) by DONALD.CTS.CWU.EDU (PMDF V6.4-b2 #31513) with ESMTP id <01MVSB94DIQ60002K6@DONALD.CTS.CWU.EDU> for freebsd-stable@freebsd.org; Mon, 09 Jun 2008 11:33:20 -0700 (PDT) Received: from cwugate1-MTA by hermes.cwu.edu with Novell_GroupWise; Mon, 09 Jun 2008 11:33:20 -0700 Date: Mon, 09 Jun 2008 11:33:06 -0700 From: Gavin Spomer To: freebsd-stable@freebsd.org Message-id: <484D14F20200009000019CBD@hermes.cwu.edu> MIME-version: 1.0 X-Mailer: Novell GroupWise Internet Agent 7.0.2 HP Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: quoted-printable Content-disposition: inline Subject: Re: 6.2-STABLE => 7.0-STABLE Upgrade root partition more full X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jun 2008 18:33:21 -0000 >>> Skip Ford 06/06/08 1:39 PM >>> Gavin Spomer wrote: > I successfully did my first FreeBSD upgrade yesterday after looking at = the manual, and cross referencing with Googling and getting help from our = network engineer here at CWU. Before the upgrade, running df showed: >=20 > Filesystem 1K-blocks Used Avail Capacity Mounted on > /dev/da0s1a 507630 77662 389358 17% / > devfs 1 1 0 100% /dev > /dev/da0s1e 507630 588 466432 0% /tmp > /dev/da0s1f 268217320 4866120 241893816 2% /usr > /dev/da0s1d 4298926 162066 3792946 4% /var >=20 > Now it shows: >=20 > Filesystem 1K-blocks Used Avail Capacity Mounted on > /dev/da0s1a 507630 184834 282186 40% / > devfs 1 1 0 100% /dev > /dev/da0s1e 507630 426 466594 0% /tmp > /dev/da0s1f 268217320 5514844 241245092 2% /usr > /dev/da0s1d 4298926 187570 3767442 5% /var >=20 > Notice the the increase in the root partition. Should I have made this = partition bigger when I first installed? Is there any cleaning up I can do = after version upgrades? I would've thought /usr would be the one that grew = more, but then again my /usr partition is fairly sizeable. Does 7.0 just = take up a lot more of the root partition than 6.2? 7.0 installs debugging symbols for the kernel and modules by default. You can avoid that by defining INSTALL_NODEBUG during installkernel. If already installed, you can delete the symbol files without causing problems as long as you don't need to debug the kernel. Also, when you install a new kernel, the old kernel is saved as kernel.old so you now have 2 kernels in /boot instead of one. If you're positive the new kernel works fine, the old kernel can be removed as that's only used to recover from a new kernel with problems. But, your space really isn't that close to the limit, IMO. You appear to have enough space to have an old and new kernel installed both with symbols, so I'd leave it as is in case you need to debug something or boot the old kernel. You can always take care of it later if you're about to run out of space. Why do today what you can put off 'til tomorrow? Also, consider reading UPDATING before every upgrade. The entry for 20060118 covers this issue. --=20 Skip Thanks a bunch for the info, it is helpful. Also, sorry for the lateness = of my reply. Any suggestions for selectively reading UPDATING? It IS a = rather long file. I'd rather be reading a good R.A. Salvatore novel if I'm = going to read for that long. ;) Thanks for you reply as well, Clifton. - Gavin