Fix zpool(8) list example to match actual format

a05dfd00 (Illumos 5147) has swapped FRAG and EXPANDSZ,
so it's natural to modify these examples.

 # zpool list | head -1
 NAME     SIZE  ALLOC   FREE  EXPANDSZ   FRAG    CAP  DEDUP  HEALTH  ALTROOT
                              ^^^^^^^^^^^^^^^

Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@osnexus.com>
Closes #7244
This commit is contained in:
Tomohiro Kusumi 2018-03-01 01:54:53 +09:00 committed by Tony Hutter
parent 5e3085e360
commit bcaba38e42

View File

@ -2087,10 +2087,10 @@ is faulted due to a missing device.
The results from this command are similar to the following: The results from this command are similar to the following:
.Bd -literal .Bd -literal
# zpool list # zpool list
NAME SIZE ALLOC FREE FRAG EXPANDSZ CAP DEDUP HEALTH ALTROOT NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
rpool 19.9G 8.43G 11.4G 33% - 42% 1.00x ONLINE - rpool 19.9G 8.43G 11.4G - 33% 42% 1.00x ONLINE -
tank 61.5G 20.0G 41.5G 48% - 32% 1.00x ONLINE - tank 61.5G 20.0G 41.5G - 48% 32% 1.00x ONLINE -
zion - - - - - - - FAULTED - zion - - - - - - - FAULTED -
.Ed .Ed
.It Sy Example 7 No Destroying a ZFS Storage Pool .It Sy Example 7 No Destroying a ZFS Storage Pool
The following command destroys the pool The following command destroys the pool
@ -2215,12 +2215,12 @@ In this example, the pool will not be able to utilize this extra capacity until
all the devices under the raidz vdev have been expanded. all the devices under the raidz vdev have been expanded.
.Bd -literal .Bd -literal
# zpool list -v data # zpool list -v data
NAME SIZE ALLOC FREE FRAG EXPANDSZ CAP DEDUP HEALTH ALTROOT NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
data 23.9G 14.6G 9.30G 48% - 61% 1.00x ONLINE - data 23.9G 14.6G 9.30G - 48% 61% 1.00x ONLINE -
raidz1 23.9G 14.6G 9.30G 48% - raidz1 23.9G 14.6G 9.30G - 48%
sda - - - - - sda - - - - -
sdb - - - - 10G sdb - - - 10G -
sdc - - - - - sdc - - - - -
.Ed .Ed
.It Sy Example 16 No Adding output columns .It Sy Example 16 No Adding output columns
Additional columns can be added to the Additional columns can be added to the