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

NAME

6       lvdisplay - display attributes of a logical volume
7

SYNOPSIS

9       lvdisplay    [-a|--all]    [-c|--colon]   [-d|--debug]   [-h|-?|--help]
10       [--ignorelockingfailure] [--maps] [--nosuffix] [-P|--partial]  [--units
11       hHbBsSkKmMgGtTpPeE] [-v|--verbose] [--version] [LogicalVolumePath [Log‐
12       icalVolumePath...]]
13
14       lvdisplay  --columns   |   -C   [--aligned]   [-a|--all]   [-d|--debug]
15       [-h|-?|--help]   [--ignorelockingfailure]  [--noheadings]  [--nosuffix]
16       [-o|--options [+]Field[,Field]] [-O|--sort [+|-]Key1[,[+|-]Key2[,...]]]
17       [-P|--partial]   [--segments]  [--separator  Separator]  [--unbuffered]
18       [--units hHbBsSkKmMgGtTpPeE]  [-v|--verbose]  [--version]  [LogicalVol‐
19       umePath [LogicalVolumePath...]]
20

DESCRIPTION

22       lvdisplay  allows  you  to  see the attributes of a logical volume like
23       size, read/write status, snapshot information etc.
24
25       lvs (8) is an alternative that provides the  same  information  in  the
26       style of ps (1).  lvs is recommended over lvdisplay.
27
28

OPTIONS

30       See lvm for common options and lvs for options given with --columns.
31
32       --all  Include information in the output about internal Logical Volumes
33              that are components of normally-accessible Logical Volumes, such
34              as mirrors, but which are not independently accessible (e.g. not
35              mountable).  For example, after creating a mirror using  'lvcre‐
36              ate  -m1 --mirrorlog disk', this option will reveal three inter‐
37              nal Logical Volumes, with suffixes mimage_0, mimage_1, and mlog.
38
39       -c, --colon
40              Generate colon separated output for easier parsing in scripts or
41              programs.   N.B. lvs (8) provides considerably more control over
42              the output.
43
44              The values are:
45
46              * logical volume name
47              * volume group name
48              * logical volume access
49              * logical volume status
50              * internal logical volume number
51              * open count of logical volume
52              * logical volume size in sectors
53              * current logical extents associated to logical volume
54              * allocated logical extents of logical volume
55              * allocation policy of logical volume
56              * read ahead sectors of logical volume
57              * major device number of logical volume
58              * minor device number of logical volume
59
60
61       -m, --maps
62              Display the mapping of logical extents to physical  volumes  and
63              physical  extents.   To  map physical extents to logical extents
64              use  pvs --segments -o+lv_name,seg_start_pe,segtype.
65
66       --columns | -C
67              Display output in  columns,  the  equivalent  of  lvs.   Options
68              listed are the same as options given in lvs (8).
69

Examples

71       "lvdisplay -v /dev/vg00/lvol2" shows attributes of that logical volume.
72       If snapshot logical volumes have been created for this original logical
73       volume,  this  command shows a list of all snapshot logical volumes and
74       their status (active or inactive) as well.
75
76       "lvdisplay /dev/vg00/snapshot" shows the attributes  of  this  snapshot
77       logical  volume and also which original logical volume it is associated
78       with.
79
80

SEE ALSO

82       lvm(8), lvcreate(8), lvscan(8), pvs(8)
83
84
85
86Sistina Software UK    LVM TOOLS 2.02.84(2) (2011-02-09)          LVDISPLAY(8)
Impressum