Bug 204483 - zpool dry-run layouts omit any cache devices specified
Summary: zpool dry-run layouts omit any cache devices specified
Status: Closed Overcome By Events
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 10.2-RELEASE
Hardware: amd64 Any
: --- Affects Some People
Assignee: Bugmeister
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-12 00:03 UTC by Christian Campbell
Modified: 2025-02-10 23:55 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Campbell 2015-11-12 00:03:29 UTC
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.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2025-02-10 23:55:10 UTC
^Triage: I'm sorry that this PR did not get addressed in a timely fashion.

By now, the version that it was created against is long out of support.
Please re-open if it is still a problem on a supported version.