ASM磁盘组没有mount的解决办法

启动数据库时报错如下:
SQL> startup;
ORA-01078: failure in processing system parameters
ORA-01565: error in identifying file '+DG1/devdb/spfiledevdb.ora'
ORA-17503: ksfdopn:2 Failed to open file +DG1/devdb/spfiledevdb.ora
ORA-15077: could not locate ASM instance serving a required diskgroup
asm实例没有启动,导致rac不能正常启动。
SQL> select name,state from v$asm_diskgroup;

NAME                           STATE
------------------------------ -----------
RECOVERYDEST                   DISMOUNTED
DG1                            DISMOUNTED
果然如此。

[oracle@rdb1]$ export ORACLE_SID=+ASM1
[oracle@rdb1]$ sqlplus / as sysdba

SQL*Plus: Release 10.2.0.4.0 - Production on Sat Mar 05 22:13:23 2008

Copyright (c) 1982, 2005, Oracle. All rights reserved.


Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, Real Application Clusters, OLAP and Data Mining options

SQL> shutdown immediate;
ORA-15100: invalid or missing diskgroup name


ASM instance shutdown
SQL> startup;
ASM instance started

Total System Global Area   92354688 bytes
Fixed Size                  1197884 bytes
Variable Size              64790980 bytes
ASM Cache                  23465824 bytes
ORA-15110: no diskgroups mounted



SQL> alter diskgroup RECOVERYDEST mount;

Diskgroup altered.

SQL> alter diskgroup DG1 mount;

Diskgroup altered.

SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, Real Application Clusters, OLAP and Data Mining options
[oracle@rdb1 bdump]$ export ORACLE_SID=devdb1
[oracle@rdb1 bdump]$ sqlplus /nolog

SQL*Plus: Release 10.2.0.4.0 - Production on Sat Mar 05 22:15:50 2008

Copyright (c) 1982, 2005, Oracle. All rights reserved.

SQL> startup;
ORA-01031: insufficient privileges
SQL> conn / as sysdba
Connected to an idle instance.
SQL> startup mount;
ORACLE instance started.

Total System Global Area 264241152 bytes
Fixed Size                  1328668 bytes
Variable Size             107963544 bytes
Database Buffers          151874944 bytes
Redo Buffers                2863466 bytes
Database mounted.

SQL> alter database open;

Database altered.

你可能感兴趣的:(ASM,职场,mount,休闲)