1PVS(8)                      System Manager's Manual                     PVS(8)
2
3
4

NAME

6       pvs - report information about physical volumes
7

SYNOPSIS

9       pvs  [-a|--all]  [--aligned] [-d|--debug] [-h|-?|--help] [--ignorelock‐
10       ingfailure] [--nameprefixes] [--noheadings] [--nosuffix]  [-o|--options
11       [+]Field[,Field]]  [-O|--sort  [+|-]Key1[,[+|-]Key2[,...]]]  [-P|--par‐
12       tial]  [--rows]  [--segments]  [--separator  Separator]  [--unbuffered]
13       [--units  hHbBsSkKmMgGtTpPeE]  [--unquoted]  [-v|--verbose] [--version]
14       [PhysicalVolume [PhysicalVolume...]]
15

DESCRIPTION

17       pvs produces formatted output about physical volumes.
18

OPTIONS

20       See lvm for common options.  --columns.
21
22       --all  Include information in the output about devices  that  have  not
23              been initialized with pvcreate.
24
25       --aligned
26              Use with --separator to align the output columns.
27
28       --nameprefixes
29              Add an "LVM2_" prefix plus the field name to the output.  Useful
30              with --noheadings to produce a list of  field=value  pairs  that
31              can  be  used to set environment variables (for example, in udev
32              (7) rules).
33
34       --noheadings
35              Suppress the headings line that is normally the  first  line  of
36              output.  Useful if grepping the output.
37
38       --nosuffix
39              Suppress the suffix on output sizes.  Use with --units (except h
40              and H) if processing the output.
41
42       -o, --options
43              Comma-separated ordered list of columns.  Precede the list  with
44              '+' to append to the default selection of columns.
45
46              Use  -o  pv_all  to  select  all physical volume columns, and -o
47              pvseg_all to select all Physical Volume segment columns.
48
49              Use -o help to view the full list of columns available.
50
51              Column  names  include:  pv_fmt,  pv_uuid,  dev_size,   pv_name,
52              pv_mda_free,  pv_mda_size,  pe_start, pv_size, pv_free, pv_used,
53              pv_attr, pv_pe_count, pv_pe_alloc_count, pv_tags,  pv_mda_count,
54              pv_mda_used_count, pvseg_start, and pvseg_size.
55
56              With  --segments,  any "pvseg_" prefixes are optional; otherwise
57              any "pv_" prefixes are optional.  Columns mentioned in  vgs  (8)
58              can  also  be  chosen.  The  pv_attr bits are: (a)llocatable and
59              e(x)ported.
60
61       --segments
62              Produces one line of output for each  contiguous  allocation  of
63              space  on  each Physical Volume, showing the start (pvseg_start)
64              and length (pvseg_size) in units of physical extents.
65
66       -O, --sort
67              Comma-separated ordered list of columns to  sort  by.   Replaces
68              the  default  selection. Precede any column with - for a reverse
69              sort on that column.
70
71       --rows Output columns as rows.
72
73       --separator Separator
74              String to use to separate each column.  Useful if  grepping  the
75              output.
76
77       --unbuffered
78              Produce  output immediately without sorting or aligning the col‐
79              umns properly.
80
81       --units hHbBsSkKmMgGtTpPeE
82              All sizes are output in these units: (h)uman-readable,  (b)ytes,
83              (s)ectors,  (k)ilobytes,  (m)egabytes, (g)igabytes, (t)erabytes,
84              (p)etabytes, (e)xabytes.  Capitalise to use  multiples  of  1000
85              (S.I.)  instead  of  1024.   Can  also specify custom units e.g.
86              --units 3M
87
88       --unquoted
89              When used with --nameprefixes, output values in the  field=value
90              pairs are not quoted.
91

SEE ALSO

93       lvm(8), pvdisplay(8), lvs(8), vgs(8)
94
95
96
97Sistina Software UK    LVM TOOLS 2.02.84(2) (2011-02-09)                PVS(8)
Impressum