From owner-freebsd-fs@FreeBSD.ORG Thu Mar 31 06:34:35 2011 Return-Path: Delivered-To: fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EE155106564A; Thu, 31 Mar 2011 06:34:35 +0000 (UTC) (envelope-from dnewman@networktest.com) Received: from mail3.networktest.com (mail3.networktest.com [69.55.234.104]) by mx1.freebsd.org (Postfix) with ESMTP id CD3678FC17; Thu, 31 Mar 2011 06:34:35 +0000 (UTC) Received: from localhost (localhost [69.55.234.104]) by mail3.networktest.com (Postfix) with ESMTP id 9EFAD2560D3; Wed, 30 Mar 2011 23:15:27 -0700 (PDT) Received: from mail3.networktest.com ([69.55.234.104]) by localhost (mail3.networktest.com [69.55.234.104]) (amavisd-maia, port 10024) with ESMTP id 63555-06; Wed, 30 Mar 2011 23:15:27 -0700 (PDT) Received: from sagan.local (unknown [12.229.246.2]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: dnewman@networktest.com) by mail3.networktest.com (Postfix) with ESMTPSA id 468362560D2; Wed, 30 Mar 2011 23:15:27 -0700 (PDT) Message-ID: <4D941BFF.6050807@networktest.com> Date: Wed, 30 Mar 2011 23:15:27 -0700 From: David Newman User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9 MIME-Version: 1.0 To: Martin Matuska References: <4C51ECAA.2070707@networktest.com> <4C51FE41.8030906@FreeBSD.org> In-Reply-To: <4C51FE41.8030906@FreeBSD.org> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: fs@freebsd.org Subject: Re: fixing a busted ZFS upgrade X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Mar 2011 06:34:36 -0000 On 7/29/10 3:18 PM, Martin Matuska wrote: > > For recovering a system that does not boot anymore, you can use mfsBSD > ISO's: > http://mfsbsd.vx.sk > > You can boot from the iso and repair the boot record. Nearly a year ago mfsBSD saved me from a munged 8.0->8.1 upgrade of a ZFS box and allowed me to revive a ZFS root partition. I've done the same stupid thing again in moving from 8.1 to 8.2, only now the server won't boot from the 8.2 mfsBSD ISO, or the 8.1 ISO. In both cases it hangs at loader.conf. Thanks in advance for any clues on reviving this system. dn I recommend you check your gpart partitions with "gpart show" and verify > discovered pools with "zpool import" > (without any flags or arguments) first. > > mm > > Dňa 29. 7. 2010 23:03, David Newman wrote / napísal(a): >> Attempting to upgrade an 8.0-RELEASE to 8.1-RELEASE failed on a system >> running a bootable ZFS partition. >> >> The system boots to the loader prompt and complains there's no bootable >> kernel. Running 'lsmod' shows there are four ZFS disks present. >> >> Thanks in advance for clues on fixing this, and also on the right way to >> upgrade FreeBSD systems with bootable ZFS partitions. >> >> Steps to reproduce: >> >> 1. Build 8.0-RELEASE system following the freebsd.org wiki: >> >> http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/RAIDZ1 >> >> In this case the system uses raidz1 across four SATA drives. >> >> 2. Upgrade to 8.1-RELEASE using the 'FreeBSD Update' directions: >> >> http://www.freebsd.org/releases/8.1R/announce.html >> >> 3. After first reboot, system boots to the loader prompt. >> >> dn >> >> _______________________________________________ >> freebsd-fs@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-fs >> To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org"