]> git.proxmox.com Git - zfsonlinux.git/blame - zfs-patches/0044-Fix-zpool-8-list-example-to-match-actual-format.patch
bump version to 0.7.7-pve1~bpo9
[zfsonlinux.git] / zfs-patches / 0044-Fix-zpool-8-list-example-to-match-actual-format.patch
CommitLineData
75b07eca
FG
1From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2From: Tomohiro Kusumi <kusumi.tomohiro@gmail.com>
3Date: Thu, 1 Mar 2018 01:54:53 +0900
4Subject: [PATCH] Fix zpool(8) list example to match actual format
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9a05dfd00 (Illumos 5147) has swapped FRAG and EXPANDSZ,
10so it's natural to modify these examples.
11
12 # zpool list | head -1
13 NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
14 ^^^^^^^^^^^^^^^
15
16Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
17Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
18Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@osnexus.com>
19Closes #7244
20(cherry picked from commit bcaba38e428be8dc90564d15c7e13f154c535edd)
21Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
22---
23 man/man8/zpool.8 | 20 ++++++++++----------
24 1 file changed, 10 insertions(+), 10 deletions(-)
25
26diff --git a/man/man8/zpool.8 b/man/man8/zpool.8
27index 22579101a..7c99f5868 100644
28--- a/man/man8/zpool.8
29+++ b/man/man8/zpool.8
30@@ -2087,10 +2087,10 @@ is faulted due to a missing device.
31 The results from this command are similar to the following:
32 .Bd -literal
33 # zpool list
34-NAME SIZE ALLOC FREE FRAG EXPANDSZ CAP DEDUP HEALTH ALTROOT
35-rpool 19.9G 8.43G 11.4G 33% - 42% 1.00x ONLINE -
36-tank 61.5G 20.0G 41.5G 48% - 32% 1.00x ONLINE -
37-zion - - - - - - - FAULTED -
38+NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
39+rpool 19.9G 8.43G 11.4G - 33% 42% 1.00x ONLINE -
40+tank 61.5G 20.0G 41.5G - 48% 32% 1.00x ONLINE -
41+zion - - - - - - - FAULTED -
42 .Ed
43 .It Sy Example 7 No Destroying a ZFS Storage Pool
44 The following command destroys the pool
45@@ -2215,12 +2215,12 @@ In this example, the pool will not be able to utilize this extra capacity until
46 all the devices under the raidz vdev have been expanded.
47 .Bd -literal
48 # zpool list -v data
49-NAME SIZE ALLOC FREE FRAG EXPANDSZ CAP DEDUP HEALTH ALTROOT
50-data 23.9G 14.6G 9.30G 48% - 61% 1.00x ONLINE -
51- raidz1 23.9G 14.6G 9.30G 48% -
52- sda - - - - -
53- sdb - - - - 10G
54- sdc - - - - -
55+NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
56+data 23.9G 14.6G 9.30G - 48% 61% 1.00x ONLINE -
57+ raidz1 23.9G 14.6G 9.30G - 48%
58+ sda - - - - -
59+ sdb - - - 10G -
60+ sdc - - - - -
61 .Ed
62 .It Sy Example 16 No Adding output columns
63 Additional columns can be added to the
64--
652.14.2
66