3 .TH LVS 8 "LVM TOOLS 2.02.44-cvs (02-17-09)" "Sistina Software UK" \" -*- nroff -*-
5 lvs \- report information about logical volumes
8 [\-\-aligned] [\-d|\-\-debug] [\-h|\-?|\-\-help]
9 [\-\-ignorelockingfailure] [\-\-nameprefixes] [\-\-noheadings] [\-\-nosuffix]
10 [\-o|\-\-options [+]Field[,Field]]
11 [\-O|\-\-sort [+|-]Key1[,[+|-]Key2[,...]]]
12 [\-P|\-\-partial] [\-\-rows] [\-\-segments]
13 [\-\-separator Separator] [\-\-unbuffered]
14 [\-\-units hsbkmgtHKMGT]
17 [\-\-version] [VolumeGroupName [VolumeGroupName...]]
19 lvs produces formatted output about logical 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 instead of replacing it. Column names are:
42 lv_uuid, lv_name, lv_attr, lv_major, lv_minor, lv_kernel_major, lv_kernel_minor,
43 lv_size, seg_count, origin, snap_percent,
44 copy_percent, move_pv, lv_tags,
46 stripesize, chunksize, seg_start, seg_size, seg_tags, devices,
47 regionsize, mirror_log, modules.
49 With \-\-segments, any "seg_" prefixes are optional; otherwise any "lv_"
50 prefixes are optional. Columns mentioned in \fBvgs (8)\fP
52 Use \fb-o help\fP to view the full list of fields available.
57 Volume type: (m)irrored, (M)irrored without initial sync, (o)rigin, (p)vmove, (s)napshot,
58 invalid (S)napshot, (v)irtual, mirror (i)mage, mirror (I)mage out-of-sync,
61 Permissions: (w)riteable, (r)ead-only
63 Allocation policy: (c)ontiguous, c(l)ing, (n)ormal, (a)nywhere, (i)nherited
64 This is capitalised if the volume is currently locked against allocation
65 changes, for example during \fBpvmove\fP (8).
69 State: (a)ctive, (s)uspended, (I)nvalid snapshot, invalid (S)uspended snapshot,
70 mapped (d)evice present without tables, mapped device present with (i)nactive table
76 Use default columns that emphasize segment information.
79 Comma-separated ordered list of columns to sort by. Replaces the default
80 selection. Precede any column with - for a reverse sort on that column.
83 Output columns as rows.
85 .I \-\-separator Separator
86 String to use to separate each column. Useful if grepping the output.
89 Produce output immediately without sorting or aligning the columns properly.
91 .I \-\-units hsbkmgtHKMGT
92 All sizes are output in these units: (h)uman-readable, (s)ectors, (b)ytes,
93 (k)ilobytes, (m)egabytes, (g)igabytes, (t)erabytes. Capitalise to use multiples
94 of 1000 (S.I.) instead of 1024. Can also specify custom (u)nits e.g.
98 When used with --nameprefixes, output values in the field=value pairs are not quoted.