Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Feb 2020 11:04:38 -0800
From:      David Christensen <dpchrist@holgerdanske.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: ZFS i/o error on boot unable to start system
Message-ID:  <fcc9f93f-3680-d000-840c-a9be86a53ceb@holgerdanske.com>
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
On 2020-02-28 05:51, James B. Byrne via freebsd-questions wrote:
> I have reported this on the forums as well.
> 
> FreeBSD-12.1p2
> raidz2 on 4x8TB HDD (reds)
> root on zfs
> 
> We did a hot restart of this host this morning and received the following on
> the console:
> 
> ZFS: i/o error - all block copies unavailable
> ZFS: failed to read pool zroot directory object
> qptzfsboot: failed to mount default pool zroot
> 
> FreeBSD/x86 boot
> ZFS: i/o error - all block copies unavailable
> ZFS: can't fild dataset 0
> Default: zroot/<0x0>
> boot:
> 
> What has happened?  How do I get this system back up and online?
> 
> 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 caused
> this.  I cannot think of any other changes made since the system was last
> restarted a noon yesterday.
> 
> &#8203;This is an urgent matter.  Any help is gratefully welcomed.

So, you have a desktop computer with four Western Digital Red 8 TB SATA 
hard disk drives.  You installed FreeBSD-12.1-RELEASE-amd64 and ended up 
with one ZFS RAIDZ2 pool with everything in it -- boot, root, usr, var, 
tmp, home, whatever.  You have since upgraded to 12.1-p2.  Yesterday, 
you edited /etc/rc.conf and now the system will not boot.


The most likely explanation is that you broke rc.conf.


One possible solution would be too boot a rescue shell or live system, 
import the RAIDZ2 pool, and fix rc.conf.  Be sure to export the pool 
each time you are done editing and before attempting to boot it.


Let us know how it works out.


David



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fcc9f93f-3680-d000-840c-a9be86a53ceb>