From owner-freebsd-current@freebsd.org Tue Jul 11 15:06:38 2017 Return-Path: Delivered-To: freebsd-current@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 F2CE0DA21B8 for ; Tue, 11 Jul 2017 15:06:38 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-wr0-x231.google.com (mail-wr0-x231.google.com [IPv6:2a00:1450:400c:c0c::231]) (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 936A6772D2 for ; Tue, 11 Jul 2017 15:06:38 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: by mail-wr0-x231.google.com with SMTP id c11so2966621wrc.3 for ; Tue, 11 Jul 2017 08:06:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=tnWsTqb8oKTfoBlkrzT0anptIiEbUXJVDs+orUP6aac=; b=q+GgGBJMVfQs+95wHy+6JOg5mxB5xQsnVMqejOYEccyyCQOFQDuoXTZJRsSX5uA6jo YUQFPu+GmgYbVomR2Nw2K0CdVIzb64KXFb9OCAGU48GQFTunfBJ41jbeB0fazZgTlbm/ +EQJ1Ryada6JN8CiJMMfDnb6IP2jUDsE7fhEh6d3E7SrpCHbbWo0zXR9YVwRZq/OyJeY 9bD9yUqTBh41ONbKKp1s47Av0+ciz0hkD1U7gbzx0iqhL62NOUpBi9LXo/dOgniDtLUy JOr9nF5fv/L151IpgXCeG8vSUggw1AlqlbSx0Fb+0PvKygPiCXIDN7ST9GTsrI0Knqqi CR1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=tnWsTqb8oKTfoBlkrzT0anptIiEbUXJVDs+orUP6aac=; b=Gi9tgp+FaFmXI5pS60B+s/gZEW4j6hiIn5aXgBq2xpw6OElM4HYwMtXbDR+FKt4cYQ y9fbqyoymEqwooEoYW4wgeTajOFQxVE7Qw7Tg+4/+/9ayz320rvlN1a2fNJMQh0GqEkH Q75ZtQW7L2neVmszF7c+dP5m6MA6lKGVVfGomMLRmyD/j3vWgvTiuW/I6doCWv2GgQJL AWfLTg54k/UM3JWoFadZKkEYZJvruy4HQ4XEhGBrtIllKQhmIkXrvsQTdmbOMBhrwCuB TcmRcsfYmlpH6wmbxXo4f/e/2BUnnqgnmmQ7Az88dy7aBZgicCr4FdjVwb9PPSd3GQ81 JtUg== X-Gm-Message-State: AIVw11210YJPKQeL80f+N8lcCMEZYMEvSf/PBtLVRBSuEMXsFjzdR1xU oXNepW2p8hPj+VwWsCM= X-Received: by 10.223.151.44 with SMTP id r41mr225224wrb.6.1499785596625; Tue, 11 Jul 2017 08:06:36 -0700 (PDT) Received: from [193.62.187.15] ([193.62.187.15]) by smtp.gmail.com with ESMTPSA id 92sm169747wrb.55.2017.07.11.08.06.34 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Jul 2017 08:06:34 -0700 (PDT) To: freebsd-current@freebsd.org From: Graham Perrin Subject: beadm activate, cp: /tmp/BE-.../boot/zfs/zpool.cache: No such file or directory Message-ID: <3c198c78-46fc-9c2c-041e-5efee251ece8@gmail.com> Date: Tue, 11 Jul 2017 15:18:09 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jul 2017 15:06:39 -0000 UEFI, booted from GELI-encrypted ZFS. Whenever I attempt to activate a boot environment, activation fails. Instead, the environment is mounted. I tried both beadm and (below) beadm-devel. Thoughts? Is this, maybe, a known issue when booting r320599 from encrypted ZFS? Also: at boot time, the list of boot environments is empty. I might workaround, lszfs poolname/ROOT set vfs.root.mountfrom=zfs:poolname/ROOT/bename Thanks ---- # date ; uptime ; uname -a Tue Jul 11 09:15:42 BST 2017 9:15AM up 9 mins, 3 users, load averages: 0.26, 0.33, 0.19 FreeBSD momh167-gjp4-hpelitebook8570p-freebsd 12.0-CURRENT FreeBSD 12.0-CURRENT #0 r320599: Mon Jul 3 15:34:15 UTC 2017 root@releng3.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 # pkg info beadm beadm-1.2.7_2 Name : beadm Version : 1.2.7_2 Installed on : Mon Jul 10 21:44:13 2017 BST Origin : sysutils/beadm Architecture : FreeBSD:12:amd64 Prefix : /usr/local Categories : sysutils Licenses : BSD2CLAUSE Maintainer : bdrewery@FreeBSD.org WWW : https://github.com/vermaden/beadm/ Comment : Solaris-like utility to manage Boot Environments on ZFS Annotations : repo_type : binary repository : FreeBSD Flat size : 30.6KiB Description : beadm is an Illumos/Solaris-like utility for FreeBSD to manage Boot Environments on ZFS filesystems. WWW: https://github.com/vermaden/beadm/ # pkg install beadm-devel Updating FreeBSD repository catalogue... FreeBSD repository is up to date. Updating area51 repository catalogue... area51 repository is up to date. Updating poudriere repository catalogue... poudriere repository is up to date. Updating trueos-base repository catalogue... trueos-base repository is up to date. All repositories are up to date. Checking integrity... done (2 conflicting) - beadm-devel-1.2.99.20150924 [poudriere] conflicts with beadm-1.2.7_2 [installed] on /usr/local/sbin/beadm - beadm-devel-1.2.99.20150924 [FreeBSD] conflicts with beadm-1.2.7_2 [installed] on /usr/local/sbin/beadm Checking integrity... done (0 conflicting) The following 2 package(s) will be affected (of 0 checked): Installed packages to be REMOVED: beadm-1.2.7_2 New packages to be INSTALLED: beadm-devel: 1.2.99.20150924 [poudriere] Number of packages to be removed: 1 Number of packages to be installed: 1 Proceed with this action? [y/N]: y [1/2] Deinstalling beadm-1.2.7_2... [1/2] Deleting files for beadm-1.2.7_2: 100% [2/2] Installing beadm-devel-1.2.99.20150924... [2/2] Extracting beadm-devel-1.2.99.20150924: 100% # beadm create 2017-07-11-09 Created successfully # beadm activate 2017-07-11-09 cp: /tmp/BE-2017-07-11-09.H0k1WFYJ/boot/zfs/zpool.cache: No such file or directory # beadm list BE Active Mountpoint Space Created default NR / 8.3G 2017-07-07 10:50 2017-07-11-09 - /tmp/BE-2017-07-11-09.H0k1WFYJ 8.0K 2017-07-11 09:16 # gpart show => 40 976773088 ada0 GPT (466G) 40 409600 1 efi (200M) 409640 2008 - free - (1.0M) 411648 4194304 2 freebsd-zfs (2.0G) 4605952 33554432 3 freebsd-swap (16G) 38160384 938612736 4 freebsd-zfs (448G) 976773120 8 - free - (4.0K) # mount hpelitebook8570p/ROOT/default on / (zfs, local, noatime, nfsv4acls) devfs on /dev (devfs, local, multilabel) procfs on /proc (procfs, local) bootpool on /bootpool (zfs, local, nfsv4acls) hpelitebook8570p on /hpelitebook8570p (zfs, local, noatime, nfsv4acls) hpelitebook8570p/poudriere on /hpelitebook8570p/poudriere (zfs, local, noatime, nfsv4acls) hpelitebook8570p/poudriere/jails on /hpelitebook8570p/poudriere/jails (zfs, local, noatime, nfsv4acls) hpelitebook8570p/poudriere/ports on /hpelitebook8570p/poudriere/ports (zfs, local, noatime, nfsv4acls) hpelitebook8570p/tmp on /tmp (zfs, local, noatime, nosuid, nfsv4acls) hpelitebook8570p/usr/home on /usr/home (zfs, local, noatime, nfsv4acls) hpelitebook8570p/usr/home/grahamperrin on /usr/home/grahamperrin (zfs, local, noatime, nfsv4acls) hpelitebook8570p/poudriere/data on /usr/local/poudriere/data (zfs, local, noatime, nfsv4acls) hpelitebook8570p/poudriere/data/.m on /usr/local/poudriere/data/.m (zfs, local, noatime, nfsv4acls) hpelitebook8570p/poudriere/data/cache on /usr/local/poudriere/data/cache (zfs, local, noatime, nfsv4acls) hpelitebook8570p/poudriere/data/logs on /usr/local/poudriere/data/logs (zfs, local, noatime, nfsv4acls) hpelitebook8570p/poudriere/data/packages on /usr/local/poudriere/data/packages (zfs, local, noatime, nfsv4acls) hpelitebook8570p/poudriere/data/wrkdirs on /usr/local/poudriere/data/wrkdirs (zfs, local, noatime, nfsv4acls) hpelitebook8570p/poudriere/jails/current on /usr/local/poudriere/jails/current (zfs, local, noatime, nfsv4acls) hpelitebook8570p/poudriere/ports/freebsd-ports-kde on /usr/local/poudriere/ports/freebsd-ports-kde (zfs, local, noatime, nfsv4acls) hpelitebook8570p/usr/ports on /usr/ports (zfs, local, noatime, nosuid, nfsv4acls) hpelitebook8570p/usr/src on /usr/src (zfs, local, noatime, nfsv4acls) hpelitebook8570p/var/VirtualBox on /var/VirtualBox (zfs, local, noatime, nfsv4acls) hpelitebook8570p/var/audit on /var/audit (zfs, local, noatime, noexec, nosuid, nfsv4acls) hpelitebook8570p/var/crash on /var/crash (zfs, local, noatime, noexec, nosuid, nfsv4acls) hpelitebook8570p/var/log on /var/log (zfs, local, noatime, noexec, nosuid, nfsv4acls) hpelitebook8570p/var/mail on /var/mail (zfs, local, nfsv4acls) hpelitebook8570p/var/tmp on /var/tmp (zfs, local, noatime, nosuid, nfsv4acls) linprocfs on /compat/linux/proc (linprocfs, local) tmpfs on /compat/linux/dev/shm (tmpfs, local) fdescfs on /dev/fd (fdescfs) hpelitebook8570p/ROOT/2017-07-11-09 on /tmp/BE-2017-07-11-09.H0k1WFYJ (zfs, local, noatime, nfsv4acls) # zfs list NAME USED AVAIL REFER MOUNTPOINT bootpool 135M 1.73G 133M /bootpool hpelitebook8570p 78.2G 352G 88K /hpelitebook8570p hpelitebook8570p/ROOT 8.27G 352G 88K none hpelitebook8570p/ROOT/2017-07-11-09 8K 352G 8.27G /tmp/BE-2017-07-11-09.H0k1WFYJ hpelitebook8570p/ROOT/default 8.27G 352G 8.27G / hpelitebook8570p/poudriere 3.62G 352G 88K /hpelitebook8570p/poudriere hpelitebook8570p/poudriere/data 732M 352G 96K /usr/local/poudriere/data hpelitebook8570p/poudriere/data/.m 88K 352G 88K /usr/local/poudriere/data/.m hpelitebook8570p/poudriere/data/cache 12.6M 352G 12.6M /usr/local/poudriere/data/cache hpelitebook8570p/poudriere/data/logs 42.8M 352G 42.8M /usr/local/poudriere/data/logs hpelitebook8570p/poudriere/data/packages 676M 352G 676M /usr/local/poudriere/data/packages hpelitebook8570p/poudriere/data/wrkdirs 88K 352G 88K /usr/local/poudriere/data/wrkdirs hpelitebook8570p/poudriere/jails 949M 352G 88K /hpelitebook8570p/poudriere/jails hpelitebook8570p/poudriere/jails/current 948M 352G 948M /usr/local/poudriere/jails/current hpelitebook8570p/poudriere/ports 1.98G 352G 88K /hpelitebook8570p/poudriere/ports hpelitebook8570p/poudriere/ports/freebsd-ports-kde 1.98G 352G 1.98G /usr/local/poudriere/ports/freebsd-ports-kde hpelitebook8570p/tmp 15.9M 352G 15.9M /tmp hpelitebook8570p/usr 66.2G 352G 88K /usr hpelitebook8570p/usr/home 64.3G 352G 547M /usr/home hpelitebook8570p/usr/home/grahamperrin 63.7G 352G 58.2G /usr/home/grahamperrin hpelitebook8570p/usr/ports 1.34G 352G 1.34G /usr/ports hpelitebook8570p/usr/src 638M 352G 638M /usr/src hpelitebook8570p/var 1.25M 352G 88K /var hpelitebook8570p/var/VirtualBox 88K 352G 88K /var/VirtualBox hpelitebook8570p/var/audit 88K 352G 88K /var/audit hpelitebook8570p/var/crash 88K 352G 88K /var/crash hpelitebook8570p/var/log 684K 352G 684K /var/log hpelitebook8570p/var/mail 152K 352G 152K /var/mail hpelitebook8570p/var/tmp 88K 352G 88K /var/tmp #