~沉%淀~

一切有为法,如梦幻泡影,如露亦如电,应作如是观

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

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

 

posted on 2020-09-05 14:33  ~沉%淀~  阅读(658)  评论(0编辑  收藏  举报