Project

General

Profile

Actions

Bug #13924

open

zpool list -v and -o don't get along

Added by Yuri Pankov 11 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
zfs - Zettabyte File System
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Ideally the fields displayed for individual vdevs should follow -o specification instead of being hardcoded:

Good:

$ zpool list -o name,size,free,health
NAME    SIZE   FREE  HEALTH
data    398G   394G  ONLINE
rpool  99.5G  93.0G  ONLINE

Bad:

$ zpool list -o name,size,free,health -v
NAME        SIZE   FREE  HEALTH
data       398G   394G  ONLINE
  c2t2d0   398G  3.90G   394G        -         -     0%  0.97%
rpool     99.5G  93.0G  ONLINE
  c2t1d0  99.5G  6.53G  93.0G        -         -     0%  6.56%

No data to display

Actions

Also available in: Atom PDF