# lvs
LV
VG
Attr
LSize
Origin Snap%
Move Log Copy%
lvol0
new_vg owi-a- 52.00M
newvgsnap1 new_vg swi-a-
8.00M lvol0
0.20
Using the
-v
argauament with the
lvs
command adds the following fields to the default display:
seg_count
,
lv_major
,
lv_minor
,
lv_kernel_major
,
lv_kernel_minor
,
lv_uuid
.
# lvs -v
Finding all logical volumes
LV
VG
#Seg Attr
LSize
Maj Min KMaj KMin Origin Snap%
Move
Copy%
Log LV UUID
lvol0
new_vg
1 owi-a- 52.00M
-1
-1 253
3
LBy1Tz-sr23-OjsI-LT03-nHLC-y8XW-EhCl78
newvgsnap1 new_vg
1 swi-a-
8.00M
-1
-1 253
5
lvol0
0.20
1ye1OU-1cIu-o79k-20h2-ZGF0-qCJm-CfbsIx
You can use the
--segments
argument of the
lvs
command to display information with default
columns that emphasize the segment information. When you use the
segments
argument, the
seg
prefix is optional. The
lvs --segments
command displays the following fields by default:
lv_name
,
vg_name
,
lv_attr
,
stripes
,
segtype
,
seg_size
. The default display is sorted by
vg_name
,
lv_name
within the volume group, and
seg_start
within the logical volume. If the
logical volumes were fragmented, the output from this command would show that.
# lvs --segments
LV
VG
Attr
#Str Type
SSize
LogVol00 VolGroup00 -wi-ao
1 linear
36.62G
LogVol01 VolGroup00 -wi-ao
1 linear 512.00M
lv
vg
-wi-a-
1 linear 104.00M
lv
vg
-wi-a-
1 linear 104.00M
lv
vg
-wi-a-
1 linear 104.00M
lv
vg
-wi-a-
1 linear
88.00M
Using the
-v
argument with the
lvs --segments
command adds the following fields to the
default display:
seg_start
,
stripesize
,
chunksize
.
# lvs -v --segments
Finding all logical volumes
LV
VG
Attr
Start SSize
#Str Type
Stripe Chunk
lvol0
new_vg owi-a-
0
52.00M
1 linear
0
0
newvgsnap1 new_vg swi-a-
0
8.00M
1 linear
0
8.00K
The following example shows the default output of the
lvs
command on a system with one
logical volume configured, followed by the default output of the
lvs
command with the
segments
Object Selection
55
Summary of Contents for GLOBAL FILE SYSTEM 5.0
Page 1: ...LVM Administrator s Guide Configuration and Administration 5 0 ISBN N A Publication date...
Page 4: ...LVM Administrator s Guide...
Page 8: ...viii...
Page 18: ...6...
Page 28: ...16...
Page 32: ...20...
Page 80: ...68...
Page 90: ...78...
Page 92: ...80...
Page 94: ...82...
Page 112: ...100...