dhdev01 / # lsvg -o bkvg vg01 vg02 rootvg 列出对应的物理卷 dhdev01 / # lsvg -p rootvg rootvg: PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION hdisk0 active 546 111 00..00..00..02..109 dhdev01 / # lsvg -p vg01 vg01: PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION hdisk1 active 546 135 00..00..00..26..109 dhdev01 / # lsvg -p vg02 vg02: PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION hdisk2 active 546 109 00..00..00..00..109
dhdev01 / # ls -al /dev/rootvg crw-rw---- 1 root system 10, 0 Dec 19 2003 /dev/rootvg
显示卷组的基本信息
1 2 3 4 5 6 7 8 9 10 11 12 13
dhdev01 / # lsvg rootvg VOLUME GROUP: rootvg VG IDENTIFIER: 00585c0f00004c00000000f98e1e377f VG STATE: active PP SIZE: 128 megabyte(s) VG PERMISSION: read/write TOTAL PPs: 546 (69888 megabytes) MAX LVs: 256 FREE PPs: 111 (14208 megabytes) LVs: 16 USED PPs: 435 (55680 megabytes) OPEN LVs: 13 QUORUM: 2 TOTAL PVs: 1 VG DESCRIPTORS: 2 STALE PVs: 0 STALE PPs: 0 ACTIVE PVs: 1 AUTO ON: yes MAX PPs per PV: 1016 MAX PVs: 32 LTG size: 128 kilobyte(s) AUTO SYNC: no HOT SPARE: no BB POLICY: relocatable
dhdev01 / # lspv hdisk000585c0f8e1e2d11 rootvg active hdisk100585c0f746525a4 vg01 active hdisk200585c0f545aca55 vg02 active hdisk300585c0f418e185b bkvg active
显示某个物理卷的基本信息
1 2 3 4 5 6 7 8 9 10 11
dhdev01 / # lspv hdisk0 PHYSICAL VOLUME: hdisk0 VOLUME GROUP: rootvg PV IDENTIFIER: 00585c0f8e1e2d11 VG IDENTIFIER 00585c0f00004c00000000f98e1e377f PV STATE: active STALE PARTITIONS: 0 ALLOCATABLE: yes PP SIZE: 128 megabyte(s) LOGICAL VOLUMES: 16 TOTAL PPs: 546 (69888 megabytes) VG DESCRIPTORS: 2 FREE PPs: 111 (14208 megabytes) HOT SPARE: no USED PPs: 435 (55680 megabytes) FREE DISTRIBUTION: 00..00..00..02..109 USED DISTRIBUTION: 110..109..109..107..00
dhdev01 / # lspv -p hdisk1 hdisk1: PP RANGE STATE REGION LV NAME TYPE MOUNT POINT 1-32 used outer edge db jfs /dh/db 33-36 used outer edge rdhdev_test2 raw N/A 37-74 used outer edge testdb jfs /test 75-110 used outer edge rdhdev_test raw N/A 111-190 used outer middle db jfs /dh/db 191-191 used outer middle loglv00 jfslog N/A 192-219 used outer middle patch jfs /opt/patch 220-223 used center patch jfs /opt/patch 224-261 used center testdb2 jfs /test2 262-281 used center db jfs /dh/db 282-287 used center patch jfs /opt/patch 288-328 used center db jfs /dh/db 329-409 used inner middle db jfs /dh/db 410-410 used inner middle lv03 raw N/A 411-411 used inner middle rawtest raw N/A 412-437 free inner middle 438-546 free inner edge