标签云
asm恢复 bbed bootstrap$ dul In Memory kcbzib_kcrsds_1 kccpb_sanity_check_2 kfed MySQL恢复 ORA-00312 ORA-00607 ORA-00704 ORA-01110 ORA-01555 ORA-01578 ORA-08103 ORA-600 2131 ORA-600 2662 ORA-600 2663 ORA-600 3020 ORA-600 4000 ORA-600 4137 ORA-600 4193 ORA-600 4194 ORA-600 16703 ORA-600 kcbzib_kcrsds_1 ORA-600 KCLCHKBLK_4 ORA-15042 ORA-15196 ORACLE 12C oracle dul ORACLE PATCH Oracle Recovery Tools oracle加密恢复 oracle勒索 oracle勒索恢复 oracle异常恢复 Oracle 恢复 ORACLE恢复 ORACLE数据库恢复 oracle 比特币 OSD-04016 YOUR FILES ARE ENCRYPTED 勒索恢复 比特币加密文章分类
- Others (2)
- 中间件 (2)
- WebLogic (2)
- 操作系统 (102)
- 数据库 (1,682)
- DB2 (22)
- MySQL (73)
- Oracle (1,544)
- Data Guard (52)
- EXADATA (8)
- GoldenGate (24)
- ORA-xxxxx (159)
- ORACLE 12C (72)
- ORACLE 18C (6)
- ORACLE 19C (15)
- ORACLE 21C (3)
- Oracle 23ai (7)
- Oracle ASM (67)
- Oracle Bug (8)
- Oracle RAC (53)
- Oracle 安全 (6)
- Oracle 开发 (28)
- Oracle 监听 (28)
- Oracle备份恢复 (565)
- Oracle安装升级 (92)
- Oracle性能优化 (62)
- 专题索引 (5)
- 勒索恢复 (79)
- PostgreSQL (18)
- PostgreSQL恢复 (6)
- SQL Server (27)
- SQL Server恢复 (8)
- TimesTen (7)
- 达梦数据库 (2)
- 生活娱乐 (2)
- 至理名言 (11)
- 虚拟化 (2)
- VMware (2)
- 软件开发 (37)
- Asp.Net (9)
- JavaScript (12)
- PHP (2)
- 小工具 (20)
-
最近发表
- 断电引起的ORA-08102: 未找到索引关键字, 对象号 39故障处理
- ORA-00227: corrupt block detected in control file
- 手工删除19c rac
- 解决oracle数据文件路径有回车故障
- .wstop扩展名勒索数据库恢复
- Oracle Recovery Tools工具一键解决ORA-00376 ORA-01110故障(文件offline)
- OGG-02771 Input trail file format RELEASE 19.1 is different from previous trail file form at RELEASE 11.2.
- OGG-02246 Source redo compatibility level 19.0.0 requires trail FORMAT 12.2 or higher
- GoldenGate 19安装和打patch
- dd破坏asm磁盘头恢复
- 删除asmlib磁盘导致磁盘组故障恢复
- Kylin Linux 安装19c
- ORA-600 krse_arc_complete.4
- Oracle 19c 202410补丁(RUs+OJVM)
- ntfs MFT损坏(ntfs文件系统故障)导致oracle异常恢复
- .mkp扩展名oracle数据文件加密恢复
- 清空redo,导致ORA-27048: skgfifi: file header information is invalid
- A_H_README_TO_RECOVER勒索恢复
- 通过alert日志分析客户自行对一个数据库恢复的来龙去脉和点评
- ORA-12514: TNS: 监听进程不能解析在连接描述符中给出的SERVICE_NAME
标签归档:bbed ora-1578
bbed解决ORA-01578
业务报ORA-01578坏块,无法正常使用,alert日志报错如下
Reading datafile '/data/u01/ZLDOCXML01.DBF' for corruption at rdba: 0x02efdc97 (file 11, block 3136663) Reread (file 11, block 3136663) found same corrupt data Wed Sep 13 19:02:04 2023 Corrupt Block Found TSN = 10, TSNAME = ZLDOCXML RFN = 11, BLK = 3136663, RDBA = 49274007 OBJN = 73646, OBJD = 73646, OBJECT = SYS_LOB0000073645C00029$$, SUBOBJECT = SEGMENT OWNER = ZLDOC, SEGMENT TYPE = Lob Segment DDE: Problem Key 'ORA 1578' was completely flood controlled (0x6) Further messages for this problem key will be suppressed for up to 10 minutes
通过dbv检查数据文件,发现只有这一个坏块
[oracle@zlemr ~]$ dbv file=/data/u01/ZLDOCXML01.DBF DBVERIFY: Release 11.2.0.1.0 - Production on Wed Sep 13 17:51:03 2023 Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved. DBVERIFY - Verification starting : FILE = /data/u01/ZLDOCXML01.DBF Page 3136663 is influx - most likely media corrupt Corrupt block relative dba: 0x02efdc97 (file 11, block 3136663) Fractured block found during dbv: Data in bad block: type: 40 format: 2 rdba: 0x02efdc97 last change scn: 0x0002.1065d622 seq: 0x2 flg: 0x04 spare1: 0x0 spare2: 0x0 spare3: 0x0 consistency value in tail: 0x00000001 check value in block header: 0x48cf computed block checksum: 0xfe21 DBVERIFY - Verification complete Total Pages Examined : 3289600 Total Pages Processed (Data) : 0 Total Pages Failing (Data) : 0 Total Pages Processed (Index): 21037 Total Pages Failing (Index): 0 Total Pages Processed (Lob) : 2051270 Total Pages Failing (Lob) : 0 Total Pages Processed (Other): 1068900 Total Pages Processed (Seg) : 0 Total Pages Failing (Seg) : 0 Total Pages Empty : 148392 Total Pages Marked Corrupt : 1 Total Pages Influx : 1 Total Pages Encrypted : 0 Highest block SCN : 278716397 (2.278716397)
通过bbed进入进行修复
[oracle@zlemr ~]$ bbed Password: BBED: Release 2.0.0.0.0 - Limited Production on Wed Sep 13 19:05:53 2023 Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved. ************* !!! For Oracle Internal Use only !!! *************** BBED> set filename '/data/u01/ZLDOCXML01.DBF' FILENAME /data/u01/ZLDOCXML01.DBF BBED> set block 3136663 BLOCK# 3136663 BBED> verify DBVERIFY - Verification starting FILE = /data/u01/ZLDOCXML01.DBF BLOCK = 3136663 Block 3136663 is corrupt Corrupt block relative dba: 0x02efdc97 (file 0, block 3136663) Fractured block found during verification Data in bad block: type: 40 format: 2 rdba: 0x02efdc97 last change scn: 0x0002.1065d622 seq: 0x2 flg: 0x04 spare1: 0x0 spare2: 0x0 spare3: 0x0 consistency value in tail: 0x00000001 check value in block header: 0x48cf computed block checksum: 0xfe21 DBVERIFY - Verification complete Total Blocks Examined : 1 Total Blocks Processed (Data) : 0 Total Blocks Failing (Data) : 0 Total Blocks Processed (Index): 0 Total Blocks Failing (Index): 0 Total Blocks Empty : 0 Total Blocks Marked Corrupt : 1 Total Blocks Influx : 2 Message 531 not found; product=RDBMS; facility=BBED BBED> map File: /data/u01/ZLDOCXML01.DBF (0) Block: 3136663 Dba:0x00000000 ------------------------------------------------------------ BBED-00400: invalid blocktype (40) BBED> d File: /data/u01/ZLDOCXML01.DBF (0) Block: 3136663 Offsets: 0 to 511 Dba:0x00000000 ------------------------------------------------------------------------ 28a20000 97dcef02 22d66510 02000204 cf480000 ae1f0100 00000001 00000280 93840000 00000000 00000000 00000000 80dcef02 00000000 000d000a 005b4e3b 6cbb533b 5e0867e5 623f8bb0 5f55005d 000d000a 4e3b6cbb 533b5e08 67e5623f 8bb05f55 00320030 00320033 002d0030 0039002d 00310033 00200030 0039003a 00310036 000d000a 4eca65e5 968f9ec4 4e1d51e4 4e3b6cbb 533b5e08 67e5623f 002c60a3 80058bc9 65e08179 75dbff0c 65e053d1 70ed3001 754f5bd2 ff0c65e0 59346655 30015934 75db3001 773c82b1 ff0c65e0 9f3b585e 30016d41 6d953001 54bd75db 300154b3 55fd3001 54b375f0 ff0c65e0 60765fc3 30015455 5410ff0c 65e080f8 95f73001 5fc360b8 3001547c 543856f0 96beff0c 65e05c3f 98913001 5c3f6025 30015c3f 75dbff0c 65e08179 6cfb7b49 4e0d9002 ff0c7cbe 795e3001 98df6b32 30017761 772053ef ff0c5927 5c0f4fbf 6b635e38 300267e5 4f53ff1a 751f547d 5f816b63 5e38ff0c 54bd65e0 51458840 ff0c6241 68434f53 65e080bf 5927ff0c 53cc4fa7 4e73623f 4e0d80c0 ff0c4e73 6c415206 6ccc591a ff0c672a 89e653ca 786c7ed3 ff0c5fc3 80ba672a 89c1660e 663e5f02 5e38ff0c 81798f6f ff0c8179 90e8538b 75dbff0c 65e053cd 8df375db ff0c80a0 9e2397f3 6b635e38 30028f85 52a968c0 67e5ff1a 767d5e26 5e3889c4 ff1a767d 7ec680de 0020002b <32 bytes per line> BBED> set offset 8188 OFFSET 8188 BBED> d File: /data/u01/ZLDOCXML01.DBF (0) Block: 3136663 Offsets: 8188 to 8191 Dba:0x00000000 ------------------------------------------------------------------------ 01000000 <32 bytes per line> BBED> set count 32 COUNT 32 BBED> set mode edit MODE Edit BBED> d File: /data/u01/ZLDOCXML01.DBF (0) Block: 3136663 Offsets: 14 to 45 Dba:0x00000000 ------------------------------------------------------------------------ 0204cf48 0000ae1f 01000000 00010000 02809384 00000000 00000000 00000000 <32 bytes per line> BBED> set offset 8188 OFFSET 8188 BBED> m /x 022822d6 File: /data/u01/ZLDOCXML01.DBF (0) Block: 3136663 Offsets: 8188 to 8191 Dba:0x00000000 ------------------------------------------------------------------------ 022822d6 <32 bytes per line> BBED> sum apply Check value for File 0, Block 3136663: current = 0x48cf, required = 0x48cf BBED> verify DBVERIFY - Verification starting FILE = /data/u01/ZLDOCXML01.DBF BLOCK = 3136663 DBVERIFY - Verification complete Total Blocks Examined : 1 Total Blocks Processed (Data) : 0 Total Blocks Failing (Data) : 0 Total Blocks Processed (Index): 0 Total Blocks Failing (Index): 0 Total Blocks Empty : 0 Total Blocks Marked Corrupt : 0 Total Blocks Influx : 0 Message 531 not found; product=RDBMS; facility=BBED
dbv检测文件正常
[oracle@zlemr ~]$ dbv file=/data/u01/ZLDOCXML01.DBF DBVERIFY: Release 11.2.0.1.0 - Production on Wed Sep 13 19:17:21 2023 Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved. DBVERIFY - Verification starting : FILE = /data/u01/ZLDOCXML01.DBF DBVERIFY - Verification complete Total Pages Examined : 3289600 Total Pages Processed (Data) : 0 Total Pages Failing (Data) : 0 Total Pages Processed (Index): 21037 Total Pages Failing (Index): 0 Total Pages Processed (Lob) : 2051586 Total Pages Failing (Lob) : 0 Total Pages Processed (Other): 1069031 Total Pages Processed (Seg) : 0 Total Pages Failing (Seg) : 0 Total Pages Empty : 147946 Total Pages Marked Corrupt : 0 Total Pages Influx : 0 Total Pages Encrypted : 0 Highest block SCN : 278849105 (2.278849105)
业务测试正常,数据完美恢复