Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jul 2017 00:18:38 +0200
From:      =?UTF-8?B?R29yYW4gVGVwxaFpxIc=?= <purpleritza@gmail.com>
To:        FreeBSD questions <freebsd-questions@freebsd.org>
Subject:   Re: ZFS fails with error 6 on upgrade to 11.1
Message-ID:  <CADLW%2Bu1S67OdGKQ=wapLyHZ8gcNRODZ2-cfOKvtRdYuYmTJkhg@mail.gmail.com>
In-Reply-To: <CADLW%2Bu0M7KYZDSKf76VXSiz5fQqT7trRNbA2acGN6LpZJUP56A@mail.gmail.com>
References:  <87shhiao5h.fsf@domain.invalid> <alpine.BSF.2.21.1707270810250.53090@mail.fig.ol.no> <87r2x1o9eu.fsf@domain.invalid> <CADLW%2Bu2ov_z3mWOy8dMu-QtwxuP60ryszsi5VCUNk7mpdTOmZw@mail.gmail.com> <87a83oe0nq.fsf@domain.invalid> <CADLW%2Bu3gvSuG3ErDpHKtGPG%2BnEgSaJJjJxECN2Nmbq%2BxGL7ZTA@mail.gmail.com> <877eysdz0f.fsf@domain.invalid> <CADLW%2Bu3X2kQeWU0_TZk6byhqjJ_YSx%2BmLs-OFYJ9XzRcQs_V3A@mail.gmail.com> <CADLW%2Bu0M7KYZDSKf76VXSiz5fQqT7trRNbA2acGN6LpZJUP56A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Couple of days ago I had issue with upgrading to 11.1 where I tried a bit
exotic way of upgrading by creating boot environment, mounting it and
running freebsd-update to send files to that boot environment's directory.
After I tried to boot, ZFS complained.

I tried couple of things to recover but I think 'zfs set cachefile
/boot/zfs/zpool.cachefile' actually saved my =F0=9F=A5=93. Not entirely pos=
itive but
worth trying.

On Jul 28, 2017 11:37 PM, "Sebastian Schwarz" <seschwar@gmail.com> wrote:

On 2017-07-28, Goran Tep=C5=A1i=C4=87 wrote:
> Hmm. Can you do 'zfs get bootfs,cachefile ssd'?

Sure:

> # zpool get bootfs,cachefile ssd
> NAME  PROPERTY   VALUE                    SOURCE
> ssd   bootfs     ssd/ROOT/freebsd11.0.11  local
> ssd   cachefile  -                        default

That bootfs is my currently working dataset.  I selected the
dataset with 11.1 using the boot loader's menu.

I tried setting bootfs to `ssd/ROOT/freebsd11.1.0` to see if
that would make a difference, but it didn't.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADLW%2Bu1S67OdGKQ=wapLyHZ8gcNRODZ2-cfOKvtRdYuYmTJkhg>