From owner-freebsd-current@FreeBSD.ORG Fri Sep 2 15:02:01 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 34D711065670 for ; Fri, 2 Sep 2011 15:02:01 +0000 (UTC) (envelope-from hlh@restart.be) Received: from tignes.restart.be (tignes.restart.be [IPv6:2001:41d0:2:56bf:0:1::]) by mx1.freebsd.org (Postfix) with ESMTP id A98718FC12 for ; Fri, 2 Sep 2011 15:02:00 +0000 (UTC) Received: from restart.be (avoriaz.tunnel.bel [IPv6:2001:41d0:2:56bf:1:ffff::]) (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 3C18E143BE for ; Fri, 2 Sep 2011 17:01:59 +0200 (CEST) Received: from meribel.restart.bel (meribel.restart.bel [IPv6:2001:41d0:2:56bf:1:8::]) (authenticated bits=0) by restart.be (8.14.5/8.14.5) with ESMTP id p82F1umJ081980 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=OK) for ; Fri, 2 Sep 2011 17:01:58 +0200 (CEST) (envelope-from hlh@restart.be) X-DKIM: Sendmail DKIM Filter v2.8.3 restart.be p82F1umJ081980 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=restart.be; s=avoriaz; t=1314975718; bh=YCCZIFo/PyOf2taXaxqb7knM4wVNwuFRbZEelLzDijg=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=FivC2vDCvo+POyIydqSHKWCbkxwz4kOQfVfPRpDWOVIAbRQ5eKzVdSuDVzArieVhr Beswsc4d5uGcrPwu5lTyQ== X-DomainKeys: Sendmail DomainKeys Filter v1.0.2 restart.be p82F1umJ081980 DomainKey-Signature: a=rsa-sha1; s=avoriaz; d=restart.be; c=nofws; q=dns; h=message-id:date:from:user-agent:mime-version:to:subject: references:in-reply-to:x-enigmail-version:openpgp:content-type:content-transfer-encoding; b=GbfF21ayB08lkgy/ZOo/7U7SGji3lZzNcAFp253j5uRdphYAt6Abs/PQagAioIsWe 1Edw053NuqhS2gnylbgyw== Message-ID: <4E60EFE4.7070403@restart.be> Date: Fri, 02 Sep 2011 17:01:56 +0200 From: Henri Hennebert User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:6.0) Gecko/20110828 Thunderbird/6.0 MIME-Version: 1.0 To: freebsd-current@freebsd.org References: <20110901223646.14b8aae8@o2.pl> In-Reply-To: <20110901223646.14b8aae8@o2.pl> X-Enigmail-Version: undefined OpenPGP: id=D351A503 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: ZFS: i/o error - all block copies unavailable after upgrading to r225312 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: Fri, 02 Sep 2011 15:02:01 -0000 On 09/01/2011 22:36, Sebastian Chmielewski wrote: > > hi, > I'm running FreeBSD-CURRENT r224522M installed on ZFS Root and GPT > partitions and this setup is running fine. Today I've updated to r225312 and > after rebooting I've got following error message from boot loader: > > ZFS: i/o error - all block copies unavailable I encounter the same problem. I reboot with mfsBSD and run zpool scrub without error. I reboot and get the same error - the error msg repeating 4 or 5 times. I reboot with mfsBSD and I then do: mkdir /rpool zpool import -R /rpool rpool mount -t zfs rpool/root /mnt cd /mnt/boot mv kernel kernel-error mkdir kernel cp kernel-error/* kernel When I reboot all run smoothly :-o strange indeed... Henri > > Then I did "zfs rollback" using rescue disk to previous revision and I was able to > boot. > Steps I did to update system: > > zfs snapshot > make buildworld > make buildkernel > make installkernel > reboot > can't boot > zfs rollback using rescue disk > boot to previous revision (r224522M). > > Are there any more steps required for this procedure to work? > My previous updates from source on the same setup where successfull, this is > the first time I've encountered this error message when upgrading from source. > > My setup: > gpart show > => 34 250069613 ada0 GPT (119G) > 34 128 1 freebsd-boot (64k) > 162 1886 5 bios-boot (943k) > 2048 16777216 2 !0fc63daf-8483-4772-8e79-3d69d8477de4 (8.0G) > 16779264 33554432 3 freebsd-ufs (16G) > 50333696 199735951 4 freebsd-zfs (95G) > > Partitions 3 and 4 are separate zfs pools (3 is geli encrypted and 4 is for > operating system). > > zfs list > NAME USED AVAIL REFER MOUNTPOINT > home 10,4G 5,24G 10,4G /home > zroot 90,2G 3,27G 1,16G legacy > > /etc/fstab > # Device Mountpoint FStype Options Dump Pass# > zroot / zfs rw,noatime 0 0 > /dev/acd0 /cdrom cd9660 ro,noauto 0 0 > proc /proc procfs rw 0 0 > > best regards,