From owner-freebsd-fs@FreeBSD.ORG Sun Aug 14 12:23:35 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 EB4391065672 for ; Sun, 14 Aug 2011 12:23:35 +0000 (UTC) (envelope-from quazi@bk.ru) Received: from smtp13.mail.ru (smtp13.mail.ru [94.100.176.90]) by mx1.freebsd.org (Postfix) with ESMTP id 554008FC08 for ; Sun, 14 Aug 2011 12:23:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail; h=Content-Type:In-Reply-To:References:Subject:To:MIME-Version:From:Date:Message-ID; bh=8oYgFd0dT0Jf1AULUqz0RHz7vKGh3cnwUVhMr9bst/U=; b=tmeVWDhK21wo7W1UKCvXBSyyAzeptdj7XrQj8X5F8rMe3CjzJAG2iAYlmWTYqBUvztj7+0o+laD7SXHZQXr8zINMjIQYKn/3AoO+Mw368vuI41IiGlGUzof/d15PrvJI; Received: from [178.126.178.244] (port=18963 helo=QUAZIS.SNNLAN.local) by smtp13.mail.ru with asmtp id 1QsZj2-00064s-00 for freebsd-fs@freebsd.org; Sun, 14 Aug 2011 16:23:33 +0400 Message-ID: <4E47BF5B.3010102@bk.ru> Date: Sun, 14 Aug 2011 15:28:11 +0300 From: Ruslan Yakovlev User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:5.0) Gecko/20110804 Thunderbird/5.0 MIME-Version: 1.0 To: freebsd-fs@freebsd.org References: In-Reply-To: X-Spam: Not detected X-Mras: Ok Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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:23:36 -0000 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 > " > >