标签云
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,655)
- DB2 (22)
- MySQL (71)
- Oracle (1,519)
- Data Guard (51)
- EXADATA (8)
- GoldenGate (21)
- ORA-xxxxx (158)
- ORACLE 12C (72)
- ORACLE 18C (6)
- ORACLE 19C (14)
- ORACLE 21C (3)
- Oracle 23ai (7)
- Oracle ASM (65)
- Oracle Bug (8)
- Oracle RAC (52)
- Oracle 安全 (6)
- Oracle 开发 (28)
- Oracle 监听 (28)
- Oracle备份恢复 (553)
- Oracle安装升级 (90)
- Oracle性能优化 (62)
- 专题索引 (5)
- 勒索恢复 (76)
- 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)
-
最近发表
- RAC默认服务配置优先节点
- Oracle 19c RAC 替换私网操作
- 监听报TNS-12541 TNS-12560 TNS-00511错误
- drop tablespace xxx including contents恢复
- Linux 8 修改网卡名称
- 如何修改集群的公网信息(包括 VIP) (Doc ID 1674442.1)
- 如何在 oracle 集群环境下修改私网信息 (Doc ID 2103317.1)
- ORA-600 [kcvfdb_pdb_set_clean_scn: cleanckpt] 相关bug
- ORA-600 krhpfh_03-1210故障处理
- 19c库启动报ORA-600 kcbzib_kcrsds_1
- DBMS_SESSION.set_context提示ORA-01031问题解决
- redo写丢失导致ORA-600 kcrf_resilver_log_1故障
- 硬件故障导致ORA-01242 ORA-01122等错误
- 200T 数据库非归档无备份恢复
- 利用flashback快速恢复failover 的备库
- [comingback2022@cock.li].eking和[tsai.shen@mailfence.com].faust扩展名勒索病毒数据库可以完美恢复
- opatch auto 出现unable to get oracle owner for 错误
- Oracle 23ai 表和视图的列最多支持到4096个
- 断电引起redo和数据文件不一致故障恢复
- ORA-03113: 通信通道的文件结尾
标签归档:bbed 恢复
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)
业务测试正常,数据完美恢复