減小AIX頁面空間的步驟
# lsvg rootvg
VOLUME GROUP: rootvg VG IDENTIFIER: 005d25cf00004c000000011
1ea4d6d4d
VG STATE: active PP SIZE: 64 megabyte(s) 這個VG的PP大小是64MB
VG PERMISSION: read/write TOTAL PPs: 813 (52032 megabytes)
MAX LVs: 256 FREE PPs: 286 (18304 megabytes)
LVs: 14 USED PPs: 527 (33728 megabytes)
OPEN LVs: 12 QUORUM: 2
TOTAL PVs: 2 VG DESCRIPTORS: 3
STALE PVs: 0 STALE PPs: 0
ACTIVE PVs: 2 AUTO ON: no
MAX PPs per PV: 1016 MAX PVs: 32
LTG size: 128 kilobyte(s) AUTO SYNC: no
HOT SPARE: no BB POLICY: relocatable
----------------------------------------------------------------------------------
# lsvg -l rootvg
rootvg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
hd6 paging 44 88 2 open/syncd N/A 當前頁面空間佔了44個LP,有映象
hd8 jfs2log 3 3 1 open/syncd N/A
hd4 jfs2 160 160 2 open/syncd /
hd2 jfs2 66 66 1 open/syncd /usr
hd9var jfs2 99 99 2 open/syncd /var
hd3 jfs2 44 44 2 open/syncd /tmp
hd1 jfs2 10 10 2 open/syncd /home
hd10opt jfs2 32 32 1 open/syncd /opt
test1lv jfs 1 3 1 closed/syncd N/A
hd5 boot 1 1 1 closed/syncd N/A
loglv00 jfslog 1 1 1 open/syncd N/A
lvpd jfs 8 8 1 open/syncd /var/pd
lvpsf jfs 4 4 1 open/syncd /var/psf
lvpsfs jfs 8 8 1 open/syncd /var/psf/segments
-----------------------------------------------------------------------------------
# lsps -a
Page Space Physical Volume Volume Group Size %Used Active Auto Type
hd6 hdisk5 rootvg 2816MB 1 yes yes lv 當前頁面空間是2816MB (44LP * 64mb = 2816MB)
----------------------------------------------------------------------------------
# smit chps
Change / Show Characteristics of a Paging Space
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
Paging space name hd6
Volume group name rootvg
Physical volume name hdisk5
NUMBER of additional logical partitions [] #
Or NUMBER of logical partitions to remove [6] 將頁面空間減小6個LP
Use this paging space each time the system is yes +
RESTARTED?
COMMAND STATUS
Command: OK stdout: yes stderr: no 命令執行成功
Before command completion, additional instructions may appear below.
shrinkps: Temporary paging space paging00 created.
shrinkps: Dump device moved to temporary paging space.
shrinkps: New boot image created with temporary paging space.
shrinkps: Paging space hd6 removed.
shrinkps: Paging space hd6 recreated with new size.
shrinkps: New boot image created with resized paging space.
----------------------------------------------------------------------------------
# lsps -a
Page Space Physical Volume Volume Group Size %Used Active Auto Type
hd6 hdisk5 rootvg 2432MB 1 yes yes lv 頁面空間貝減小到2432MB (38LP * 64mb = 2432MB)
----------------------------------------------------------------------------------
# lsvg -l rootvg
rootvg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
hd6 paging 38 76 2 open/syncd N/A 頁面空間從44個LP,減少6個LP後,變為38個LP
hd8 jfs2log 3 3 1 open/syncd N/A
hd4 jfs2 160 160 2 open/syncd /
hd2 jfs2 66 66 1 open/syncd /usr
hd9var jfs2 99 99 2 open/syncd /var
hd3 jfs2 44 44 2 open/syncd /tmp
hd1 jfs2 10 10 2 open/syncd /home
hd10opt jfs2 32 32 1 open/syncd /opt
test1lv jfs 1 3 1 closed/syncd N/A
hd5 boot 1 1 1 closed/syncd N/A
loglv00 jfslog 1 1 1 open/syncd N/A
lvpd jfs 8 8 1 open/syncd /var/pd
lvpsf jfs 4 4 1 open/syncd /var/psf
lvpsfs jfs 8 8 1 open/syncd /var/psf/segments
VOLUME GROUP: rootvg VG IDENTIFIER: 005d25cf00004c000000011
1ea4d6d4d
VG STATE: active PP SIZE: 64 megabyte(s) 這個VG的PP大小是64MB
VG PERMISSION: read/write TOTAL PPs: 813 (52032 megabytes)
MAX LVs: 256 FREE PPs: 286 (18304 megabytes)
LVs: 14 USED PPs: 527 (33728 megabytes)
OPEN LVs: 12 QUORUM: 2
TOTAL PVs: 2 VG DESCRIPTORS: 3
STALE PVs: 0 STALE PPs: 0
ACTIVE PVs: 2 AUTO ON: no
MAX PPs per PV: 1016 MAX PVs: 32
LTG size: 128 kilobyte(s) AUTO SYNC: no
HOT SPARE: no BB POLICY: relocatable
----------------------------------------------------------------------------------
# lsvg -l rootvg
rootvg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
hd6 paging 44 88 2 open/syncd N/A 當前頁面空間佔了44個LP,有映象
hd8 jfs2log 3 3 1 open/syncd N/A
hd4 jfs2 160 160 2 open/syncd /
hd2 jfs2 66 66 1 open/syncd /usr
hd9var jfs2 99 99 2 open/syncd /var
hd3 jfs2 44 44 2 open/syncd /tmp
hd1 jfs2 10 10 2 open/syncd /home
hd10opt jfs2 32 32 1 open/syncd /opt
test1lv jfs 1 3 1 closed/syncd N/A
hd5 boot 1 1 1 closed/syncd N/A
loglv00 jfslog 1 1 1 open/syncd N/A
lvpd jfs 8 8 1 open/syncd /var/pd
lvpsf jfs 4 4 1 open/syncd /var/psf
lvpsfs jfs 8 8 1 open/syncd /var/psf/segments
-----------------------------------------------------------------------------------
# lsps -a
Page Space Physical Volume Volume Group Size %Used Active Auto Type
hd6 hdisk5 rootvg 2816MB 1 yes yes lv 當前頁面空間是2816MB (44LP * 64mb = 2816MB)
----------------------------------------------------------------------------------
# smit chps
Change / Show Characteristics of a Paging Space
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
Paging space name hd6
Volume group name rootvg
Physical volume name hdisk5
NUMBER of additional logical partitions [] #
Or NUMBER of logical partitions to remove [6] 將頁面空間減小6個LP
Use this paging space each time the system is yes +
RESTARTED?
COMMAND STATUS
Command: OK stdout: yes stderr: no 命令執行成功
Before command completion, additional instructions may appear below.
shrinkps: Temporary paging space paging00 created.
shrinkps: Dump device moved to temporary paging space.
shrinkps: New boot image created with temporary paging space.
shrinkps: Paging space hd6 removed.
shrinkps: Paging space hd6 recreated with new size.
shrinkps: New boot image created with resized paging space.
----------------------------------------------------------------------------------
# lsps -a
Page Space Physical Volume Volume Group Size %Used Active Auto Type
hd6 hdisk5 rootvg 2432MB 1 yes yes lv 頁面空間貝減小到2432MB (38LP * 64mb = 2432MB)
----------------------------------------------------------------------------------
# lsvg -l rootvg
rootvg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
hd6 paging 38 76 2 open/syncd N/A 頁面空間從44個LP,減少6個LP後,變為38個LP
hd8 jfs2log 3 3 1 open/syncd N/A
hd4 jfs2 160 160 2 open/syncd /
hd2 jfs2 66 66 1 open/syncd /usr
hd9var jfs2 99 99 2 open/syncd /var
hd3 jfs2 44 44 2 open/syncd /tmp
hd1 jfs2 10 10 2 open/syncd /home
hd10opt jfs2 32 32 1 open/syncd /opt
test1lv jfs 1 3 1 closed/syncd N/A
hd5 boot 1 1 1 closed/syncd N/A
loglv00 jfslog 1 1 1 open/syncd N/A
lvpd jfs 8 8 1 open/syncd /var/pd
lvpsf jfs 4 4 1 open/syncd /var/psf
lvpsfs jfs 8 8 1 open/syncd /var/psf/segments
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/8334342/viewspace-414970/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- AIX命令集錦四(頁面空間管理命令)AI
- aix 中SMITTY LV 操作的詳細步驟擴充目錄空間AIMIT
- AIX分頁(交換)空間的監控AI
- informix資料空間映象操作步驟ORM
- AIX巡檢步驟AI
- 網站404頁面怎麼做 404頁面製作步驟網站
- Oracle切換undo表空間操作步驟Oracle
- 【轉】 在aix裡面檢視實際的磁碟空間AI
- aix裡面怎麼檢視實際的磁碟空間AI
- 避免Java堆空間錯誤的5個步驟Java
- AIX下CDE的安裝步驟AI
- 【轉】AIX snap資訊的收集步驟AI
- windows10系統使用滑鼠滾輪放大縮小頁面內容的步驟Windows
- AIX重新認儲存步驟AI
- AIX基本安裝步驟(轉)AI
- oracle的臨時表空間解決問題的步驟Oracle
- aix擴充 交換分割槽的步驟AI
- 安裝aix rac的關鍵步驟AI
- aix下oracle的空間使用AIOracle
- oracle的臨時表空間寫滿磁碟空間,解決改問題的具體步驟Oracle
- AIX系統擴vg操作步驟AI
- AIX 建立檔案系統步驟AI
- aix 檢視磁碟空間AI
- oracle的還原表空間UNDO寫滿磁碟空間,解決該問題的具體步驟Oracle
- 百度小程式之間的頁面通訊
- oracle建立使用者,表空間,臨時表空間,分配許可權步驟詳解Oracle
- diskgenius增加c盤空間win10的操作步驟_diskgenius如何擴大c盤空間win10Win10
- 【AIX 命令學習】增加/減小邏輯卷的大小AI
- 在aix oracle rac 環境下,增加lv的步驟AIOracle
- 帝國cms自定義頁面動態程式碼獲取步驟
- 前端頁面優化,減少 reflow 的方法前端優化
- AIX上為ORACLE配置大頁面AIOracle
- AIX培訓筆記——交換空間AI筆記
- 使用Oracle可傳輸表空間的特性複製資料(2)操作步驟Oracle
- 微信小程式中頁面間跳轉傳參方式微信小程式
- 小程式頁面間通訊——EventChannel(資料量多時)
- 歸檔模式下聯機熱備份某個表空間步驟模式
- AIX5.3安裝oracle 10g 步驟AIOracle 10g