AIX增加page space操作方法
A、准备工作一:查看目前状况
B、准备工作二:计算PP大小
C、正式开始增加page space:开始调整
A、准备工作一:
1、查看物理内存
# lsattr -El mem0
goodsize7808 Amount of usable physical memory in Mbytes False
size 7808 Total amount of physical memory inMbytes False
2、查看page space
# lsps -a
PageSpace Physical Volume VolumeGroup Size %Used Active Auto Type
hd6 hdisk0 rootvg 5120MB 54 yes yes lv
B、准备工作二:
page space 5G===》》10G
1、查看pp大小
# lsvg rootvg
VOLUMEGROUP: rootvg VG IDENTIFIER: 00c7012e00004c0000000117604276b2
VGSTATE: active PPSIZE: 128 megabyte(s)
VGPERMISSION: read/write TOTAL PPs: 1092 (139776 megabytes)
MAXLVs: 256 FREE PPs: 620 (79360 megabytes)
LVs: 11 USED PPs: 472 (60416 megabytes)
OPENLVs: 10 QUORUM: 1
TOTALPVs: 2 VG DESCRIPTORS: 3
STALEPVs: 1 STALE PPs: 192
ACTIVEPVs: 2 AUTO ON: yes
MAX PPs perVG: 32512
MAX PPs perPV: 1016 MAX PVs: 32
LTG size (Dynamic):256 kilobyte(s) AUTOSYNC: no
HOTSPARE: no BB POLICY: relocatable
2、计算需要增加pp大小
(10*1024-5*1024)/128 =40 (个PP)
C、正式开始增加page space
1、增加page space大小
#smitty pgsp
选择 Change/Show Characteristics of a PagingSpace
点选 hd6
在 NUMBER of additional logial partitions输入40
回车保存
2、完成后review
# lsps -a
PageSpace Physical Volume VolumeGroup Size %Used Active Auto Type
hd6 hdisk0 rootvg 10240MB 26 yes yes lv
by 宇宙老人 20130327
心有多大,宇宙就有多大。
http://blog.csdn.net/foreveryday007