Initial import of binutils 2.22 on the new vendor branch
[dragonfly.git] / contrib / lvm2 / dist / man / pvs.8.in
1 .TH PVS 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*-
2 .SH NAME
3 pvs \- report information about physical volumes
4 .SH SYNOPSIS
5 .B pvs
6 [\-a|\-\-all]
7 [\-\-aligned] [\-d|\-\-debug] [\-h|\-?|\-\-help]
8 [\-\-ignorelockingfailure] [\-\-nameprefixes] [\-\-noheadings] [\-\-nosuffix]
9 [\-o|\-\-options [+]Field[,Field]]
10 [\-O|\-\-sort [+|-]Key1[,[+|-]Key2[,...]]]
11 [\-P|\-\-partial]
12 [\-\-rows]
13 [\-\-segments]
14 [\-\-separator Separator]
15 [\-\-unbuffered]
16 [\-\-units hHbBsSkKmMgGtTpPeE]
17 [\-\-unquoted]
18 [\-v|\-\-verbose] 
19 [\-\-version] [PhysicalVolume [PhysicalVolume...]]
20 .SH DESCRIPTION
21 pvs produces formatted output about physical volumes.
22 .SH OPTIONS
23 See \fBlvm\fP for common options.
24 \fB\-\-columns\fP.
25 .TP
26 .I \-\-all
27 Include information in the output about devices that have not been
28 initialized with \fBpvcreate\fP.
29 .TP
30 .I \-\-aligned
31 Use with \-\-separator to align the output columns.
32 .TP
33 .I \-\-nameprefixes
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).
37 .TP
38 .I \-\-noheadings
39 Suppress the headings line that is normally the first line of output.
40 Useful if grepping the output.
41 .TP
42 .I \-\-nosuffix
43 Suppress the suffix on output sizes.  Use with \-\-units (except h and H)
44 if processing the output.
45 .TP
46 .I \-o, \-\-options
47 Comma-separated ordered list of columns.  Precede the list with '+' to append
48 to the default selection of columns.
49 .IP
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.
52 .IP
53 Use \fb-o help\fP to view the full list of columns available.
54 .IP
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.
58 .IP
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.
62 .TP
63 .I \-\-segments
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.
67 .TP
68 .I \-O, \-\-sort
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.
71 .TP
72 .I \-\-rows
73 Output columns as rows.
74 .TP
75 .I \-\-separator Separator
76 String to use to separate each column.  Useful if grepping the output.
77 .TP
78 .I \-\-unbuffered
79 Produce output immediately without sorting or aligning the columns properly.
80 .TP
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
86 .TP
87 .I \-\-unquoted
88 When used with --nameprefixes, output values in the field=value pairs are not quoted.
89 .SH SEE ALSO
90 .BR lvm (8),
91 .BR pvdisplay (8),
92 .BR lvs (8),
93 .BR vgs (8)