Red Hat ENTERPRISE LINUX 4 - LVM ADMINISTRATOR Manual page 63

Cluster logical volume manager
Table of Contents

Advertisement

#
pvs --units G
PV
VG
/dev/sdb1
new_vg lvm2 a-
/dev/sdc1
new_vg lvm2 a-
/dev/sdd1
new_vg lvm2 a-
You can also specify (s)ectors (defined as 512 bytes) or custom units.
The following example displays the output of the pvs command as a number of sectors.
# pvs --units s
PV
VG
/dev/sdb1
new_vg lvm2 a-
/dev/sdc1
new_vg lvm2 a-
/dev/sdd1
new_vg lvm2 a-
The following example displays the output of the pvs command in units of 4 megabytes.
# pvs --units 4m
PV
VG
/dev/sdb1
new_vg lvm2 a-
/dev/sdc1
new_vg lvm2 a-
/dev/sdd1
new_vg lvm2 a-
Fmt
Attr PSize
18.40G 18.40G
18.40G 18.35G
18.40G 18.40G
Fmt
Attr PSize
35946496S 35946496S
35946496S 35840000S
35946496S 35946496S
Fmt
Attr PSize
4388.00U 4388.00U
4388.00U 4375.00U
4388.00U 4388.00U
PFree
PFree
PFree
Specifying Units
51

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise linux 4

Table of Contents