From owner-freebsd-stable@FreeBSD.ORG Fri Sep 22 05:28:14 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 206B816A415 for ; Fri, 22 Sep 2006 05:28:14 +0000 (UTC) (envelope-from andrew@areilly.bpa.nu) Received: from omta02sl.mx.bigpond.com (omta02sl.mx.bigpond.com [144.140.93.154]) by mx1.FreeBSD.org (Postfix) with ESMTP id 36E1243D5A for ; Fri, 22 Sep 2006 05:28:12 +0000 (GMT) (envelope-from andrew@areilly.bpa.nu) Received: from areilly.bpa.nu ([141.168.7.22]) by omta02sl.mx.bigpond.com with ESMTP id <20060922052810.HTZL14640.omta02sl.mx.bigpond.com@areilly.bpa.nu> for ; Fri, 22 Sep 2006 05:28:10 +0000 Received: (qmail 12247 invoked by uid 501); 22 Sep 2006 05:27:01 -0000 Date: Fri, 22 Sep 2006 15:27:01 +1000 From: Andrew Reilly To: Norberto Meijome Message-ID: <20060922052701.GA12198@duncan.reilly.home> References: <20060922035001.GA10537@duncan.reilly.home> <20060922150658.14376c52@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060922150658.14376c52@localhost> User-Agent: Mutt/1.4.2.2i Cc: freebsd-stable@freebsd.org Subject: Re: Change in ataraid (geometry?) between RELENG_5 and RELENG_6? 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: Fri, 22 Sep 2006 05:28:14 -0000 On Fri, Sep 22, 2006 at 03:06:58PM +1000, Norberto Meijome wrote: > On Fri, 22 Sep 2006 13:50:01 +1000 > Andrew Reilly wrote: > > > I just tried to do an in-place upgrade from RELENG_5 to RELENG_6 > > on a system that was running an ataraid mirror on a pair of SATA > > disks. The root file system (256M) mounted fine, but fsck -p > > fails (unable to find a superblock, from memory) under the new > > kernel on my /usr partition, which is about 73G (most of the 80G > > of the disks). Falling back to the RELENG_5 /boot/kernel and > > fsck finds no problem. > > maybe i'm completely wrong here... are you world + kernel in sync? I would > guess that you'd want them to be... maybe you can boot into 6 with a CD, mount > all the disks as needed (assuming that userland-version-6 works fine with > kernel-v6 and raid-version-5 ), finish installworld, and then reboot to start > using the tools on the FS... No, they're completely not in synch: I'm following the UPDATING recipe, and am getting to the point after installkernel where you have to boot to single-user mode to do the make installworld. That, obviously, has a _6 kernel (and ataraid module) and _5 user-land. The kernel has options COMPAT_FREEBSD5, so that this step works: that's part of the recipe. Is there any particular reason that fsck or mount_ffs from _5 would not work with _6? That would seem to be a prerequisite for the upgrade-in-place procedure. I've done an upgrade-in-place before, on my workstation, and that went without a hitch. The only difference (besides version creep over the intervening six months or so) is that this is on a server server with an ataraid RAID1 mirror array, rather than raw disks. Cheers, -- Andrew