Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Mar 2021 20:24:19 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 254349] cannot set bootfs on pool after removing a vdev
Message-ID:  <bug-254349-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254349

            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@FreeBSD.org
          Reporter: vangyzen@FreeBSD.org

Created attachment 223341
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D223341&action=
=3Dedit
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:

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D

# ./zfs_set_bootfs_after_vdev_removal.sh=20
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:1=
8: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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-254349-227>