From owner-freebsd-questions@freebsd.org Fri Jul 28 22:18:40 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8099FDD113C for ; Fri, 28 Jul 2017 22:18:40 +0000 (UTC) (envelope-from purpleritza@gmail.com) Received: from mail-qt0-x22f.google.com (mail-qt0-x22f.google.com [IPv6:2607:f8b0:400d:c0d::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 299E47423A for ; Fri, 28 Jul 2017 22:18:40 +0000 (UTC) (envelope-from purpleritza@gmail.com) Received: by mail-qt0-x22f.google.com with SMTP id 16so46417178qtz.4 for ; Fri, 28 Jul 2017 15:18:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=h+SL2thZ8ujNVny5ylBN8eWK2nOnzB/BQ+ohTZrc7Ps=; b=hgVywwl6GN+Unoslzpq2f/OMi9oHuuC+Y0Ho7pN/G++uSrX0OAn8xh80EiEE6lP3dM 2HXKQ3EZNYSgeqDuQuXLf7O5sF75ru5GlLlzBvKdaNq270aDwrkpbbQ4c63Qt6myw9Rc Kdw8Gr0Sv130CXxN7vwFG7p2joW5G/x2UApev4k+rSM4vDLztGU4uztDFrz8kjx4cxGj qN8trRwfOh22Y07MuSGzvsjd9a2kC78PbYBbwPHCeyxGZHc2/P7OX2/kc4NolTXz6VXJ hVDcZ+8iH99FUkiOCKwyy+piYxLvlqPMUcOVaaKR/Sn6p8IA3wgesS7rfiXVLjqdlqwx RfGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=h+SL2thZ8ujNVny5ylBN8eWK2nOnzB/BQ+ohTZrc7Ps=; b=ok1c6nGRdXsHEeMxLMl9iGvy0/hU/YTU8z3kZRrNFU07zHVLiHvcIXyth0QgoWS6Pq JWJ3Vy4Td6raUffqA/QB4n4LcAr9Xs0ETdovJH59TetuYiTynX6cnIck3BKQaeUCrAnX GKsFu0KysGZLAqeeL9U0gXJEcvPJY+eYi61US1W2VJCt1GqXEMWiGKtgHGPCbafjNYml 3MoLYPVkM+YiutiolrmJ23EUsZIOLIOfJKQg5EffqHsTakEiQ4BU32nRu2wq6Cf17trV v6Ci3VGaRzqWreDVST/4fSBXKHypU5GtUKg9+0F/0DHWAE2pBYQ8M8ybzKPMA6kU1Sl3 Z6XA== X-Gm-Message-State: AIVw112k7HY8jv2UZAqTQsm43rqm5h7GkOcNuQ4q8NkCEKCYE+k7d2oh W9+KSBlNK+WYlD8shPVPC8K1Kr9WnP+b X-Received: by 10.200.46.161 with SMTP id h30mr13412397qta.202.1501280318711; Fri, 28 Jul 2017 15:18:38 -0700 (PDT) MIME-Version: 1.0 Received: by 10.12.189.10 with HTTP; Fri, 28 Jul 2017 15:18:38 -0700 (PDT) Received: by 10.12.189.10 with HTTP; Fri, 28 Jul 2017 15:18:38 -0700 (PDT) In-Reply-To: References: <87shhiao5h.fsf@domain.invalid> <87r2x1o9eu.fsf@domain.invalid> <87a83oe0nq.fsf@domain.invalid> <877eysdz0f.fsf@domain.invalid> From: =?UTF-8?B?R29yYW4gVGVwxaFpxIc=?= Date: Sat, 29 Jul 2017 00:18:38 +0200 Message-ID: Subject: Re: ZFS fails with error 6 on upgrade to 11.1 To: FreeBSD questions Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Jul 2017 22:18:40 -0000 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" 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.