AIX VG操作
下面操作為在AIX 5.3下面的操作日誌記錄
一.建立VG
1.檢視磁碟使用情況,如果使用ASM注意ASM是直接使用沒有分配PVID的PV
bash-3.00# lspv
hdisk0 00f6a21d5c053829 rootvg active
hdisk1 00f6a21d01424683 rootvg active
hdisk2 none None
hdisk3 none None
hdisk4 none None
hdisk5 none None
hdisk6 none None
hdisk7 none None
hdisk8 none None
hdisk9 none None
hdisk10 none None
hdisk11 none None
hdisk12 none None
hdisk13 none None
hdisk14 none None
hdisk15 none None
hdisk16 none None
hdisk17 none None
hdisk18 none None
hdisk19 none None
hdisk20 00f6a21d6a03bb66 bkvg active
hdisk21 00f6a21d6a03bbc9 bkvg active
hdisk22 00f6a21d6a03bc2b bkvg active
bash-3.00#
本次計劃把hdisk17,hdisk18,hdisk19劃出來
2.建立VG,一般空間間比較大的情況下我們會選擇”Add a Big Volume Group”
shell>smitty mkvg:
Move cursor to desired item and press Enter.
Add an Original Volume Group
Add a Big Volume Group
Add a Scalable Volume Group
選擇後回車
將卷組名設定為fsdatavg,PP大小為64M
add an Original Volume Group
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
VOLUME GROUP name [fsdatavg]
Physical partition SIZE in megabytes 64 +
* PHYSICAL VOLUME names [hdisk17,hdisk18,hdisk19] +
Force the creation of a volume group? yes +
Activate volume group AUTOMATICALLY yes +
at system restart? Volume Group MAJOR NUMBER [] +#
Create VG Concurrent Capable? no +
Command: OK stdout: yes stderr: no
Before command completion, additional instructions may appear below.
二.為VG新增磁碟
1.執行extendvg操作
按F4選擇要新增的磁碟
# smit extendvg
Add a Physical Volume to a Volume Group
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
Force the creation of a volume group? no +
* VOLUME GROUP name [bkvg] +
* PHYSICAL VOLUME names [hdisk14] +
提醒是否繼續,確認繼續
F1=Help F2=Re+------------------------------------------------------+ F4=List
Esc+5=Reset Esc+6| Running command... | Esc+8=Image
Esc+9=Shell Esc+0+------------------------------------------------------+
COMMAND STATUS
Command: OK stdout: no stderr: no
Before command completion, additional instructions may appear below.
2.檢視是否新增成功,lsvg顯示已經新增成功
# lsvg bkvg
VOLUME GROUP: bkvg VG IDENTIFIER: 0009a8ea0000d60000000132aa4ee783
VG STATE: active PP SIZE: 128 megabyte(s)
VG PERMISSION: read/write TOTAL PPs: 7995 (1023360 megabytes)
MAX LVs: 512 FREE PPs: 1754 (224512 megabytes)
LVs: 3 USED PPs: 6241 (798848 megabytes)
OPEN LVs: 3 QUORUM: 3 (Enabled)
TOTAL PVs: 5 VG DESCRIPTORS: 5
STALE PVs: 0 STALE PPs: 0
ACTIVE PVs: 5 AUTO ON: yes
MAX PPs per VG: 2097152 MAX PVs: 1024
LTG size (Dynamic): 256 kilobyte(s) AUTO SYNC: no
HOT SPARE: no BB POLICY: relocatable
一.建立VG
1.檢視磁碟使用情況,如果使用ASM注意ASM是直接使用沒有分配PVID的PV
bash-3.00# lspv
hdisk0 00f6a21d5c053829 rootvg active
hdisk1 00f6a21d01424683 rootvg active
hdisk2 none None
hdisk3 none None
hdisk4 none None
hdisk5 none None
hdisk6 none None
hdisk7 none None
hdisk8 none None
hdisk9 none None
hdisk10 none None
hdisk11 none None
hdisk12 none None
hdisk13 none None
hdisk14 none None
hdisk15 none None
hdisk16 none None
hdisk17 none None
hdisk18 none None
hdisk19 none None
hdisk20 00f6a21d6a03bb66 bkvg active
hdisk21 00f6a21d6a03bbc9 bkvg active
hdisk22 00f6a21d6a03bc2b bkvg active
bash-3.00#
本次計劃把hdisk17,hdisk18,hdisk19劃出來
2.建立VG,一般空間間比較大的情況下我們會選擇”Add a Big Volume Group”
shell>smitty mkvg:
Move cursor to desired item and press Enter.
Add an Original Volume Group
Add a Big Volume Group
Add a Scalable Volume Group
選擇後回車
將卷組名設定為fsdatavg,PP大小為64M
add an Original Volume Group
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
VOLUME GROUP name [fsdatavg]
Physical partition SIZE in megabytes 64 +
* PHYSICAL VOLUME names [hdisk17,hdisk18,hdisk19] +
Force the creation of a volume group? yes +
Activate volume group AUTOMATICALLY yes +
at system restart? Volume Group MAJOR NUMBER [] +#
Create VG Concurrent Capable? no +
Command: OK stdout: yes stderr: no
Before command completion, additional instructions may appear below.
二.為VG新增磁碟
1.執行extendvg操作
按F4選擇要新增的磁碟
# smit extendvg
Add a Physical Volume to a Volume Group
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
Force the creation of a volume group? no +
* VOLUME GROUP name [bkvg] +
* PHYSICAL VOLUME names [hdisk14] +
提醒是否繼續,確認繼續
F1=Help F2=Re+------------------------------------------------------+ F4=List
Esc+5=Reset Esc+6| Running command... | Esc+8=Image
Esc+9=Shell Esc+0+------------------------------------------------------+
COMMAND STATUS
Command: OK stdout: no stderr: no
Before command completion, additional instructions may appear below.
2.檢視是否新增成功,lsvg顯示已經新增成功
# lsvg bkvg
VOLUME GROUP: bkvg VG IDENTIFIER: 0009a8ea0000d60000000132aa4ee783
VG STATE: active PP SIZE: 128 megabyte(s)
VG PERMISSION: read/write TOTAL PPs: 7995 (1023360 megabytes)
MAX LVs: 512 FREE PPs: 1754 (224512 megabytes)
LVs: 3 USED PPs: 6241 (798848 megabytes)
OPEN LVs: 3 QUORUM: 3 (Enabled)
TOTAL PVs: 5 VG DESCRIPTORS: 5
STALE PVs: 0 STALE PPs: 0
ACTIVE PVs: 5 AUTO ON: yes
MAX PPs per VG: 2097152 MAX PVs: 1024
LTG size (Dynamic): 256 kilobyte(s) AUTO SYNC: no
HOT SPARE: no BB POLICY: relocatable
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/21605631/viewspace-710293/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- AIX系統擴vg操作步驟AI
- AIX_EXT_VGAI
- aix lvm big vgAILVM
- AIX中PV,VG,LV及FS常用相關命令AI
- AIX操作相關常用命令整理AI
- 【AIX】AIX程式監控工具AI
- AIX VGDAAI
- 【AIX-PS】AIX系統ps命令詳解AI
- Install python on AIX 7PythonAI
- AIX掛載NFSAINFS
- 【AIX】記憶體AI記憶體
- aix升級opensshAI
- IBM AIX儲存層結構分析+aix常用命令IBMAI
- 【AIX】AIX7.1 C編譯環境部署指導說明AI編譯
- AIX的yum安裝AI
- AIX系統日誌AI
- AIX相關管理命令AI
- 10g RAC on AIXAI
- AIX基礎教程(zt)AI
- oracle xtts遷移 AIX to LinuxOracleTTSAILinux
- AIX中的裸裝置AI
- aix安裝oracle客戶端AIOracle客戶端
- aix檔案系統擴容AI
- AIX作業系統安全加固AI作業系統
- RAC安裝【AIX 7 + 11.2.0.4 + ASM】AIASM
- IBM /AIX 環境快速部署MySQLIBMAIMySql
- Linux下共享VG改變活動狀態Linux
- ORACLE for aix 11.2.0.1 DATAPUMP expdp之BUG 9470768OracleAI
- 教你吧GV發簡訊充分VG不回你即可
- 安裝c, c++編譯器 on AIXC++編譯AI
- Oracle ASM磁碟組擴容(AIX7.1)OracleASMAI
- AIX6.1下安裝及配置VNCAIVNC
- Secret奇襲VG,GeForce助力Ti9四強誕生
- 怎樣利用快取伺服器來負載均衡VG快取伺服器負載
- “鑽石的缺陷”為量子計算機提供完美介面VG計算機
- oracle aix平臺19c rac互信不通案例OracleAI
- 硬貨!Zabbix監控AIX系統服務案例AI
- AIX 5.3 Install Oracle 10g RAC 錯誤集錦AIOracle 10g
- 從Oracle資料庫故障到AIX記憶體管理Oracle資料庫AI記憶體