Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The use of bbed and od to recover deleted data files

2025-03-12 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

How to use bbed (bbed and od together) to get a file id Complete the repair of missing data file su-oraclecd $ORACLE_HOME/rdbms/libmake-f ins_rdbms.mk $ORACLE_HOME/rdbms/lib/bbed find the fd1 of the corresponding file. [root@11g ~] # ps-ef | grep dbworacle 3257 10 03:57? 00:00:00 ora_dbw0_orclroot 3723 3709 0 06:44 pts/0 00:00:00 grep dbw2. [root@11g ~] # lsof-p 3257...oracle 3257 oracle 258uW REG 8 oracle 259uW REG 3 734011392 789836 / oracle/app/oradata/orcl/system01.dbforacle 3257 oracle 259uW REG 8 oracle 259uW REG 3 629153792 789839 / oracle/app/oradata/orcl/sysaux01.dbforacle 3257 oracle 260uW REG 8 oracle 260uW REG 3 209723392 789840 / oracle/app/oradata/orcl/undotbs01.dbforacle 3257 oracle 261uW REG 8people 3 5251072 789932 / oracle/app/oradata/orcl/users03.dbforacle 3257 oracle 262uW REG 8 people 320979712789841 / oracle/app/oradata/orcl/temp01.dbf...3. [root@11g] # cd / proc/3257/fd/2584.bbed (password is blockedit) BBED > set filename'/ proc/3257/fd/258' FILENAME / proc/3257/fd/258BBED > set blocksize 8192 BLOCKSIZE 8192BBED > p kcvfh.kcvfhrfnub4 kcvfhrfn @ 368 0x000000014. (od-j-t x1 | head-1) [root@11g fd] # od-j 8560-t d2 258 | head-10020560 10000 00 file# [root@11g fd] # od-j 8560-t d2260 | head-1 0020560 3000 0 file#

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report