Red Hat ENTERPRISE LINUX 4 - LVM ADMINISTRATOR Manual page 56

Cluster logical volume manager
Table of Contents

Advertisement

Chapter 4. LVM Administration with CLI Commands
Argument
pv_uuid
Table 4.1. pvs Display Fields
The pvs command displays the following fields by default: pv_name, vg_name, pv_fmt, pv_attr,
pv_size, pv_free. The display is sorted by pv_name.
# pvs
PV
VG
/dev/sdb1
new_vg lvm2 a-
/dev/sdc1
new_vg lvm2 a-
/dev/sdd1
new_vg lvm2 a-
Using the -v argument with the pvs command adds the following fields to the default display:
dev_size, pv_uuid.
# pvs -v
Scanning for physical volume names
PV
VG
/dev/sdb1
new_vg lvm2 a-
M7iv-6XqA-dqGeXY
/dev/sdc1
new_vg lvm2 a-
IdwM-01S9-XO8M-mcpsVe
/dev/sdd1
new_vg lvm2 a-
dECm-0RZ3-0dGW-tUqkCS
You can use the --segments argument of the pvs command to display information about each
physical volume segment. A segment is a group of extents. A segment view can be useful if you want
to see whether your logical volume is fragmented.
The pvs --segments command displays the following fields by default: pv_name, vg_name,
pv_fmt, pv_attr, pv_size, pv_free, pvseg_start, pvseg_size. The display is sorted by
pv_name and pvseg_size within the physical volume.
# pvs --segments
PV
VG
/dev/hda2
VolGroup00 lvm2 a-
/dev/hda2
VolGroup00 lvm2 a-
/dev/hda2
VolGroup00 lvm2 a-
/dev/sda1
vg
/dev/sda1
vg
/dev/sda1
vg
/dev/sda1
vg
/dev/sda1
vg
/dev/sda1
vg
/dev/sda1
vg
/dev/sda1
vg
/dev/sdb1
vg
44
Header
Description
PV UUID
The UUID of the physical volume
Fmt
Attr PSize
17.14G 17.14G
17.14G 17.09G
17.14G 17.13G
Fmt
Attr PSize
17.14G 17.14G
17.14G 17.09G
17.14G 17.13G
Fmt
Attr PSize
37.16G 32.00M
37.16G 32.00M
37.16G 32.00M
lvm2 a-
17.14G 16.75G
lvm2 a-
17.14G 16.75G
lvm2 a-
17.14G 16.75G
lvm2 a-
17.14G 16.75G
lvm2 a-
17.14G 16.75G
lvm2 a-
17.14G 16.75G
lvm2 a-
17.14G 16.75G
lvm2 a-
17.14G 16.75G
lvm2 a-
17.14G 17.14G
PFree
PFree
DevSize PV UUID
17.14G onFF2w-1fLC-ughJ-D9eB-
17.14G Joqlch-yWSj-kuEn-
17.14G yvfvZK-Cf31-j75k-
PFree
Start SSize
0
1172
1188
0
26
50
76
100
126
150
172
0
1172
16
1
26
24
26
24
26
24
22
4217
4389

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise linux 4

Table of Contents