1LVDISPLAY(8) System Manager's Manual LVDISPLAY(8)
2
3
4
6 lvdisplay — display attributes of a logical volume
7
9 lvdisplay [-a|--all] [-c|--colon] [--commandprofile ProfileName]
10 [-d|--debug] [-h|-?|--help] [--ignorelockingfailure] [--ignoreskipped‐
11 cluster] [--maps] [--nosuffix] [-P|--partial] [-S|--select Selection]
12 [--units hHbBsSkKmMgGtTpPeE] [-v|--verbose] [--version] [VolumeGroup‐
13 Name|LogicalVolume{Name|Path} ...]
14
15 lvdisplay -C|--columns [--aligned] [--binary] [-a|--all] [--commandpro‐
16 file ProfileName] [-d|--debug] [-h|-?|--help] [--ignorelockingfailure]
17 [--ignoreskippedcluster] [--noheadings] [--nosuffix] [-o|--options
18 [+|-|#]Field[,Field...]] [-O|--sort [+|-]Key1[,[+|-]Key2...]]
19 [-P|--partial] [--segments] [-S|--select Selection] [--separator Sepa‐
20 rator] [--unbuffered] [--units hHbBsSkKmMgGtTpPeE] [-v|--verbose]
21 [--version] [VolumeGroupName|LogicalVolume{Name|Path} ...]
22
24 lvdisplay allows you to see the attributes of a logical volume like
25 size, read/write status, snapshot information etc.
26
27 lvs(8) is an alternative that provides the same information in the
28 style of ps(1). lvs(8) is recommended over lvdisplay.
29
30
32 See lvm(8) for common options and lvs for options given with --columns.
33
34 --all Include information in the output about internal Logical Volumes
35 that are components of normally-accessible Logical Volumes, such
36 as mirrors, but which are not independently accessible (e.g. not
37 mountable). For example, after creating a mirror using lvcreate
38 -m1 --mirrorlog disk, this option will reveal three internal
39 Logical Volumes, with suffixes mimage_0, mimage_1, and mlog.
40
41 -C, --columns
42 Display output in columns, the equivalent of lvs(8). Options
43 listed are the same as options given in lvs(8).
44
45 -c, --colon
46 Generate colon separated output for easier parsing in scripts or
47 programs. N.B. lvs(8) provides considerably more control over
48 the output.
49
50 The values are:
51
52 · logical volume name
53 · volume group name
54 · logical volume access
55 · logical volume status
56 · internal logical volume number
57 · open count of logical volume
58 · logical volume size in sectors
59 · current logical extents associated to logical volume
60 · allocated logical extents of logical volume
61 · allocation policy of logical volume
62 · read ahead sectors of logical volume
63 · major device number of logical volume
64 · minor device number of logical volume
65
66
67 -m, --maps
68 Display the mapping of logical extents to physical volumes and
69 physical extents. To map physical extents to logical extents
70 use: pvs --segments -o+lv_name,seg_start_pe,segtype
71
73 Shows attributes of that logical volume. If snapshot logical volumes
74 have been created for this original logical volume, this command shows
75 a list of all snapshot logical volumes and their status (active or
76 inactive) as well:
77
78 lvdisplay -v vg00/lvol2
79
80 Shows the attributes of this snapshot logical volume and also which
81 original logical volume it is associated with:
82
83 lvdisplay vg00/snapshot
84
85
87 lvm(8), lvcreate(8), lvs(8), lvscan(8), pvs(8)
88
89
90
91Sistina Software UKLVM TOOLS 2.02.143(2)-RHEL6 (2016-12-13) LVDISPLAY(8)