[Bug 204483] zpool dry-run layouts omit any cache devices specified

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Nov 12 00:03:29 UTC 2015


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

            Bug ID: 204483
           Summary: zpool dry-run layouts omit any cache devices specified
           Product: Base System
           Version: 10.2-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: dcamp at alumni.ufl.edu

Dry-run pool layout reports omit any cache devices specified, although the
cache specification is honoured when the create or add is actually run. For
example:

# zpool create -n tank ada1 cache ada0p5 log ada0p6
would create 'tank' with the following layout:

        tank
          ada1
        logs
          ada0p6
# zpool create tank ada1 cache ada0p5 log ada0p6
# zpool status tank
  pool: tank
...
        NAME      ...
        tank
          ada1
        logs
          ada0p6
        cache
          ada0p5

I would expect the dry-run to reflect the actual results. It was
counterintuitive and kind of scary that it didn't.

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


More information about the freebsd-bugs mailing list