(grid重灌後圖形介面報錯)ASM磁碟組字元介面配置

germany006發表於2018-03-26
在grid使用者下(安裝ASM的時候,設定的磁碟組名稱和重灌前一樣的)
使用asmca無法開啟圖形介面,報錯如下:


sqlplus / as sysasm登陸
使用以下命令查詢可用的/dev/裝置
SQL> select group_number,disk_number,header_status,mode_status,state,total_mb,name,failgroup,path from  v$asm_disk;
GROUP_NUMBER DISK_NUMBER MODE_ST HEADER_STATU MODE_ST STATE TOTAL_MB    FREE_MB NAME    PATH
------------ ----------- ------- ------------ ------- -------- ---------- ---------- ------------------------------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  0       0 ONLINE  CANDIDATE    ONLINE  NORMAL 0   0    /dev/asm_vdd
  0       1 ONLINE  CANDIDATE    ONLINE  NORMAL 0   0    /dev/asm_vdj
  0       2 ONLINE  CANDIDATE    ONLINE  NORMAL 0   0    /dev/asm_vdg
  0       7 ONLINE  CANDIDATE    ONLINE  NORMAL 0   0    /dev/asm_vdb
  0       4 ONLINE  CANDIDATE    ONLINE  NORMAL 0   0    /dev/asm_vdf
  0       5 ONLINE  CANDIDATE    ONLINE  NORMAL 0   0    /dev/asm_vde
  0       6 ONLINE  CANDIDATE    ONLINE  NORMAL 0   0    /dev/asm_vdh
  0       3 ONLINE  CANDIDATE    ONLINE  NORMAL 0   0    /dev/asm_vdi


8 rows selected.
使用以下命令查詢磁碟組是空的:
SQL> select name,state from v$asm_diskgroup;
no rows selected
--新增ASM磁碟組
SQL> Create diskgroup  DATA  external  redundancy  disk '/dev/asm_vdd';
Diskgroup created.
--再次查詢就有磁碟組了
SQL> select name,state from v$asm_diskgroup;
NAME       STATE
------------------------------ -----------
DATA       MOUNTED
將其他磁碟加入磁碟組
SQL> alter diskgroup +data add disk '/dev/asm_vde';



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

相關文章