Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jul 2017 08:17:05 +0200 (CEST)
From:      =?ISO-8859-1?Q?Trond_Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no>
To:        FreeBSD questions <freebsd-questions@freebsd.org>
Subject:   Re: ZFS fails with error 6 on upgrade to 11.1
Message-ID:  <alpine.BSF.2.21.1707270810250.53090@mail.fig.ol.no>
In-Reply-To: <87shhiao5h.fsf@domain.invalid>
References:  <87shhiao5h.fsf@domain.invalid>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 26 Jul 2017 23:23+0200, Sebastian Schwarz wrote:

> Hello,
> 
> With 11.1 just officially announced I decided to give it a try
> on my notebook.
> 
> After creating a boot environment I upgraded from
> 11.0-RELEASE-p11 to 11.1-RELEASE-p0 following the instructions
> outlined in
> https://www.freebsd.org/releases/11.1R/installation.html:
> 
> # freebsd-update fetch install
> # freebsd-update -r 11.1-RELEASE upgrade
> [manually merge /etc/mail/mailer.conf]
> [manually merge /etc/syslog.conf]
> # freebsd-update install
> # shutdown -r now
> 
> At this point the boot process errored out with the following
> error message:
> 
> > Mounting from zfs:ssd/ROOT/freebsd11.1.0 failed with error 6.
> 
> The following prompt lets me list all available devices.  All
> the drives for the ZFS pools are present with the same names as
> in `zpool status`.
> 
> After that I rebooted and selected the previously created boot
> environment with 11.0p11 and am trying to figure out the
> problem.  However as I'm fairly new to FreeBSD I'm in need of
> some help.
> 
> Some background information on my setup:
> 
> - booted with EFI
> - the drives are partitioned with GPT
> - the two ZFS pools where originally created on Arch Linux
> - from the FreeBSD installer I successfully installed into a
>   separate dataset
> - 11.0 has been working fine like this since December 2016
> 
> More details:
> 
> - dmesg: http://ix.io/yHR
> - gpart list: http://ix.io/yHT
> - zpool status: http://ix.io/yHZ
> - zfs list: http://ix.io/yHQ
> 
> Some advice would be very much appreciated.

Off the top of my head I would ensure zfs.ko is loaded at boot time, 
by adding zfs_load="YES" to /boot/loader.conf within the 
ssd/ROOT/freebsd11.1.0 filesystem.

Make sure the boot pool is in its imported state, and if you use 
/boot/zfs/zpool.cache at all, make sure it's up-to-date.

-- 
Trond.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.21.1707270810250.53090>