[root@wssdb11 oracle]# find /oracle -size +1G -type f
65255b33003c415ac.png(88.32 KB)
通过命令查找发现,/oracle/app/11.2.0/grid/crf/db/wssdb11/crfclust.bdb文件大小超过了1GB。于是发现原来是CHM(Cluster Health Monitor)服务未关导致crf文件无限增长导致磁盘空间占满,进入目录查看,发现crfclust.bdb文件大小已经到了22GB。
462405b33006f5a732.png(162.67 KB)
一、删除过大的crf文件,并且关闭ora.crf。
二、删除过大的crf文件,并且应用Patch 10165314进行修复。
本次采用方法一解决问题。
1、查看ora.crf 服务;
2、停止ora.crf服务;
3、删除过大的crf文件;
4、核查磁盘空间;
[root@wssdb11 wssdb11]# su - grid -c "crsctl stat res ora.crf -init" ----查看crf服务状态
NAME=ora.crf
TYPE=ora.crf.type
TARGET=ONLINE
STATE=ONLINE on wssdb11
[root@wssdb11 wssdb11]#
[root@wssdb11 wssdb11]# su - grid -c "crsctl stop res ora.crf -init" ----停止crf服务
CRS-2673: Attempting to stop 'ora.crf' on 'wssdb11'
CRS-2677: Stop of 'ora.crf' on 'wssdb11' succeeded
[root@wssdb11 wssdb11]#
[root@wssdb11 wssdb11]#
[root@wssdb11 wssdb11]# du -hs crf*.bdb ----检查文件大小,并用rm命令删除文件
473M crfalert.bdb
22G crfclust.bdb
8.0K crfconn.bdb
447M crfcpu.bdb
447M crfhosts.bdb
538M crfloclts.bdb
349M crfts.bdb
[root@wssdb11 wssdb11]#
[root@wssdb11 wssdb11]# su - grid -c "crsctl stat res ora.crf -init" ---核实crf状态,确保其处于关闭状态