Date: Sun, 14 Aug 2011 15:28:11 +0300 From: Ruslan Yakovlev <quazi@bk.ru> To: freebsd-fs@freebsd.org Subject: Re: ZFS: i/o error all block copies unavailable Message-ID: <4E47BF5B.3010102@bk.ru> In-Reply-To: <CAFu=DfTWz2jYY6FSZ1T7j0V7umpjOMXGXrtP5dh5sad3o9VUVg@mail.gmail.com> References: <CAFu=DfTWz2jYY6FSZ1T7j0V7umpjOMXGXrtP5dh5sad3o9VUVg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <mailto: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 > <mailto:freebsd-fs-unsubscribe@freebsd.org>" > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E47BF5B.3010102>