From owner-freebsd-fs@FreeBSD.ORG Sun Aug 14 12:54:04 2011 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E15F8106564A for ; Sun, 14 Aug 2011 12:54:03 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from fep34.mx.upcmail.net (fep34.mx.upcmail.net [62.179.121.52]) by mx1.freebsd.org (Postfix) with ESMTP id 66F778FC0A for ; Sun, 14 Aug 2011 12:54:03 +0000 (UTC) Received: from edge02.upcmail.net ([192.168.13.237]) by viefep11-int.chello.at (InterMail vM.8.01.02.02 201-2260-120-106-20100312) with ESMTP id <20110814122600.ELYY1647.viefep11-int.chello.at@edge02.upcmail.net>; Sun, 14 Aug 2011 14:26:00 +0200 Received: from pinky ([95.96.138.26]) by edge02.upcmail.net with edge id LCRy1h0090aMTqv02CRzvh; Sun, 14 Aug 2011 14:26:00 +0200 X-SourceIP: 95.96.138.26 Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes To: freebsd-fs@freebsd.org, "Ruslan Yakovlev" References: <4E47BF5B.3010102@bk.ru> Date: Sun, 14 Aug 2011 14:26:03 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Ronald Klop" Message-ID: In-Reply-To: <4E47BF5B.3010102@bk.ru> User-Agent: Opera Mail/11.50 (Win32) X-Cloudmark-Analysis: v=1.1 cv=8aHJgfg0GQPVAsFhHUWrXuSEk7IPywT3HfAl6KezIcg= c=1 sm=0 a=jSLzLkXI7GEA:10 a=eO4J7RWVLuUA:10 a=bgpUlknNv7MA:10 a=kj9zAlcOel0A:10 a=6I5d2MoRAAAA:8 a=ECAJpNFI83C1cmKNUt0A:9 a=6NtR6f4NIeGg6he39AYA:7 a=CjuIK1q_8ugA:10 a=SV7veod9ZcQA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Cc: Subject: Re: ZFS: i/o error all block copies unavailable 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: Sun, 14 Aug 2011 12:54:04 -0000 Is /boot/zfs/zpool.cache correct for the current setup? Ronald. On Sun, 14 Aug 2011 14:28:11 +0200, Ruslan Yakovlev wrote: > I think it is not bootcode problem. I not modify my bootcode when power > halted. It is some problems in ZFS. > When I probe import ZFS pool (in 9.0-BETA1) it wrote that pool is busy. > Only zpool import -f work. > After that I change mountpoint, list my files, replace mountpoint to / > and reboot. Now on boot it wrote many errors (many strings "ZFS: i/o > error..") and wrote file names. > First it /boot/kernel/kernel > when I probe list files from bootcode, I can see only / and /boot, on > /boot/kernel it wrote "ZFS: i/o error.." > But now copy of /boot/kernel work fine from flash > I do > # copy -r /boot /boot.new > # move /boot /boot.broken > # move /boot.new /boot > Now kernel boot, but stopped when probe mount ZFS storage as root. If I > select boot string from menu and do #load /boot/kernel/zfs.ko it wrote > "ZFS: i/o error.." > pmbr and gptzfsboot from 9.0-BETA1 don't change anything. Problem > staying. > And I can't boot from kernel.old (it wrote "ZFS: i/o error.." too) > > I think if I copy all my files to other storage and rebuild ZFS pool, > problem leave, but now I don't have any other storage for all my data. > > On 14.08.2011 14:10, rubyneko neko wrote: >> I have some problem too. >> Currently I'm working from kernel.old. >> >> gpart bootcode -p /boot/gptzfsboot -i 1 ad4 >> for my not work. >> >> any idea? >> >> On Sun, 2011-08-14 at 13:16 +0300, Ruslan Yakovlev wrote: >> > Hi all >> > After power down on FreeBSD 8.2-STABLE #6 (now updated to #7, but >> > problem standing) I can't boot from ZFS v28. >> > gptzfsboot wrote >> > boot: ZFS: i/o error all block copies unavailable >> > instead >> > boot: qroot:/boot/kernel/kernel >> > I download FreeBSD 9.0-BETA1 image and boot from it. I can mount my >> ZFS >> > storage. I copy /boot from ZFS storage to flash and now kernel booted >> > from flash fine, after that ZFS storage mounted as / and all work. >> zpool >> > scrub don't detect any problems. zpool status wrote "No known data >> errors". >> > But it too slowly and I want normally boot from ZFS storage without >> > loading kernel from flash. How can I fix "ZFS: i/o error all block >> > copies unavailable" ? >> > >> > Now I have >> > FreeBSD QUAZIS.SNNLAN.local 8.2-STABLE FreeBSD 8.2-STABLE #7: Fri Aug >> 12 >> > 23:27:33 EEST 2011 >> root@QUAZIS.SNNLAN.local:/usr/obj/usr/src/sys/main8 i386 >> > >> > => 34 976770988 ad4 GPT (465G) >> > >> > 34 256 1 freebsd-boot (128k) >> > >> > 290 16777216 2 freebsd-swap (8.0G) >> > >> > 16777506 959993516 3 freebsd-zfs (457G) >> > >> > >> > >> > _______________________________________________ >> > 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 >> " >> >> > > _______________________________________________ > 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"