Red Hat LVM ADMINISTRATOR FOR RHEL 4.5 Administrator's Manual page 67

Lvm administrator's guide for rhel 4.5
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

This manual is also suitable for:

Configuration and administration 4.5

Table of Contents