Oracle 10g R2建立ASM例項Step By Step(四)
本節介紹如何建立ASM磁碟組。
[root@rac1 ~]# su - oracle
[oracle@rac1 ~]$ export ORACLE_SID=+ASM
[oracle@rac1 ~]$ sqlplus /nolog
SQL> conn / as sysdba
SQL> startup
ASM instance started
ORA-15110: no diskgroups mounted
SQL> create diskgroup DG1 normal redundancy
2 failgroup FG1 disk '/dev/oracleasm/disks/VOL1' name VOL1
3 failgroup FG2 disk '/dev/oracleasm/disks/VOL2' name VOL2;
create diskgroup DG1 normal redundancy
*
ERROR at line 1:
ORA-15018: diskgroup cannot be created --下面提示磁碟路徑未在discovery set中設定
ORA-15031: disk specification '/dev/oracleasm/disks/VOL2' matches no disks
ORA-15014: location '/dev/oracleasm/disks/VOL2' is not in the discovery set
ORA-15031: disk specification '/dev/oracleasm/disks/VOL1' matches no disks
ORA-15014: location '/dev/oracleasm/disks/VOL1' is not in the discovery set
SQL> show parameter asm_diskstring
NAME TYPE VALUE
---------------- ----------- ------------------------------
asm_diskstring string
SQL> alter system set asm_diskstring='/dev/oracleasm/disks/VOL*';
SQL> create diskgroup DG1 normal redundancy --設定asm_diskstring後重新建立磁碟DG1成功
2 failgroup FG1 disk '/dev/oracleasm/disks/VOL1' name VOL1
3 failgroup FG2 disk '/dev/oracleasm/disks/VOL2' name VOL2;
SQL> select name,state,free_mb,required_mirror_free_mb,usable_file_mb
2 from v$asm_diskgroup;
NAME STATE FREE_MB REQUIRED_MIRROR_FREE_MB USABLE_FILE_MB
------- ----------- ---------- ----- -------------
DG1 MOUNTED 2964 0 1482
-----------------------------------------------------------------------------------------------------------------------
2014.5.14 16:26
share you knowledge with the world.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/12798004/viewspace-1161182/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 2.4.6 Step 5: (Windows)建立例項Windows
- Linkerd 2.10(Step by Step)—4. 如何配置外部 Prometheus 例項Prometheus
- 2.4.9 Step 8: 啟動例項
- Step by Step Data Replication Using Oracle GoldenGateOracleGo
- 2.4.7 Step 6: 連線到例項
- 10GR2下建立物理standby STEP BY STEP
- React Step by StepReact
- 2.4.8 Step 7: 建立spfile
- Command 模式 Step by Step模式
- Shell Step by Step (4) —— Cron & Echo
- Promise的實現(step by step)Promise
- 2.4.15 Step 14: (可選) 開啟自動例項啟動
- 【Oracle】ASM例項安裝入門OracleASM
- TIDB DM資料同步step by stepTiDB
- Step by Step 安裝 BizTalk Server 2009Server
- 單步除錯 step into/step out/step over 區別詳解除錯
- ABP應用開發(Step by Step)-下篇
- ABP應用開發(Step by Step)-上篇
- 實時 Linux 抖動分析 Step by stepLinux
- 2.4.10 Step 9:手工建立資料庫資料庫
- Linkerd 2.10(Step by Step)—多叢集通訊
- Sql Server Linux(Redhat) Distributed Availability Group Setup — step by stepSQLServerLinuxRedhatAI
- Step-by-step,打造屬於自己的vue ssrVue
- Adaboost Algorithm StepGo
- 深度學習之step by step搭建神經網路深度學習神經網路
- Linkerd 2.10(Step by Step)—使用 Kustomize 自定義 Linkerd 的配置
- Linkerd 2.10(Step by Step)—設定服務配置檔案
- 2.4.11 Step 10: 建立額外的表空間
- 使用Eclipse 安裝 構建Maven專案 (step-by-step)EclipseMaven
- HTML step 屬性HTML
- Oracle 11gR2 ASM例項記憶體管理OracleASM記憶體
- 2.4.5 Step 4: 建立初始化引數檔案
- 2.4.2 Step 1: 指定例項識別符號 (SID)符號
- 【Step-By-Step】高頻面試題深入解析 / 週刊06面試題
- 【Step-By-Step】高頻面試題深入解析 / 週刊07面試題
- 【Step-By-Step】高頻面試題深入解析 / 週刊04面試題
- 【Step-By-Step】高頻面試題深入解析 / 週刊05面試題
- 【Step-By-Step】高頻面試題深入解析 / 週刊03面試題
- 【Step-By-Step】高頻面試題深入解析 / 週刊01面試題