From owner-freebsd-stable@FreeBSD.ORG Tue May 9 11:20:51 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 EC3F416A412 for ; Tue, 9 May 2006 11:20:51 +0000 (UTC) (envelope-from scott@mithrandir.com) Received: from laurel.mithrandir.com (squest.ddmg.net [64.45.135.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id ECD3743D69 for ; Tue, 9 May 2006 11:20:28 +0000 (GMT) (envelope-from scott@mithrandir.com) Received: from [192.168.3.25] (m194-158-94-93.andorpac.ad [194.158.94.93]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by laurel.mithrandir.com (Postfix) with ESMTP id 9549540; Tue, 9 May 2006 07:20:24 -0400 (EDT) In-Reply-To: <20060509105609.GC66029@leia.lambermont.dyndns.org> References: <372C34B7-18BC-4061-99ED-8321E8109CF7@mithrandir.com> <20060508231759.GC545@bunrab.catwhisker.org> <20060509105609.GC66029@leia.lambermont.dyndns.org> Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: multipart/signed; micalg=sha1; boundary=Apple-Mail-10--784845093; protocol="application/pkcs7-signature" Message-Id: From: Scott Harrison Date: Tue, 9 May 2006 13:19:22 +0200 To: Hans Lambermont X-Mailer: Apple Mail (2.746.2) X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-stable@freebsd.org Subject: Re: Best practices for remote upgrade? 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: Tue, 09 May 2006 11:20:52 -0000 --Apple-Mail-10--784845093 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8; delsp=yes; format=flowed On May 9, 2006, at 12:56 , Hans Lambermont wrote: > David Wolfskill wrote: > >> On Mon, May 08, 2006 at 02:29:23PM +0200, Scott Harrison wrote: >>> I have some 4.x servers that I would like to upgrade to 5.x, and >>> perhaps 6.x. However, I do not have any local access to these >>> machines. I can ssh into them only. I would like to know =20 >>> whether it >>> is possible for me to upgrade the machines with only ssh access, and >>> what one should do to go about upgrading them. > ... >> I then have little shell scripts to use "dump | restore" to =20 >> "clone" the >> file systems from one slice to the other. > ... >> * Reboot from the "other" slice (the target of the above operation). >> * Upgrade in place. >> * Reboot (without changing active slice). > > I do almost the same; I do not reboot to the other slice to upgrade =20= > it, > instead I use the current slice to upgrade, and if that fails =20 > reboot to > the other slice (the backup slice). It's the same idea, with one less > reboot. > > This dual-boot-slice (or disk :) setup also allows for the UFS->UFS2 > transition. > This sounds nice except that I do not have my disk already =20 partitioned like this. Can I take a 4.7 machine (for example) and =20 live repartition it to be like this? --=20 =C2=B7=F0=90=91=95=F0=90=91=92=F0=90=91=AA=F0=90=91=91 = =C2=B7=F0=90=91=A3=F0=90=91=BA=F0=90=91=A6=F0=90=91=95=F0=90=91=A9=F0=90=91= =AF Scott Harrison --Apple-Mail-10--784845093--