From owner-freebsd-current@FreeBSD.ORG Tue Oct 18 10:46:25 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 C8C201065673; Tue, 18 Oct 2011 10:46:25 +0000 (UTC) (envelope-from hlh@restart.be) Received: from tignes.restart.be (tignes.restart.be [94.23.211.191]) by mx1.freebsd.org (Postfix) with ESMTP id 760178FC14; Tue, 18 Oct 2011 10:46:25 +0000 (UTC) Received: from restart.be (avoriaz.restart.be [IPv6:2001:41d0:2:56bf:1:1::]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "smtp.restart.be", Issuer "CA master" (verified OK)) by tignes.restart.be (Postfix) with ESMTPS id C4EEC13F0B; Tue, 18 Oct 2011 12:35:28 +0200 (CEST) Received: from morzine.restart.bel (morzine.restart.be [IPv6:2001:41d0:2:56bf:1:2::]) (authenticated bits=0) by restart.be (8.14.5/8.14.5) with ESMTP id p9IAZRbc002917; Tue, 18 Oct 2011 12:35:28 +0200 (CEST) (envelope-from hlh@restart.be) X-DKIM: Sendmail DKIM Filter v2.8.3 restart.be p9IAZRbc002917 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=restart.be; s=avoriaz; t=1318934128; bh=tyrc5bxAewlcX03p8JZT8A6e3iZiGPpNkXtYgWBKlCY=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=AI5EMhhFe69cSc6qV9TMdpCFVd6xDHnKIUf3rZ/z5IBcd6q964eWesP7KgIOcfYNh HOLHSqStfs+xMe1R3vaXg== X-DomainKeys: Sendmail DomainKeys Filter v1.0.2 restart.be p9IAZRbc002917 DomainKey-Signature: a=rsa-sha1; s=avoriaz; d=restart.be; c=nofws; q=dns; h=message-id:date:from:organization:user-agent:mime-version:to: subject:references:in-reply-to:content-type:content-transfer-encoding; b=gmlZF1llrpXGXQVocZgcuja/AE25crFaXIgPrZmP6p9+WjxZBVBBOSakP/Sg+Lgu+ LJTOOe6XlTYwHzkTjAaDA== Message-ID: <4E9D566F.1040104@restart.be> Date: Tue, 18 Oct 2011 12:35:27 +0200 From: Henri Hennebert Organization: RestartSoft User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:7.0.1) Gecko/20111006 Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-current@freebsd.org, freebsd-fs@freebsd.org, avg@freebsd.org References: <4E8D7406.4090302@restart.be> <4E8D86A2.1040508@FreeBSD.org> <4E8D9F57.70506@restart.be> <4E8DAEE5.4020004@FreeBSD.org> In-Reply-To: <4E8DAEE5.4020004@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: zfsloader 9.0 BETA3 r225759 - i/o error - all block copies unavailable 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, 18 Oct 2011 10:46:26 -0000 On 10/06/2011 15:36, Andriy Gapon wrote: > on 06/10/2011 15:30 Henri Hennebert said the following: >> The pool is a mirror: >> >> [root@morzine ~]# zpool status rpool >> pool: rpool >> state: ONLINE >> scan: scrub repaired 0 in 1h0m with 0 errors on Wed Aug 24 15:04:36 2011 >> config: >> >> NAME STATE READ WRITE CKSUM >> rpool ONLINE 0 0 0 >> mirror-0 ONLINE 0 0 0 >> gptid/e915c6a0-fc72-11de-aa21-00e081706b68 ONLINE 0 0 0 >> gptid/eac8497d-fc72-11de-aa21-00e081706b68 ONLINE 0 0 0 >> >> errors: No known data errors >> >> and rpool/root is not compressed: >> >> [root@morzine ~]# zfs get compression rpool/root >> NAME PROPERTY VALUE SOURCE >> rpool/root compression off inherited from rpool >> >> pool is v28 and filesystems are v5 > > No particular recipes for this environment, just a general suggestion. > If you run into a situation like this again, please try to use > tools/tools/zfsboottest to diagnose where exactly an error originates. > I upgrade another system to 9.0-RC1 and encounter the same problem, this time zfsloader do not run. After mv /mnt/boot /mnt/Boot mkdir /mnt/boot cd /mnt/Boot find . | cpio -pvdmu /mnt/boot FreeBSD boot OK [root@avoriaz zfsboottest]# ./zfsboottest /Boot/zfsloader /dev/ada0p2 /dev/ada1p2 ZFS: SPA version 28 pool: rpool config: NAME STATE rpool ONLINE mirror ONLINE ada0p2 ONLINE ada1p2 ONLINE ZFS: i/o error - all block copies unavailable can't lookup 10 minutes later: [root@avoriaz zfsboottest]# ./zfsboottest /Boot/zfsloader /dev/ada0p2 /dev/ada1p2|less ZFS: SPA version 28 pool: rpool config: NAME STATE rpool ONLINE mirror ONLINE ada0p2 ONLINE ada1p2 ONLINE it seems ok :-o and a other time: [root@avoriaz zfsboottest]# ./zfsboottest /Boot/zfsloader /dev/ada0p2 segmentation fault... Strange isn't it. Henri