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系統vgAI
- aix lvm big vgAILVM
- AIX 更換硬碟重建vgAI硬碟
- AIX PV VG LV詳解AI
- aix 的pv vg lv 命令實踐AI
- aix 下刪除一個卷組vgAI
- [HPUX] HP Unix pv,vg,lv操作UX
- AIX中PV,VG,LV及FS常用相關命令AI
- AIX同步映象VG中的新LV,手工映象LVAI
- AIX 5L:第一步——建立VGAI
- AIX下修改已經新增到VG裡的磁碟碟符AI
- AIX ODM操作AI
- AIX操作命令AI
- AIX LV操作AI
- AIX ROOTVG映象操作AI
- AIX上snmp操作AI
- AIX常用維護操作AI
- AIX 常用操作及命令AI
- AIX系統LVM管理PV/VG/LV常用命令總結與實戰AILVM
- AIX系統操作員手冊AI
- 操作規範(一)—— AIX rootvg mirrorAI
- UNIX.AIX.檔案系統.儲存管理.邏輯卷管理.PV.VG.PP.LV.LPAI
- AIX操作相關常用命令整理AI
- AIX 5.3 重啟系統後VG PERMISSION被改變導致Oracle10.2.0.5叢集啟動失敗AIOracle
- UNIX.AIX.檔案系統.儲存管理.邏輯卷管理.PV.VG.PP.LV.LP --轉自網路AI
- AIX儲存管理基本概念和操作(一)AI
- [Linux] PV,VG,LV相關Linux
- AIX中快速定位引起大量磁碟IO操作的程式AI
- 用上一次的命令對AIX命令快速操作AI
- UNIX下VG遷移(謹慎) - 轉
- AIX下開啟CPIO.GZ檔案操作辦法AI
- Linux中的建立PV-VG-LVLinux
- [HPUX] HP Unix server vg自動啟用UXServer
- lvm extend vg_centos-lv_root 大小LVMCentOS
- add disk to asm on aix操作步驟及注意事項-orastarASMAIAST
- 【儲存】AIX儲存管理基本概念和操作(LVM)AILVM