[Bug 227008] [ZFS] zfs add -n misses l2arc changes

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Mar 27 18:19:39 UTC 2018


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

            Bug ID: 227008
           Summary: [ZFS] zfs add -n misses l2arc changes
           Product: Base System
           Version: 11.1-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: marck at FreeBSD.org

to reproduce:

root# mkdir -p /var/tmp/ztest
root# cd !$
cd /var/tmp/ztest
root# truncate -s 10g zfsbase
root# mdconfig -f zfsbase
md1
root# truncate -s 1g zl2arc
root# mdconfig -f zl2arc
md2
root# zpool create ztest /dev/md1
root# zpool status ztest
  pool: ztest
 state: ONLINE
  scan: none requested
config:

        NAME        STATE     READ WRITE CKSUM
        ztest       ONLINE       0     0     0
          md1       ONLINE       0     0     0

errors: No known data errors
root# zpool add -n ztest cache /dev/md2
would update 'ztest' to the following configuration:
        ztest
          md1
root# zpool destroy ztest
root# mdconfig -u 2 -d
root# mdconfig -u 1 -d
root# rm zfsbase zl2arc

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


More information about the freebsd-bugs mailing list