From owner-freebsd-current@FreeBSD.ORG Tue Dec 6 18:04:35 2011 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 C31891065672 for ; Tue, 6 Dec 2011 18:04:35 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 1E6608FC0A for ; Tue, 6 Dec 2011 18:04:34 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id UAA08510; Tue, 06 Dec 2011 20:04:32 +0200 (EET) (envelope-from avg@FreeBSD.org) Message-ID: <4EDE592F.4020102@FreeBSD.org> Date: Tue, 06 Dec 2011 20:04:31 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:8.0) Gecko/20111109 Thunderbird/8.0 MIME-Version: 1.0 To: KOT MATPOCKuH References: In-Reply-To: X-Enigmail-Version: undefined Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-current@FreeBSD.org Subject: Re: ZFS: i/o error all block copies unavailable Invalid format 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: Tue, 06 Dec 2011 18:04:35 -0000 on 06/12/2011 08:14 KOT MATPOCKuH said the following: > Hello all! > > On 24 nov I updated sources via csup to RELENG_9 (9.0-PRERELEASE). > After make installboot I successfully booted to single user. > But after make installworld system was fail to boot with message: > ZFS: i/o error all block copies unavailable > Invalid format > > status command shows status of all polls properly. > root filesystem is not compressed. > > # zfsboottest /dev/gpt/rootdisk /dev/gpt/rootmirr > pool: sunway > config: > > NAME STATE > sunway ONLINE > mirror ONLINE > gpt/rootdisk ONLINE > gpt/rootmirr ONLINE > > Restore of old /boot/zfsloader was solved issue. > Before I successfully updated 4 another systems with same sources > level without any problems. > > My sys/boot/zfs/zfsimpl.c's version: 1.17.2.2 2011/11/19 10:49:03 > > Where may a root cause of problem? And how I can debug this problem? 1. Inability of the boot code to handle your pool or root filesystem for some reason. 2. Try using zfsboottest.sh next time your reproduce the problem (or see what the script does and try to examine some files instead of doing an empty run). If it fails, then please try to narrow the problem to a particular file, run zfsboottest under debugger, collect interesting information about the failure and get back to us with it. The problem may have been masked by the fact that you touched /boot directory when restoring your previous loader. Alternatively, the problem could be in the newer zfs boot code. -- Andriy Gapon