aix擴充 交換分割槽的步驟

msdnchina發表於2011-09-27
Normal 0 7.8 磅 0 2 false false false EN-US ZH-CN X-NONE MicrosoftInternetExplorer4

1. 停止1號機器clusterware以及資料庫(root使用者執行)

# /etc/init.crs stop

Shutting down Oracle Cluster Ready Services (CRS):

Sep 26 13:20:49.534 | INF | daemon shutting down

Stopping resources. This could take several minutes.

Successfully stopped CRS resources.

Stopping CSSD.

Shutting down CSS daemon.

Shutdown request successfully issued.

Shutdown has begun. The daemons should exit soon.

2. Lsvg rootvg 檢視1號機器rootvg是否有剩餘空間:(root使用者執行)

# lsvg rootvg

VOLUME GROUP: rootvg VG IDENTIFIER: 00c4e74500004c0000000130b9af188d

VG STATE: active PP SIZE: 256 megabyte(s)

VG PERMISSION: read/write TOTAL PPs: 1092 (279552 megabytes)

MAX LVs: 256 FREE PPs: 362 (ytes)

LVs: 12 USED PPs: 730 (186880 megabytes)

OPEN LVs: 11 QUORUM: 1 (Disabled)

TOTAL PVs: 2 VG DESCRIPTORS: 3

STALE PVs: 0 STALE PPs: 0

ACTIVE PVs: 2 AUTO ON: yes

MAX PPs per VG: 32512

MAX PPs per PV: 1016 MAX PVs: 32

LTG size (Dynamic): 1024 kilobyte(s) AUTO SYNC: no

HOT SPARE: no BB POLICY: relocatable

3. 透過smitty來修改1號機器swap 交換空間: root使用者執行)

smitty > System Storage Management > Logical Volume Manager > Paging Space > Change / Show Characteristics of a Paging Space,透過加32pps,每個pps256M,這樣256*32=8G

4. 檢視1號機器交換空間的大小(root使用者執行)

# lsps -a

Page Space Physical Volume Volume Group Size %Used Active Auto Type

hd6 hdisk0 rootvg 8704MB 3 yes yes lv

[@more@]

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/161195/viewspace-1055355/,如需轉載,請註明出處,否則將追究法律責任。

相關文章