测试环境,启动DB状态不正常
检查DB ALERT发现无法在+DATA磁盘组空间不足,ASMCMD lsdg确认空间问题,删除归档后,问题处理。
$ srvctl start database -d rac
$ crsctl stat res -t
ora.rac.db 1 ONLINE INTERMEDIATE a1 Stuck Archiver 2 ONLINE ONLINE a2 Open ************************************************************* ARC0: Error 19504 Creating archive log file to '+DATA' Unable to create archive log file '+DATA' Errors in file /picclife/app/oracle/diag/rdbms/liuliu/rac1/trace/rac1_arc1_27479.trc: ORA-19816: WARNING: Files may exist in db_recovery_file_dest that are not known to database. ORA-17502: ksfdcre:4 Failed to create file +DATA ORA-15041: diskgroup "DATA" space exhausted ************************************************************* WARNING: A file of type ARCHIVED LOG may exist in db_recovery_file_dest that is not known to the database. Use the RMAN command CATALOG RECOVERY AREA to re-catalog any such files. If files cannot be cataloged, then manually delete them using OS command. This is most likely the result of a crash during file creation. ************************************************************* ARC1: Error 19504 Creating archive log file to '+DATA ASMCMD> lsdg State Type Rebal Sector Block AU Total_MB Free_MB Req_mir_free_MB Usable_file_MB Offline_disks Voting_files Name MOUNTED NORMAL N 512 4096 1048576 16384 58 0 29 0 N DATA/ MOUNTED EXTERN N 512 4096 1048576 8192 7688 0 7688 0 N FRA/ $ rman target / RMAN> delete archivelog all; Do you really want to delete the above objects (enter YES or NO)? yes deleted archived log archived log file name=+DATA/liuliu/archivelog/2020_01_19/thread_1_seq_18.261.1030100623 RECID=2 STAMP=1030100622