# lsvg --Volumn Group , 分成下列兩個 vg
rootvg
Datavg
#
#
#
#
#
# lspv --邏輯硬碟
hdisk0 0006772c70a9a7b3 rootvg active
hdisk1 0006772cf9d1a2bb rootvg active
hdisk2 0006772cf998941d Datavg active --Raid 5
#
#
#
#
# lspv hdisk2 --查看邏輯硬碟 hdisk2 明細
PHYSICAL VOLUME: hdisk2 VOLUME GROUP: Datavg
PV IDENTIFIER: 0006772cf998941d VG IDENTIFIER 0006772c0000d70000000113f998b649
PV STATE: active
STALE PARTITIONS: 0 ALLOCATABLE: yes
PP SIZE: 256 megabyte(s) LOGICAL VOLUMES: 8
TOTAL PPs: 797 (204032 megabytes) VG DESCRIPTORS: 2
FREE PPs: 156 (39936 megabytes) HOT SPARE: no
USED PPs: 641 (164096 megabytes)
FREE DISTRIBUTION: 00..00..00..00..156
USED DISTRIBUTION: 160..159..159..159..04
#
#
#
#
# lsdev -C|grep disk --查看硬體, 且與 disk 字串相關
hdisk0 Available 04-08-00-3,0 16 Bit LVD SCSI Disk Drive --OS
hdisk1 Available 04-08-00-4,0 16 Bit LVD SCSI Disk Drive --OS
hdisk2 Available 04-08-ff-0,0 SCSI RAID 5 Disk Array --DB ,內容包涵下面四顆
pdisk0 Available 04-08-01-3,0 Physical SCSI Disk Drive
pdisk1 Available 04-08-01-4,0 Physical SCSI Disk Drive
pdisk2 Available 04-08-01-5,0 Physical SCSI Disk Drive
pdisk3 Available 04-08-01-8,0 Physical SCSI Disk Drive
#
#
#
#
# lsvg -l rootvg --掛在 rootvg 下的路徑 ( 所 mount 的 path )
rootvg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
hd5 boot 1 2 2 closed/syncd N/A
hd6 paging 32 64 2 open/syncd N/A
hd8 jfs2log 1 2 2 open/syncd N/A
hd4 jfs2 32 64 2 open/syncd /
hd2 jfs2 40 80 2 open/syncd /usr
hd9var jfs2 32 64 2 open/syncd /var
hd3 jfs2 16 32 2 open/syncd /tmp
hd1 jfs2 32 64 2 open/syncd /home
hd10opt jfs2 1 2 2 open/syncd /opt
fwdump jfs2 1 2 2 open/syncd /var/adm/ras/platform
fslv00 jfs2 192 192 1 open/syncd /backup2
paging00 paging 32 64 2 open/syncd N/A
#
#
#
#
# lsvg rootvg --掛在 rootvg 下的明細
VOLUME GROUP: rootvg VG IDENTIFIER: 0006772c0000d70000000113f153e223
VG STATE: active PP SIZE: 128 megabyte(s)
VG PERMISSION: read/write TOTAL PPs: 1092 (139776 megabytes)
MAX LVs: 256 FREE PPs: 460 (58880 megabytes)
LVs: 12 USED PPs: 632 (80896 megabytes)
OPEN LVs: 11 QUORUM: 1
TOTAL PVs: 2 VG DESCRIPTORS: 3
STALE PVs: 0 STALE PPs: 0
ACTIVE PVs: 2 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
#
#
#
#
#
#
# lsvg -l Datavg --掛在 Datavg 下的路徑 ( 所 mount 的 path )
Datavg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
fslv02 jfs2 40 40 1 open/syncd /oracle/app
loglv00 jfs2log 1 1 1 open/syncd N/A
lv00 jfs2 8 8 1 open/syncd /work
lv01 jfs2 120 120 1 open/syncd /backup
lv02 jfs2 12 12 1 open/syncd /oraweb
lv03 jfs2 240 240 1 open/syncd /ieo_data
lv04 jfs2 180 180 1 open/syncd /ieo_index
fslv03 jfs2 40 40 1 open/syncd /oracle/was
#
#
#
#
#
#
#
# lsvg Datavg --掛在 Datavg 下的明細
VOLUME GROUP: Datavg VG IDENTIFIER: 0006772c0000d70000000113f998b649
VG STATE: active PP SIZE: 256 megabyte(s)
VG PERMISSION: read/write TOTAL PPs: 797 (204032 megabytes)
MAX LVs: 256 FREE PPs: 156 (39936 megabytes)
LVs: 8 USED PPs: 641 (164096 megabytes)
OPEN LVs: 8 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
#
#
#
#
# oslevel -- OS level ?
5.2.0.0
#
- Apr 01 Wed 2009 17:11
Unix 筆記 - 硬體篇
close
全站熱搜
留言列表