1.使用lsvg 查看有哪些vg
2.使用lsvg myvg
VOLUME GROUP: myvg VG IDENTIFIER: 00f7563100004c000000013e5f8a53faVG STATE: active PP SIZE: 128 megabyte(s)VG PERMISSION: read/write TOTAL PPs: 15980 (2045440 megabytes)MAX LVs: 4096 FREE PPs: 4148 (530944 megabytes)LVs: 118 USED PPs: 11832 (1514496 megabytes)OPEN LVs: 98 QUORUM: 1 (Disabled)TOTAL PVs: 20 VG DESCRIPTORS: 20STALE PVs: 0 STALE PPs: 0ACTIVE PVs: 20 AUTO ON: noConcurrent: Enhanced-Capable Auto-Concurrent: DisabledVG Mode: Concurrent Node ID: 1 Active Nodes: MAX PPs per VG: 2097152 MAX PVs: 1024LTG size (Dynamic): 256 kilobyte(s) AUTO SYNC: noHOT SPARE: no BB POLICY: relocatable MIRROR POOL STRICT: off PV RESTRICTION: none INFINITE RETRY: no
查看其中的PP SIZE,此处为128M
3.使用lsvg -l myvg 查看
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINTtest_system raw 16 32 2 open/syncd N/Atest_sysaux raw 16 32 2 open/syncd N/A
可以看到LPs为16,则大小为128M * 16