Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Oct 2014 09:49:55 +0100
From:      Erik Gustafson <gustafson.erik@gmail.com>
To:        Stephen R Guglielmo <srguglielmo@gmail.com>
Cc:        FreeBSD Mailing list <freebsd-questions@freebsd.org>
Subject:   Re: ZFS Root Mount Failure
Message-ID:  <CABrb_G_euED_XWOU-msudaWchxoJis5EUi4cfE8=b_YJvnuS2g@mail.gmail.com>
In-Reply-To: <E2B4270B-635D-4D75-9AE6-52D5C7830D02@gmail.com>
References:  <E2B4270B-635D-4D75-9AE6-52D5C7830D02@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Oct 28, 2014 at 10:40 PM, Stephen R Guglielmo <srguglielmo@gmail.com
> wrote:

> Hey list,
>
> I have a machine running ZFS on root. It stopped responding this morning,
> and upon a reboot, it was unable to mount root from zfs:zroot. It gave the
> explanation of "error 5."
>
> I played with the mount prompt briefly, but didn't get anywhere. Any tips
> for diagnosing and fixing the problem?
>

I had a similar issue recently. Error 5 on mount root. This was in
virtaulbox after some sort of unexpected shutdown.
To resolve i first made a snapshot in virtualbox
booted from freebsd-disc1.iso (install dvd)
zpool import
reboot (and boot from zroot)
zpool scrub

zpool scrub said that i was going to loose some recently written data
(generated by nightly poudrire build)
I don't remember all, probably I needed some parameter to zpool import but
all error messages were helpful it was quite easy to get it working again.

Good luck and don't forget the backup/snapshot



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABrb_G_euED_XWOU-msudaWchxoJis5EUi4cfE8=b_YJvnuS2g>