PV=VG=Fmt=Attr=PSize=PFree
/dev/sdb1=new_vg=lvm2=a-=17.14G=17.14G
/dev/sdc1=new_vg=lvm2=a-=17.14G=17.09G
/dev/sdd1=new_vg=lvm2=a-=17.14G=17.14G
To keep the fields aligned when using the
separator
argument, use the
separator
argument
in conjunction with the
--aligned
argument.
# pvs --separator = --aligned
PV
=VG
=Fmt =Attr=PSize =PFree
/dev/sdb1 =new_vg=lvm2=a-
=17.14G=17.14G
/dev/sdc1 =new_vg=lvm2=a-
=17.14G=17.09G
/dev/sdd1 =new_vg=lvm2=a-
=17.14G=17.14G
You can use the
-P
argument of the
lvs
or
vgs
command to display information about a failed
volume that would otherwise not appear in the output. For information on the output this
argument yields, see
Section 2, “Displaying Information on Failed Devices”
.
For a full listing of display arguments, see the
pvs
(8),
vgs
(8) and
lvs
(8) man pages.
Volume group fields can be mixed with either physical volume (and physical volume segment)
fields or with logical volume (and logical volume segment) fields, but physical volume and logical
volume fields cannot be mixed. For example, the following command will display one line of
output for each physical volume.
# vgs -o +pv_name
VG
#PV #LV #SN Attr
VSize
VFree
PV
new_vg
3
1
0 wz--n- 51.42G 51.37G /dev/sdc1
new_vg
3
1
0 wz--n- 51.42G 51.37G /dev/sdd1
new_vg
3
1
0 wz--n- 51.42G 51.37G /dev/sdb1
9.2. Object Selection
This section provides a series of tables that list the information you can display about the LVM
objects with the
pvs
,
vgs
, and
lvs
commands.
For convenience, a field name prefix can be dropped if it matches the default for the command.
For example, with the
pvs
command,
name
means
pv_name
, but with the
vgs
command,
name
is
interpreted as
vg_name
.
Executing the following command is the equivalent of executing
pvs -o pv_free
.
# pvs -o free
PFree
17.14G
Object Selection
49
Содержание GLOBAL FILE SYSTEM 5.0
Страница 1: ...LVM Administrator s Guide Configuration and Administration 5 0 ISBN N A Publication date...
Страница 4: ...LVM Administrator s Guide...
Страница 8: ...viii...
Страница 18: ...6...
Страница 28: ...16...
Страница 32: ...20...
Страница 80: ...68...
Страница 90: ...78...
Страница 92: ...80...
Страница 94: ...82...
Страница 112: ...100...