1 .TH PVS 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*-
3 pvs \- report information about physical volumes
7 [\-\-aligned] [\-d|\-\-debug] [\-h|\-?|\-\-help]
8 [\-\-ignorelockingfailure] [\-\-nameprefixes] [\-\-noheadings] [\-\-nosuffix]
9 [\-o|\-\-options [+]Field[,Field]]
10 [\-O|\-\-sort [+|-]Key1[,[+|-]Key2[,...]]]
14 [\-\-separator Separator]
16 [\-\-units hHbBsSkKmMgGtTpPeE]
19 [\-\-version] [PhysicalVolume [PhysicalVolume...]]
21 pvs produces formatted output about physical volumes.
23 See \fBlvm\fP for common options.
27 Include information in the output about devices that have not been
28 initialized with \fBpvcreate\fP.
31 Use with \-\-separator to align the output columns.
34 Add an "LVM2_" prefix plus the field name to the output. Useful
35 with --noheadings to produce a list of field=value pairs that can
36 be used to set environment variables (for example, in \fBudev (7)\fP rules).
39 Suppress the headings line that is normally the first line of output.
40 Useful if grepping the output.
43 Suppress the suffix on output sizes. Use with \-\-units (except h and H)
44 if processing the output.
47 Comma-separated ordered list of columns. Precede the list with '+' to append
48 to the default selection of columns.
50 Use \fb-o pv_all\fP to select all physical volume columns, and \fb-o pvseg_all\fP
51 to select all Physical Volume segment columns.
53 Use \fb-o help\fP to view the full list of columns available.
55 Column names include: pv_fmt, pv_uuid, dev_size, pv_name, pv_mda_free,
56 pv_mda_size, pe_start, pv_size, pv_free, pv_used, pv_attr, pv_pe_count,
57 pv_pe_alloc_count, pv_tags, pv_mda_count, pvseg_start, and pvseg_size.
59 With --segments, any "pvseg_" prefixes are optional; otherwise any
60 "pv_" prefixes are optional. Columns mentioned in \fBvgs (8)\fP can also
61 be chosen. The pv_attr bits are: (a)llocatable and e(x)ported.
64 Produces one line of output for each contiguous allocation of space on each
65 Physical Volume, showing the start (pvseg_start) and length (pvseg_size) in
66 units of physical extents.
69 Comma-separated ordered list of columns to sort by. Replaces the default
70 selection. Precede any column with - for a reverse sort on that column.
73 Output columns as rows.
75 .I \-\-separator Separator
76 String to use to separate each column. Useful if grepping the output.
79 Produce output immediately without sorting or aligning the columns properly.
81 .I \-\-units hHbBsSkKmMgGtTpPeE
82 All sizes are output in these units: (h)uman-readable, (b)ytes, (s)ectors,
83 (k)ilobytes, (m)egabytes, (g)igabytes, (t)erabytes, (p)etabytes, (e)xabytes.
84 Capitalise to use multiples of 1000 (S.I.) instead of 1024. Can also specify
85 custom units e.g. \-\-units 3M
88 When used with --nameprefixes, output values in the field=value pairs are not quoted.