1LVS(8)                      System Manager's Manual                     LVS(8)
2
3
4

NAME

6       lvs - report information about logical volumes
7

SYNOPSIS

9       lvs  [--aligned]  [-d/--debug]  [-h/-?/--help] [--ignorelockingfailure]
10       [--noheadings] [--nosuffix] [-o/--options [+]Field[,Field]]  [-O/--sort
11       [+/-]Key1[,[+/-]Key2[,...]]]   [-P/--partial] [--segments] [--separator
12       Separator] [--unbuffered] [--units hsbkmgtHKMGT] [-v/--verbose] [--ver‐
13       sion] [VolumeGroupName [VolumeGroupName...]]
14

DESCRIPTION

16       lvs produces formatted output about logical volumes.
17

OPTIONS

19       See lvm for common options.
20
21       --aligned
22              Use with --separator to align the output columns.
23
24       --noheadings
25              Suppress  the  headings  line that is normally the first line of
26              output.  Useful if grepping the output.
27
28       --nosuffix
29              Suppress the suffix on output sizes.  Use with --units (except h
30              and H) if processing the output.
31
32       -o, --options
33              Comma-separated  ordered list of columns.  Precede the list with
34              '+' to append to the default selection  of  columns  instead  of
35              replacing  it.   Column  names  are:  lv_uuid, lv_name, lv_attr,
36              lv_major, lv_minor, lv_kernel_major,  lv_kernel_minor,  lv_size,
37              seg_count, origin, snap_percent, copy_percent, move_pv, lv_tags,
38              segtype, stripes, stripesize,  chunksize,  seg_start,  seg_size,
39              seg_tags, devices, regionsize, mirror_log, modules.
40
41              With --segments, any "seg_" prefixes are optional; otherwise any
42              "lv_" prefixes are optional.  Columns mentioned in vgs  (8)  can
43              also  be  chosen.   Use  -o help to view the full list of fields
44              available.
45
46              The lv_attr bits are:
47
48              1  Volume type: (m)irrored,  (M)irrored  without  initial  sync,
49                 (o)rigin, (p)vmove, (s)napshot, invalid (S)napshot, (v)irtual
50
51              2  Permissions: (w)riteable, (r)ead-only
52
53              3  Allocation   policy:   (c)ontiguous,   (n)ormal,  (a)nywhere,
54                 (i)nherited This is capitalised if the  volume  is  currently
55                 locked  against allocation changes, for example during pvmove
56                 (8).
57
58              4  fixed (m)inor
59
60              5  State: (a)ctive,  (s)uspended,  (I)nvalid  snapshot,  invalid
61                 (S)uspended snapshot, mapped (d)evice present without tables,
62                 mapped device present with (i)nactive table
63
64              6  device (o)pen
65
66       --segments
67              Use default columns that emphasize segment information.
68
69       -O, --sort
70              Comma-separated ordered list of columns to  sort  by.   Replaces
71              the  default  selection. Precede any column with - for a reverse
72              sort on that column.
73
74       --separator Separator
75              String to use to separate each column.  Useful if  grepping  the
76              output.
77
78       --unbuffered
79              Produce  output immediately without sorting or aligning the col‐
80              umns properly.
81
82       --units hsbkmgtHKMGT
83              All  sizes  are  output  in   these   units:   (h)uman-readable,
84              (s)ectors,   (b)ytes,   (k)ilobytes,  (m)egabytes,  (g)igabytes,
85              (t)erabytes.  Capitalise to use multiples of 1000 (S.I.) instead
86              of 1024.  Can also specify custom (u)nits e.g.  --units 3M
87

SEE ALSO

89       lvdisplay(8), pvs(8), vgs(8)
90
91
92
93Sistina Software UK                LVM TOOLS                            LVS(8)
Impressum