[Bug 254349] cannot set bootfs on pool after removing a vdev

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Mar 16 20:24:19 UTC 2021


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

            Bug ID: 254349
           Summary: cannot set bootfs on pool after removing a vdev
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: vangyzen at FreeBSD.org

Created attachment 223341
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=223341&action=edit
unit test

After I removed a vdev from my root pool, I can no longer set the bootfs
property.  This makes Boot Environments unusable.

I'm attaching a unit test script to demonstrate the problem.  My output is:

====================================================================================

# ./zfs_set_bootfs_after_vdev_removal.sh 
cannot set property for 'test_remove': operation not supported on this type of
pool
FAIL
NAME         PROPERTY  VALUE              SOURCE
test_remove  bootfs    test_remove/root0  local
  pool: test_remove
 state: ONLINE
remove: Removal of vdev 1 copied 276K in 0h0m, completed on Tue Mar 16 10:18:08
2021
        216 memory used for removed device mappings
config:

        NAME          STATE     READ WRITE CKSUM
        test_remove   ONLINE       0     0     0
          md0         ONLINE       0     0     0

errors: No known data errors

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


More information about the freebsd-bugs mailing list