From owner-freebsd-fs@FreeBSD.ORG Fri Aug 2 14:40:36 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id AB40FD03; Fri, 2 Aug 2013 14:40:36 +0000 (UTC) (envelope-from lukasz@wasikowski.net) Received: from mail.wasikowski.net (mail.wasikowski.net [IPv6:2001:6a0:1cb::b]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 674B12A1B; Fri, 2 Aug 2013 14:40:36 +0000 (UTC) Received: from mail.wasikowski.net (mail.wasikowski.net [IPv6:2001:6a0:1cb::b]) by mail.wasikowski.net (Postfix) with ESMTP id 63CE12834; Fri, 2 Aug 2013 16:40:33 +0200 (CEST) X-Virus-Scanned: amavisd-new at wasikowski.net Received: from mail.wasikowski.net ([IPv6:2001:6a0:1cb::b]) by mail.wasikowski.net (scan.wasikowski.net [IPv6:2001:6a0:1cb::b]) (amavisd-new, port 10026) with ESMTP id uCk0dhE-sdeN; Fri, 2 Aug 2013 16:40:33 +0200 (CEST) Received: from [192.168.138.150] (83-144-115-210.static.chello.pl [83.144.115.210]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.wasikowski.net (Postfix) with ESMTPSA id 34AF42830; Fri, 2 Aug 2013 16:40:32 +0200 (CEST) Message-ID: <51FBC4DC.4090506@wasikowski.net> Date: Fri, 02 Aug 2013 16:40:28 +0200 From: =?UTF-8?B?xYF1a2FzeiBXxIVzaWtvd3NraQ==?= User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: Volodymyr Kostyrko Subject: Re: ZFS: can't read MOS of pool References: <51ED5B69.8050200@wasikowski.net> <51FBC24B.5030609@gmail.com> In-Reply-To: <51FBC24B.5030609@gmail.com> X-Enigmail-Version: 1.5.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: freebsd-fs@freebsd.org, freebsd-stable@freebsd.org X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Aug 2013 14:40:36 -0000 W dniu 2013-08-02 16:29, Volodymyr Kostyrko pisze: > 22.07.2013 19:18, Łukasz Wąsikowski wrote: >> I've got a problem with booting zfs-on-root FreeBSD 9.2-PRERELEASE. I'm >> getting: >> >> ZFS: i/o error - all block copies unavailable >> ZFS: can't read MOS of pool klawisz >> gptzfsboot: failed to mount default pool klawisz >> >> Machine is VM running under KVM on Proxmox 2.3-13. VM has 8 GB of RAM, >> 400 GB of local storage with SCSI Controller type: Default (lsi). >> >> I'm not sure what I did to make this VM unbootable. I've installed >> 9.2-PRERELEASE, did source based upgrade to r253470, mergemaster, >> reinstalled bootcode and rebooted. To this point VM was bootable. >> >> Then I did installworld from /usr/src to ezjail's basejail (ezjail-admin >> update -i), did mergemaster for jails, install some ports - none of this >> should mess with booting. I rebooted VM and got unbootable system. >> >> When I boot from liveCD I can import this pool (scrub shows no errors), >> mount it, chroot to it, and work with it. I just can't get it to boot. >> >> Some information about the system: >> http://pastie.org/private/mtfhkx0wx0vve29xn0plw >> >> I've tried to downgrade to r252316 - no luck, system is still unbootable. >> >> Any hints how to go from here? > > First, how did you update bootcode? `ls -la /boot` also wood help. > > Second, what is your /etc/make.conf and /etc/src.conf? I'm updating bootcode with: gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ada0 /etc/src.conf doesn't exist (I'm using GENERIC kernel on this VM) /etc/make.conf - http://pastebin.com/QapEWzfJ -- best regards, Lukasz Wasikowski