[Bug 239702] sysutils/openzfs bectl activate … cannot promote … not a cloned filesystem … did not successfully activate boot environment

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Aug 7 18:48:28 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239702

            Bug ID: 239702
           Summary: sysutils/openzfs bectl activate … cannot promote … not
                    a cloned filesystem … did not successfully activate
                    boot environment
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: kmoore at FreeBSD.org
          Reporter: grahamperrin at gmail.com
          Assignee: kmoore at FreeBSD.org
             Flags: maintainer-feedback?(kmoore at FreeBSD.org)

With ZoF: 

----

…
Updating '/usr/src':
At revision 350684.
root at momh167-gjp4-8570p:~ # bectl create r350684
root at momh167-gjp4-8570p:~ # bectl activate r350684
cannot promote 'copperbowl/ROOT/r350684': not a cloned filesystem
did not successfully activate boot environment r350684
root at momh167-gjp4-8570p:~ # date ; uname -v 
Wed Aug  7 19:01:53 BST 2019
FreeBSD 13.0-CURRENT r350368 GENERIC 
root at momh167-gjp4-8570p:~ # bectl list -as
BE/Dataset/Snapshot                               Active Mountpoint Space
Created

r350368
  copperbowl/ROOT/r350368                         N      /          60.7G
2019-07-27 09:56
  r350368 at 2019-06-16-08:24:26-0                   -      -          4.11G
2019-06-16 08:24
  r350368 at 2019-07-05-11:42:18-0                   -      -          8.55G
2019-07-05 11:42
  r350368 at 2019-07-13-23:44:48-0                   -      -          7.61G
2019-07-13 23:44
  r350368 at 2019-07-16-13:57:25-0                   -      -          5.43G
2019-07-16 13:57
  r350368 at 2019-07-27-09:56:16-0                   -      -          7.91G
2019-07-27 09:56
  r350368 at 2019-08-07-19:01:01-0                   -      -          0    
2019-08-07 19:01

r350684
  copperbowl/ROOT/r350684                         R      -          8K   
2019-08-07 19:01

r349033
  copperbowl/ROOT/r349033                         -      -          29.9G
2019-06-14 16:04
  r349033 at 2019-06-14-16:04:33-0                   -      -          4.84G
2019-06-14 16:04

r350027
  copperbowl/ROOT/r350027                         -      -          2.45M
2019-07-16 13:57

r343663
  copperbowl/ROOT/r343663                         -      -          25.2G
2019-02-01 18:04
  r343663 at 2019-02-01-18:04:56                     -      -          5.16G
2019-02-01 18:04
root at momh167-gjp4-8570p:~ # bectl list | sort
BE      Active Mountpoint Space Created
r343663 -      -          25.2G 2019-02-01 18:04
r349033 -      -          29.9G 2019-06-14 16:04
r350027 -      -          2.45M 2019-07-16 13:57
r350368 N      /          60.7G 2019-07-27 09:56
r350684 R      -          8K    2019-08-07 19:01
root at momh167-gjp4-8570p:~ # bectl activate r350368
cannot promote 'copperbowl/ROOT/r350368': not a cloned filesystem
did not successfully activate boot environment r350368
root at momh167-gjp4-8570p:~ # bectl list | sort
BE      Active Mountpoint Space Created
r343663 -      -          25.2G 2019-02-01 18:04
r349033 -      -          29.9G 2019-06-14 16:04
r350027 -      -          2.45M 2019-07-16 13:57
r350368 NR     /          60.7G 2019-07-27 09:56
r350684 -      -          8K    2019-08-07 19:01
root at momh167-gjp4-8570p:~ # zpool get bootfs copperbowl
NAME        PROPERTY  VALUE                    SOURCE
copperbowl  bootfs    copperbowl/ROOT/r350368  local
root at momh167-gjp4-8570p:~ # bectl activate r350684
cannot promote 'copperbowl/ROOT/r350684': not a cloned filesystem
did not successfully activate boot environment r350684
root at momh167-gjp4-8570p:~ # zpool get bootfs copperbowl
NAME        PROPERTY  VALUE                    SOURCE
copperbowl  bootfs    copperbowl/ROOT/r350684  local
root at momh167-gjp4-8570p:~ # bectl activate r350368
cannot promote 'copperbowl/ROOT/r350368': not a cloned filesystem
did not successfully activate boot environment r350368
root at momh167-gjp4-8570p:~ # pkg query '%o %v %R' openzfs openzfs-kmod
sysutils/openzfs 2019072200 poudriere
sysutils/openzfs-kmod 2019072200_1 poudriere
root at momh167-gjp4-8570p:~ # grep zfs /boot/loader.conf
# zfs_load="YES"
openzfs_load="YES"
root at momh167-gjp4-8570p:~ # grep zfs /etc/rc.conf
zfs_enable="YES"
root at momh167-gjp4-8570p:~ # kldstat | grep zfs
 7    1 0xffffffff82837000   554028 openzfs.ko
root at momh167-gjp4-8570p:~ # nano /boot/loader.conf

…

root at momh167-gjp4-8570p:~ # grep zfs /boot/loader.conf
zfs_load="YES"
# openzfs_load="YES"
root at momh167-gjp4-8570p:~ # shutdown -r +2
Shutdown at Wed Aug  7 19:12:31 2019.
shutdown: [pid 19292]
root at momh167-gjp4-8570p:~ #                                                     
*** System shutdown message from root at momh167-gjp4-8570p ***                 

System going down in 2 minutes

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list