Examples
1 To display the names of all active volume groups, enter the following command: lsvg -o
2 To display the names of all volume groups within the system, enter the following command:
lsvg
3 To display information about volume group vg02, enter the following command:
lsvg vg02
The characteristics and status of both the logical and physical partitions of volume group vg02 are displayed.
4 To display the names, characteristics, and status of all the logical volumes in volume group vg02, enter the following
command: lsvg -l vg02
查看当前活动卷组
root@ecis_db_1:/>lsvg -o
rootvg
查看rootvg卷组信息
root@ecis_db_1:/>lsvg rootvg
VOLUME GROUP: rootvg VG IDENTIFIER: 00f7c31700004c000000013976ae6a37
VG STATE: active PP SIZE: 512 megabyte(s)
VG PERMISSION: read/write TOTAL PPs: 1116 (571392 megabytes)
MAX LVs: 256 FREE PPs: 484 (247808 megabytes) -- 剩余247.808G
LVs: 15 USED PPs: 632 (323584 megabytes)
OPEN LVs: 13 QUORUM: 1 (Disabled)
TOTAL PVs: 2 VG DESCRIPTORS: 3
STALE PVs: 0 STALE PPs: 0
ACTIVE PVs: 2 AUTO ON: yes
MAX PPs per VG: 32512
MAX PPs per PV: 1016 MAX PVs: 32
LTG size (Dynamic): 1024 kilobyte(s) AUTO SYNC: no
HOT SPARE: no BB POLICY: relocatable
PV RESTRICTION: none INFINITE RETRY: no