Bug 176253 - zpool(8): zfs pool indentation is misleading/wrong
Summary: zpool(8): zfs pool indentation is misleading/wrong
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 9.1-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-18 19:00 UTC by Nathan Rich
Modified: 2018-01-03 05:13 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 Nathan Rich 2013-02-18 19:00:00 UTC
#  zpool list -v
NAME         SIZE  ALLOC   FREE    CAP  DEDUP  HEALTH  ALTROOT
data        7.94G  1011K  7.94G     0%  1.00x  ONLINE  -
  raidz2    7.94G  1011K  7.94G         -
    da0         -      -      -         -
    da1         -      -      -         -
    da2         -      -      -         -
    da3         -      -      -         -
  mirror     504M   132K   504M         -
    da6         -      -      -         -
    da7         -      -      -         -
cache           -      -      -      -      -      -
  da4       1020M   406K  1019M         -
  da5       1020M   672K  1019M         -


How it should look:
#  zpool list -v
NAME         SIZE  ALLOC   FREE    CAP  DEDUP  HEALTH  ALTROOT
data        7.94G  1011K  7.94G     0%  1.00x  ONLINE  -
  raidz2    7.94G  1011K  7.94G         -
    da0         -      -      -         -
    da1         -      -      -         -
    da2         -      -      -         -
    da3         -      -      -         -
  mirror     504M   132K   504M         -
    da6         -      -      -         -
    da7         -      -      -         -
  cache           -      -      -      -      -      -
    da4       1020M   406K  1019M         -
    da5       1020M   672K  1019M         -

Fix: 

Fix indentation. at first I thought I made the pool wrong, but it seems to be correct.
How-To-Repeat: create a pool with mirror,cache. zpool list -v
Comment 1 n4th4nr1ch 2013-02-18 19:03:28 UTC
Indentation doesn't show up in the PR, so here is clarification:
the cache section is presented as a top-level item, as if it were a
different zpool.
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2013-02-18 19:05:40 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-fs

over to appropriate list
Comment 3 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:01:05 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped