3 .TH PVS 8 "LVM TOOLS 2.02.44-cvs (02-17-09)" "Sistina Software UK" \" -*- nroff -*-
5 pvs \- report information about physical volumes
8 [\-\-aligned] [\-d|\-\-debug] [\-h|\-?|\-\-help]
9 [\-\-ignorelockingfailure] [\-\-nameprefixes] [\-\-noheadings] [\-\-nosuffix]
10 [\-o|\-\-options [+]Field[,Field]]
11 [\-O|\-\-sort [+|-]Key1[,[+|-]Key2[,...]]]
12 [\-\-rows] [\-\-segments]
13 [\-\-separator Separator] [\-\-unbuffered]
14 [\-\-units hsbkmgtHKMGT]
17 [\-\-version] [PhysicalVolume [PhysicalVolume...]]
19 pvs produces formatted output about physical volumes.
21 See \fBlvm\fP for common options.
24 Use with \-\-separator to align the output columns.
27 Add an "LVM2_" prefix plus the field name to the output. Useful
28 with --noheadings to produce a list of field=value pairs that can
29 be used to set environment variables (for example, in \fBudev (7)\fP rules).
32 Suppress the headings line that is normally the first line of output.
33 Useful if grepping the output.
36 Suppress the suffix on output sizes. Use with \-\-units (except h and H)
37 if processing the output.
40 Comma-separated ordered list of columns. Precede the list with '+' to append
41 to the default selection of columns. Column names are: pv_fmt, pv_uuid,
42 pv_size, dev_size, pv_free, pv_used, pv_name, pv_attr, pv_pe_count,
43 pv_pe_alloc_count, pv_tags, pvseg_start, pvseg_size, pe_start,
44 pv_mda_count, pv_mda_free, and pv_mda_size.
45 With --segments, any "pvseg_" prefixes are optional; otherwise any
46 "pv_" prefixes are optional. Columns mentioned in \fBvgs (8)\fP can also
47 be chosen. The pv_attr bits are: (a)llocatable and e(x)ported.
48 Use \fb-o help\fP to view the full list of fields available.
51 Produces one line of output for each contiguous allocation of space on each
52 Physical Volume, showing the start (pvseg_start) and length (pvseg_size) in
53 units of physical extents.
56 Comma-separated ordered list of columns to sort by. Replaces the default
57 selection. Precede any column with - for a reverse sort on that column.
60 Output columns as rows.
62 .I \-\-separator Separator
63 String to use to separate each column. Useful if grepping the output.
66 Produce output immediately without sorting or aligning the columns properly.
68 .I \-\-units hsbkmgtHKMGT
69 All sizes are output in these units: (h)uman-readable, (s)ectors, (b)ytes,
70 (k)ilobytes, (m)egabytes, (g)igabytes, (t)erabytes. Capitalise to use multiples
71 of 1000 (S.I.) instead of 1024. Can also specify custom (u)nits e.g.
75 When used with --nameprefixes, output values in the field=value pairs are not quoted.