From owner-freebsd-questions@FreeBSD.ORG Wed Nov 15 14:58:23 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5D9D916A558 for ; Wed, 15 Nov 2006 14:58:23 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from ns1.jnielsen.net (ns1.jnielsen.net [69.55.238.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id 89B9E43DDE for ; Wed, 15 Nov 2006 14:57:52 +0000 (GMT) (envelope-from lists@jnielsen.net) Received: from localhost (jn@ns1 [69.55.238.237]) (authenticated bits=0) by ns1.jnielsen.net (8.12.9p2/8.12.9) with ESMTP id kAFEvjVu093200; Wed, 15 Nov 2006 06:57:46 -0800 (PST) (envelope-from lists@jnielsen.net) From: John Nielsen To: freebsd-questions@freebsd.org Date: Wed, 15 Nov 2006 09:58:16 -0500 User-Agent: KMail/1.9.4 References: <200611150954.48327.jonathan@hst.org.za> In-Reply-To: <200611150954.48327.jonathan@hst.org.za> X-Face: #X5#Y*q>F:]zT!DegL3z5Xo'^MN[$8k\[4^3rN~wm=s=Uw(sW}R?3b^*f1Wu*.<=?utf-8?q?of=5F4NrS=0A=09P*M/9CpxDo!D6?=)IY1w<9B1jB; tBQf[RU-R<,I)e"$q7N7 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200611150958.17399.lists@jnielsen.net> X-Virus-Scanned: ClamAV version 0.88.4, clamav-milter version 0.88.4 on ns1.jnielsen.net X-Virus-Status: Clean Cc: Jonathan McKeown Subject: Re: It's time to bite the bullet and do a major upgrade from 4.11 to 6.0 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: Wed, 15 Nov 2006 14:58:23 -0000 On Wednesday 15 November 2006 02:54, Jonathan McKeown wrote: > On Tuesday 14 November 2006 18:13, Scott Schappell wrote: > > The writing is on the wall and all that stuff. I've put this off long > > enough. > > > > What needs to be done to upgrade from 4.11 to 6.x? I have an extensive > > amount of ports installed and in googling and searching the list, it > > seems I need to make a jump to 5.2 then from there to 6. > > I'm about to do this, but I've opted for a clean install, as others have > suggested - but with a twist. > > I've installed an additional drive the same size as the original (80GB) - > I'm going to install on the new drive, transplant data as needed from the > old drive, and when I'm happy with everything, use gmirror to turn both > drives into a little RAID-1 plex. Do yourself a favor and create the mirror before you get started. To begin with you'll only add the new drive as a member, then once you've copied everything over you insert the old drive. It is possible to convert "regular" devices into gmirror members after they have data on them, but unless you're extremely careful there's a small risk of the gmirror metadata sector overlapping a data sector. > I'm also trying to do it remotely, with ssh access to the distant box and > one right next to it, and a null-modem cable between them to give me serial > console access during the upgrade. If it works I'll detail the steps here, > as I wasn't able to find a quick and easy guide to this process anywhere. I'd suggest playing around with gmirror locally first. In particular, make sure that whatever partitioning scheme you come up with using gmirror will boot. (I haven't had any problems with this, but it's a good anti-foot-shooting measuer) Also be very sure that the old drive is not smaller than the new drive. (If it is, then just shave some space off the device you're using to create the mirror on the new drive). JN