ASM磁盘组丢失,ORA-15180,ORA-01115,ORA-01110,ORA-15081,ORA-00202,ORA-15081,ORA-15097

启动数据库,提示ORA-01115: IO error reading block from file,可能是asm出问题,关闭asm,提示ORA-15097: cannot SHUTDOWN ASM instance with connected client

# oracleasm status
Checking if ASM is loaded: yes
Checking if /dev/oracleasm is mounted: yes

# oracleasm listdisks
VOL01
VOL02
VOL03
VOL04
VOL05
VOL06

asm磁盘正常


切换到grid用户

# su - grid

$ asmca

磁盘组是空的,asm磁盘组丢失

查看alert日志

ORA-15180: could not open dynamic library ASM Library - Generic Linux, version 2.0.4 (KABI_V2), error [open]
ORA-01115: IO error reading block from file  (block # )
ORA-01110: data file 2: '+DG01/ora10/datafile/sysaux.257.846843789'
ORA-15081: failed to submit an I/O operation to a disk
ERROR: error ORA-15180 caught in ASM I/O path 
Errors in file /u01/app/oracle/diag/rdbms/ora10/ora10/trace/ora10_j001_1438.trc:

ORA-00202: control file: '+DG01/ora10/controlfile/current.260.846843997'
ORA-15081: failed to submit an I/O operation to a disk

一大堆的错误,关键是磁盘组动态库无法加载,查看动态库位置,发现文件被删除了,重新安装动态磁盘库

# rpm -ivh --force oracleasm*

因为我的动态库安装包在opt目录,所以,安装完后,会有动态库的目录oracle生成

# ll
总计 2444696
drwxr-xr-x 3 root root       4096 05-09 14:09 oracle
-rw-r--r-- 1 root root     136910 05-05 13:34 oracleasm-2.6.18-164.el5-2.0.5-1.el5.x86_64.rpm
-rw-r--r-- 1 root root      14176 05-05 13:29 oracleasmlib-2.0.4-1.el5.x86_64.rpm
-rw-r--r-- 1 root root      90225 05-05 13:29 oracleasm-support-2.1.8-1.el5.x86_64.rpm

重启下,系统,错误消失。

你可能感兴趣的:(oracle,ASM故障)