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]  [--binary] [--commandprofile ProfileName]
10       [-d|--debug] [-h|-?|--help] [--ignorelockingfailure]  [--ignoreskipped‐
11       cluster]  [--nameprefixes]  [--noheadings]  [--nosuffix]  [-o|--options
12       [+|-|#]Field[,Field...]]      [-O|--sort      [+|-]Key1[,[+|-]Key2...]]
13       [-P|--partial] [--rows] [--segments] [-S|--select Selection] [--separa‐
14       tor Separator] [--unbuffered] [--units hHbBsSkKmMgGtTpPeE] [--unquoted]
15       [-v|--verbose] [--version] [PhysicalVolume [PhysicalVolume...]]
16

DESCRIPTION

18       pvs produces formatted output about physical volumes.
19

OPTIONS

21       See lvm(8) for common options.
22
23       --all  Include  information  in  the output about devices that have not
24              been initialized with pvcreate(8).
25
26       --aligned
27              Use with --separator to align the output columns.
28
29       --binary
30              Use binary values "0" or "1" instead of descriptive literal val‐
31              ues  for  columns  that  have exactly two valid values to report
32              (not counting the "unknown" value which denotes that  the  value
33              could not be determined).
34
35       --nameprefixes
36              Add an "LVM2_" prefix plus the field name to the output.  Useful
37              with --noheadings to produce a list of  field=value  pairs  that
38              can  be  used  to  set  environment  variables  (for example, in
39              udev(7) rules).
40
41       --noheadings
42              Suppress the headings line that is normally the  first  line  of
43              output.  Useful if grepping the output.
44
45       --nosuffix
46              Suppress the suffix on output sizes.  Use with --units (except h
47              and H) if processing the output.
48
49       -o, --options
50              Comma-separated ordered list of columns.
51
52              Precede the list with '+' to append to the current list of  col‐
53              umns,  '-'  to remove from the current list of columns or '#' to
54              compact given columns. The -o option can be repeated,  providing
55              several lists. These lists are evaluated from left to right.
56
57              Use  -o  pv_all  to  select  all physical volume columns, and -o
58              pvseg_all to select all Physical Volume segment columns.
59
60              Use -o help to view the full list of columns available.
61
62              Column  names  include:  pv_fmt,  pv_uuid,  dev_size,   pv_name,
63              pv_mda_free,  pv_mda_size,  pv_ba_start,  pv_ba_size,  pe_start,
64              pv_size,     pv_free,     pv_used,     pv_attr,     pv_pe_count,
65              pv_pe_alloc_count,   pv_tags,  pv_mda_count,  pv_mda_used_count,
66              pvseg_start, and pvseg_size
67
68              With --segments, any "pvseg_" prefixes are  optional;  otherwise
69              any  "pv_"  prefixes  are optional.  Columns mentioned in vgs(8)
70              can  also  be  chosen.  The  pv_attr  bits  are:  (a)llocatable,
71              e(x)ported, (m)issing and (u)sed.
72
73       --segments
74              Produces  one  line  of output for each contiguous allocation of
75              space on each Physical Volume, showing the  start  (pvseg_start)
76              and length (pvseg_size) in units of physical extents.
77
78       -S, --select Selection
79              Display  only  rows  that match Selection criteria. All rows are
80              displayed with the additional "selected"  column  (-o  selected)
81              showing  1 if the row matches the Selection and 0 otherwise. The
82              Selection criteria are defined by specifying  column  names  and
83              their valid values (that can include reserved values) while mak‐
84              ing use of supported comparison operators. See  lvm(8)  and  -S,
85              --select  description  for  more detailed information about con‐
86              structing the Selection criteria. As a quick  help  and  to  see
87              full  list of column names that can be used in Selection includ‐
88              ing the list of reserved values and the set of supported  selec‐
89              tion operators, check the output of pvs -S help command.
90
91       -O, --sort
92              Comma-separated  ordered  list  of columns to sort by.  Replaces
93              the default selection. Precede any column with '-' for a reverse
94              sort on that column.
95
96       --rows Output columns as rows.
97
98       --separator Separator
99              String  to  use to separate each column.  Useful if grepping the
100              output.
101
102       --unbuffered
103              Produce output immediately without sorting or aligning the  col‐
104              umns properly.
105
106       --units hHbBsSkKmMgGtTpPeE
107              All  sizes are output in these units: (h)uman-readable, (b)ytes,
108              (s)ectors, (k)ilobytes, (m)egabytes,  (g)igabytes,  (t)erabytes,
109              (p)etabytes,  (e)xabytes.   Capitalise  to use multiples of 1000
110              (S.I.) instead of 1024.  Can  also  specify  custom  units  e.g.
111              --units 3M
112
113       --unquoted
114              When  used with --nameprefixes, output values in the field=value
115              pairs are not quoted.
116

SEE ALSO

118       lvm(8), pvdisplay(8), lvs(8), vgs(8)
119
120
121
122Sistina Software UKLVM TOOLS 2.02.143(2)-RHEL6 (2016-12-13)             PVS(8)
Impressum