The verbose output from iostat uses the last pool to set the max column width for cb_namewidth thus if prior pools use larger device names then the output is not aligned. The patch passes the cb_namewidth so that max_width returns the max name width of all pools. capacity operations bandwidth pool used avail read write read write --------------- ----- ----- ----- ----- ----- ----- . . . gpt/hydra6 - - 0 5 2.88K 329K gpt/hydra7 - - 0 5 2.77K 329K mirror 628K 1.98G 0 20 0 2.51M gpt/hydra_zil0 - - 0 20 34 2.51M gpt/hydra_zil1 - - 0 20 34 2.51M cache - - - - - - gpt/hydra_cache0 8.06G 19.8G 0 2 3.37K 259K gpt/hydra_cache1 8.12G 19.7G 0 2 6.21K 261K --------------- ----- ----- ----- ----- ----- ----- system 5.86G 26.1G 1 14 11.0K 208K mirror 5.86G 26.1G 1 14 11.0K 208K gpt/system0 - - 0 9 8.26K 208K gpt/system1 - - 0 9 8.02K 208K --------------- ----- ----- ----- ----- ----- ----- How-To-Repeat: 1. Create two ZFS pools with the first pool having larger device names. 2. zpool iostat -v
Responsible Changed From-To: freebsd-bugs->freebsd-fs Over to maintainer(s).
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
Keyword: patch or patch-ready – in lieu of summary line prefix: [patch] * bulk change for the keyword * summary lines may be edited manually (not in bulk). Keyword descriptions and search interface: <https://bugs.freebsd.org/bugzilla/describekeywords.cgi>