Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Feb 2020 16:04:19 +0000
From:      "Vikash Badal (IS)" <Vikash.Badal@is.co.za>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: ZFS i/o error on boot unable to start system
Message-ID:  <fcfafdb7-3dca-6e45-8d49-6d30c7c79427@is.co.za>
In-Reply-To: <eb8f8f32fcf5559774daf3a772a1ad2e.squirrel@webmail.harte-lyne.ca>
References:  <eb8f8f32fcf5559774daf3a772a1ad2e.squirrel@webmail.harte-lyne.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi James,

On 2020/02/28 15:51, James B. Byrne via freebsd-questions wrote:
> I have reported this on the forums as well.
>
=09=09=09
Vikash Badal (IS)
Senior Technical Systems Engineer
T=C2=A0+27 11 5750825=C2=A0


this helped me with this issue:
https://forums.freebsd.org/threads/i-broke-11-0-beta2-uefi-zfs-root-boot.57=
137/

tldr;

-  boot usb/cd image (must be same version -as OS)

from shell:
- gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 <drive0-n>
-  if you using uefi:
   dd if=3D/boot/boot1.efifat of=3D/dev/<drive0-n>p1


refs:
https://solence.de/2019/05/01/update-uefi-boot-code-after-zfs-upgrade-on-fr=
eebsd/
https://forums.freebsd.org/threads/i-broke-11-0-beta2-uefi-zfs-root-boot.57=
137/


> FreeBSD-12.1p2
> raidz2 on 4x8TB HDD (reds)
> root on zfs
>=20
> We did a hot restart of this host this morning and received the following=
 on
> the console:
>=20
> ZFS: i/o error - all block copies unavailable
> ZFS: failed to read pool zroot directory object
> qptzfsboot: failed to mount default pool zroot
>=20
> FreeBSD/x86 boot
> ZFS: i/o error - all block copies unavailable
> ZFS: can't fild dataset 0
> Default: zroot/<0x0>
> boot:
>=20
> What has happened?  How do I get this system back up and online?
>=20
> My first thought is that in modifying rc.conf to change some ip4 address
> assignments that I may have done something else inadvertently which has c=
aused
> this.  I cannot think of any other changes made since the system was last
> restarted a noon yesterday.
>=20
> &#8203;This is an urgent matter.  Any help is gratefully welcomed.
>=20





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fcfafdb7-3dca-6e45-8d49-6d30c7c79427>