Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Nov 2014 14:05:44 -0500
From:      Stephen R Guglielmo <srguglielmo@gmail.com>
To:        Erik Gustafson <gustafson.erik@gmail.com>
Cc:        FreeBSD Mailing list <freebsd-questions@freebsd.org>
Subject:   Re: ZFS Root Mount Failure
Message-ID:  <889081AC-3AD0-403A-82E8-98CCF79F9CC8@gmail.com>
In-Reply-To: <CABrb_G_euED_XWOU-msudaWchxoJis5EUi4cfE8=b_YJvnuS2g@mail.gmail.com>
References:  <E2B4270B-635D-4D75-9AE6-52D5C7830D02@gmail.com> <CABrb_G_euED_XWOU-msudaWchxoJis5EUi4cfE8=b_YJvnuS2g@mail.gmail.com>

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


On October 29, 2014 4:49:55 AM EDT, Erik Gustafson <gustafson.erik@gmail.com> wrote:
>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

Erik,

Thanks for the help! I was able to boot from a FreeBSD 10 CD. I got into the LiveCD shell and imported the zpool with no problems. It said my 4 disks were online. I then rebooted, however I got the same error at the mountroot prompt: "Mounting from zfs:zroot failed with error 5."

I'll try to play a bit more, maybe scrubbing it or something from the livecd.

Thanks,
Steve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?889081AC-3AD0-403A-82E8-98CCF79F9CC8>