From owner-freebsd-current@FreeBSD.ORG Thu Aug 6 07:32:13 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F3751065677 for ; Thu, 6 Aug 2009 07:32:13 +0000 (UTC) (envelope-from edhoprima@gmail.com) Received: from mail-pz0-f202.google.com (mail-pz0-f202.google.com [209.85.222.202]) by mx1.freebsd.org (Postfix) with ESMTP id 414388FC16 for ; Thu, 6 Aug 2009 07:32:12 +0000 (UTC) Received: by pzk40 with SMTP id 40so681855pzk.14 for ; Thu, 06 Aug 2009 00:32:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=AtrMP3bgoRT6PLIlQS7hS0jS+cuYIe3YrxGwrmWXel0=; b=kZRufxLB4AHSoqPpR4a4gXWZ9AMzP0oVseVwW2jKZk8KlDNxeFYUePWkVT+qWWw9ND SrF8gZbUYSo9Y6dKfA3EDccGOgKCqr7i0FXOtvqPxggyof5FZyEzm9RiNKFcRLP5gSxV k70jQJCfQsIadXS1t92nBq+asnO8Xb6okVM8U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=Ijnk5UzBcrliI7p1FWmuhrVNxBrF7PBdywaSt6hKraDF5Y/Gqz/oMPd5z9DJAQ+Lev TmwAY9nuelr2BKcgzlg7vH0qBdDQXmTr+vXsfAHpGxGzeLuY2X+01Sx5oAKLKj9q8oM9 yRq7q7qnz3qdCVWssIcrnG4Y3pWshDxNOtAto= MIME-Version: 1.0 Received: by 10.142.242.21 with SMTP id p21mr1134615wfh.83.1249543932619; Thu, 06 Aug 2009 00:32:12 -0700 (PDT) In-Reply-To: References: <4A5D4D25.3040908@ish.com.au> <3c1674c90907201501j42f29bfbl987419edf04b1a8b@mail.gmail.com> <4A64F35E.6070501@ish.com.au> Date: Thu, 6 Aug 2009 14:32:12 +0700 Message-ID: From: Edho P Arief To: freebsd-current@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: Problematic upgrade from 7.2 to 8.0 with ZFS file system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Aug 2009 07:32:13 -0000 On Tue, Jul 21, 2009 at 3:31 PM, chris scott wrote: > how about doing things the opensolaris way. I have a pure zfs system with > the root fs stored on system/root. This could cloned, to system/root-8, the > new world and kernel installed, then the relevant bits tweaked in the > loader.conf and zpool. If all goes wrong you switch the variables back and > switch to system/root. > > It would also be nice to have some option in beastie to select your root fs > for completeness how does this sound? fs structure: rpool/root/freebsd => / (bootfs) rpool/root => /rpool/root rpool/swap => swap rpool/usr => /usr rpool/usr/home => /usr/home rpool/var => /var rpool/var/empty => /var/empty upgrade steps: 1. clone rpool/root/freebsd to rpool/root/freebsd-2 2. mount rpool/root/freebsd-2 somewhere 3. mount nullfs /usr and /var to where rpool/root/freebsd-2 mounted 4. chroot to rpool/root/freebsd-2, do freebsd-update (twice - to upgrade userland too) 5. reinstall bootloader on rpool/root/freebsd-2 (to enable zfs loader) 6. set bootfs to rpool/root/freebsd-2 7. edit fstab in rpool/root/freebsd-2 to reflect change 8. reboot -- O< ascii ribbon campaign - stop html mail - www.asciiribbon.org