From owner-freebsd-stable@FreeBSD.ORG Thu Oct 19 17:12:04 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9885816A47B for ; Thu, 19 Oct 2006 17:12:04 +0000 (UTC) (envelope-from decibel@decibel.org) Received: from noel.decibel.org (noel.decibel.org [67.100.216.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id F383943E27 for ; Thu, 19 Oct 2006 17:10:34 +0000 (GMT) (envelope-from decibel@decibel.org) Received: by noel.decibel.org (Postfix, from userid 1001) id B692656435; Thu, 19 Oct 2006 12:09:54 -0500 (CDT) Received: (hashcash-sendmail, from uid 1001); Thu, 19 Oct 2006 12:09:50 -0500 Date: Thu, 19 Oct 2006 12:09:50 -0500 From: "Jim C. Nasby" To: Yoshihiro Ota Message-ID: <20061019170950.GP71084@decibel.org> Mail-Followup-To: "Jim C. Nasby" , Yoshihiro Ota , Jan Grant , "Michael W. Oliver" , FreeBSD Stable References: <453531C9.7080304@freebsd.org> <20061017230722.GH8866@gargantuan.com> <20061018120336.H42237@tribble.ilrt.bris.ac.uk> <20061018220446.02eae2e1.ota@j.email.ne.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061018220446.02eae2e1.ota@j.email.ne.jp> X-Operating-System: FreeBSD 6.1-RELEASE-p10 amd64 X-Distributed: Join the Effort! http://www.distributed.net User-Agent: Mutt/1.5.13 (2006-08-11) X-Hashcash: 1:20:061019:ota@j.email.ne.jp::aOJKcIGtlG1QoriL:00000000000000000000 0000000000000000000000003/gG X-Hashcash: 1:20:061019:jan.grant@bristol.ac.uk::9Y0mnr2T/BqV1KhC:00000000000000 0000000000000000000000002ZJ9 X-Hashcash: 1:20:061019:michael@gargantuan.com::HXtPCGqoePPyDKOq:000000000000000 0000000000000000000000003hAU X-Hashcash: 1:20:061019:freebsd-stable@freebsd.org::/y4zQ5p+h3N2YuLN:00000000000 0000000000000000000000004PuZ Cc: Jan Grant , "Michael W. Oliver" , FreeBSD Stable Subject: Re: FreeBSD 4.x EoL 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: Thu, 19 Oct 2006 17:12:04 -0000 On Wed, Oct 18, 2006 at 10:04:46PM -0500, Yoshihiro Ota wrote: > On Wed, 18 Oct 2006 12:13:11 +0100 (BST) > Jan Grant wrote: > > If you're setting up machines that you're going to be upgrading like > > this in the future, I think it's _really_ worthwhile hacking out a > > couple of "root slices" - that is, space for a second / and /usr - to > > facilitate this. You can run mergemaster on a secondary copy of your > > /etc (this, of course, requries that the contents of /etc are relatively > > quiescent for this step) and tidy up by hand. You can perform a dump & > > restore followed by a source upgrade, a fresh source install or a binary > > upgrade ad lib; just reboot (with nextboot) when done. > > > > This also means you can keep the previous OS around for a while in case > > there are problems with the new one. > > > > For setups that aren't amenable to automated deployments this works > > pretty well and gives you a safety-net for upgrades. > > Good advice. I have a few additions. > > In fact, you don't need *a* partitions to boot such as ad0s1a. > You simply need to spare a FreeBSD partition. > > At boot loader, you could type: > > ad(0,2,e) > to boot "e" partition of the "2nd" slice on the first drive which is > denoted by "0." > > ad(2,2,f) > to boot from "f" partition of the 2nd slice on the 3rd drive. > > If you have lots of physical memory and swap space, you may be able > to spare swap space for this porpuse for a moment. In another word, > you can disable swap device for a while and use it as a root parition. The issue I run into is that I use software raid (vinum in 4.11, gmirror in 6.x), and I don't know of any way to go from one to the other that doesn't involve wiping both drives at the same time. -- Jim C. Nasby, Database Architect decibel@decibel.org Give your computer some brain candy! www.distributed.net Team #1828 Windows: "Where do you want to go today?" Linux: "Where do you want to go tomorrow?" FreeBSD: "Are you guys coming, or what?"