ITPub博客

首页 > Linux操作系统 > Linux操作系统 > bbed实验四 file header reset

bbed实验四 file header reset

原创 Linux操作系统 作者:v_fantasy 时间:2009-04-04 11:11:06 0 删除 编辑

noarchivelog模式,从backupset中恢复了一个文件,现在库打不开

SQL> alter database open;
alter database open
*
ERROR at line 1:
ORA-01113: file 4 needs media recovery
ORA-01110: data file 4: '/dev/rzz_01_lv'


进入bbed开始修改

BBED>
BBED>
BBED> map /v
 File: /dev/rzz_system_lv (1)
 Block: 1                                     Dba:0x00400001
------------------------------------------------------------
 Data File Header

 struct kcvfh, 676 bytes                    @0      
    struct kcvfhbfh, 20 bytes               @0      
    struct kcvfhhdr, 76 bytes               @20     
    ub4 kcvfhrdb                            @96     
    struct kcvfhcrs, 8 bytes                @100    
    ub4 kcvfhcrt                            @108    
    ub4 kcvfhrlc                            @112    
    struct kcvfhrls, 8 bytes                @116    
    ub4 kcvfhbti                            @124    
    struct kcvfhbsc, 8 bytes                @128    
    ub2 kcvfhbth                            @136    
    ub2 kcvfhsta                            @138    
    struct kcvfhckp, 160 bytes              @484    
    ub4 kcvfhcpc                            @140    
    ub4 kcvfhrts                            @144    
    ub4 kcvfhccc                            @148    
    struct kcvfhbcp, 160 bytes              @152    
    ub4 kcvfhbhz                            @312    
    struct kcvfhxcd, 16 bytes               @316    
    word kcvfhtsn                           @332    
    ub2 kcvfhtln                            @336    
    text kcvfhtnm[30]                       @338    
    ub4 kcvfhrfn                            @368    
    struct kcvfhrfs, 8 bytes                @372    
    ub4 kcvfhrft                            @380    
    struct kcvfhafs, 8 bytes                @384    
    ub4 kcvfhbbc                            @392    
    ub4 kcvfhncb                            @396    
    ub4 kcvfhmcb                            @400    
    ub4 kcvfhlcb                            @404    
    ub4 kcvfhbcs                            @408    
    ub2 kcvfhofb                            @412    
    ub2 kcvfhnfb                            @414    
    ub4 kcvfhprc                            @416    
    struct kcvfhprs, 8 bytes                @420    
    struct kcvfhprfs, 8 bytes               @428    
    ub4 kcvfhtrt                            @444    

 ub4 tailchk                                @8188   


BBED> p kcvfhckp
struct kcvfhckp, 160 bytes                  @484    
   struct kcvcpscn, 8 bytes                 @484    
      ub4 kscnbas                           @484      0x06e0ceec
      ub2 kscnwrp                           @488      0x09c3
   ub4 kcvcptim                             @492      0x28ba3781
   ub2 kcvcpthr                             @496      0x0001
   union u, 12 bytes                        @500    
      struct kcvcprba, 12 bytes             @500    
         ub4 kcrbaseq                       @500      0x00000015
         ub4 kcrbabno                       @504      0x00018145
         ub2 kcrbabof                       @508      0x0010
   ub1 kcvcpetb[0]                          @512      0x02
   ub1 kcvcpetb[1]                          @513      0x00
   ub1 kcvcpetb[2]                          @514      0x00
   ub1 kcvcpetb[3]                          @515      0x00
   ub1 kcvcpetb[4]                          @516      0x00
   ub1 kcvcpetb[5]                          @517      0x00
   ub1 kcvcpetb[6]                          @518      0x00
   ub1 kcvcpetb[7]                          @519      0x00
   ub1 kcvcpetb[8]                          @520      0x00
   ub1 kcvcpetb[9]                          @521      0x00
   ub1 kcvcpetb[10]                         @522      0x00
   ub1 kcvcpetb[11]                         @523      0x00
   ub1 kcvcpetb[12]                         @524      0x00
   ub1 kcvcpetb[13]                         @525      0x00
   ub1 kcvcpetb[14]                         @526      0x00
   ub1 kcvcpetb[15]                         @527      0x00
   ub1 kcvcpetb[16]                         @528      0x00
   ub1 kcvcpetb[17]                         @529      0x00
   ub1 kcvcpetb[18]                         @530      0x00
   ub1 kcvcpetb[19]                         @531      0x00
   ub1 kcvcpetb[20]                         @532      0x00
   ub1 kcvcpetb[21]                         @533      0x00
   ub1 kcvcpetb[22]                         @534      0x00
   ub1 kcvcpetb[23]                         @535      0x00
   ub1 kcvcpetb[24]                         @536      0x00
   ub1 kcvcpetb[25]                         @537      0x00
   ub1 kcvcpetb[26]                         @538      0x00
   ub1 kcvcpetb[27]                         @539      0x00
   ub1 kcvcpetb[28]                         @540      0x00
   ub1 kcvcpetb[29]                         @541      0x00
   ub1 kcvcpetb[30]                         @542      0x00
   ub1 kcvcpetb[31]                         @543      0x00
   ub1 kcvcpetb[32]                         @544      0x00
   ub1 kcvcpetb[33]                         @545      0x00
   ub1 kcvcpetb[34]                         @546      0x00
   ub1 kcvcpetb[35]                         @547      0x00
   ub1 kcvcpetb[36]                         @548      0x00
   ub1 kcvcpetb[37]                         @549      0x00
   ub1 kcvcpetb[38]                         @550      0x00
   ub1 kcvcpetb[39]                         @551      0x00
   ub1 kcvcpetb[40]                         @552      0x00
   ub1 kcvcpetb[41]                         @553      0x00
   ub1 kcvcpetb[42]                         @554      0x00
   ub1 kcvcpetb[43]                         @555      0x00
   ub1 kcvcpetb[44]                         @556      0x00
   ub1 kcvcpetb[45]                         @557      0x00
   ub1 kcvcpetb[46]                         @558      0x00
   ub1 kcvcpetb[47]                         @559      0x00
   ub1 kcvcpetb[48]                         @560      0x00
   ub1 kcvcpetb[49]                         @561      0x00
   ub1 kcvcpetb[50]                         @562      0x00
   ub1 kcvcpetb[51]                         @563      0x00
   ub1 kcvcpetb[52]                         @564      0x00
   ub1 kcvcpetb[53]                         @565      0x00
   ub1 kcvcpetb[54]                         @566      0x00
   ub1 kcvcpetb[55]                         @567      0x00
   ub1 kcvcpetb[56]                         @568      0x00
   ub1 kcvcpetb[57]                         @569      0x00
   ub1 kcvcpetb[58]                         @570      0x00
   ub1 kcvcpetb[59]                         @571      0x00
   ub1 kcvcpetb[60]                         @572      0x00
   ub1 kcvcpetb[61]                         @573      0x00
   ub1 kcvcpetb[62]                         @574      0x00
   ub1 kcvcpetb[63]                         @575      0x00
   ub1 kcvcpetb[64]                         @576      0x00
   ub1 kcvcpetb[65]                         @577      0x00
   ub1 kcvcpetb[66]                         @578      0x00
   ub1 kcvcpetb[67]                         @579      0x00
   ub1 kcvcpetb[68]                         @580      0x00
   ub1 kcvcpetb[69]                         @581      0x00
   ub1 kcvcpetb[70]                         @582      0x00
   ub1 kcvcpetb[71]                         @583      0x00
   ub1 kcvcpetb[72]                         @584      0x00
   ub1 kcvcpetb[73]                         @585      0x00
   ub1 kcvcpetb[74]                         @586      0x00
   ub1 kcvcpetb[75]                         @587      0x00
   ub1 kcvcpetb[76]                         @588      0x00
   ub1 kcvcpetb[77]                         @589      0x00
   ub1 kcvcpetb[78]                         @590      0x00
   ub1 kcvcpetb[79]                         @591      0x00
   ub1 kcvcpetb[80]                         @592      0x00
   ub1 kcvcpetb[81]                         @593      0x00
   ub1 kcvcpetb[82]                         @594      0x00
   ub1 kcvcpetb[83]                         @595      0x00
   ub1 kcvcpetb[84]                         @596      0x00
   ub1 kcvcpetb[85]                         @597      0x00
   ub1 kcvcpetb[86]                         @598      0x00
   ub1 kcvcpetb[87]                         @599      0x00
   ub1 kcvcpetb[88]                         @600      0x00
   ub1 kcvcpetb[89]                         @601      0x00
   ub1 kcvcpetb[90]                         @602      0x00
   ub1 kcvcpetb[91]                         @603      0x00
   ub1 kcvcpetb[92]                         @604      0x00
   ub1 kcvcpetb[93]                         @605      0x00
   ub1 kcvcpetb[94]                         @606      0x00
   ub1 kcvcpetb[95]                         @607      0x00
   ub1 kcvcpetb[96]                         @608      0x00
   ub1 kcvcpetb[97]                         @609      0x00
   ub1 kcvcpetb[98]                         @610      0x00
   ub1 kcvcpetb[99]                         @611      0x00
   ub1 kcvcpetb[100]                        @612      0x00
   ub1 kcvcpetb[101]                        @613      0x00
   ub1 kcvcpetb[102]                        @614      0x00
   ub1 kcvcpetb[103]                        @615      0x00
   ub1 kcvcpetb[104]                        @616      0x00
   ub1 kcvcpetb[105]                        @617      0x00
   ub1 kcvcpetb[106]                        @618      0x00
   ub1 kcvcpetb[107]                        @619      0x00
   ub1 kcvcpetb[108]                        @620      0x00
   ub1 kcvcpetb[109]                        @621      0x00
   ub1 kcvcpetb[110]                        @622      0x00
   ub1 kcvcpetb[111]                        @623      0x00
   ub1 kcvcpetb[112]                        @624      0x00
   ub1 kcvcpetb[113]                        @625      0x00
   ub1 kcvcpetb[114]                        @626      0x00
   ub1 kcvcpetb[115]                        @627      0x00
   ub1 kcvcpetb[116]                        @628      0x00
   ub1 kcvcpetb[117]                        @629      0x00
   ub1 kcvcpetb[118]                        @630      0x00
   ub1 kcvcpetb[119]                        @631      0x00
   ub1 kcvcpetb[120]                        @632      0x00
   ub1 kcvcpetb[121]                        @633      0x00
   ub1 kcvcpetb[122]                        @634      0x00
   ub1 kcvcpetb[123]                        @635      0x00
   ub1 kcvcpetb[124]                        @636      0x00
   ub1 kcvcpetb[125]                        @637      0x00
   ub1 kcvcpetb[126]                        @638      0x00
   ub1 kcvcpetb[127]                        @639      0x00
   ub1 kcvcpetb[128]                        @640      0x00

BBED>
BBED> p kcvfhcpc
ub4 kcvfhcpc                                @140      0x00000064

BBED> p kcvfhccc
ub4 kcvfhccc                                @148      0x00000063

BBED>
BBED>
BBED> set file 2
        FILE#           2

BBED>  set block 1
        BLOCK#          1

BBED> p kcvfhckp
struct kcvfhckp, 160 bytes                  @484    
   struct kcvcpscn, 8 bytes                 @484    
      ub4 kscnbas                           @484      0x06e0cce9
      ub2 kscnwrp                           @488      0x09c3
   ub4 kcvcptim                             @492      0x28ba35c5
   ub2 kcvcpthr                             @496      0x0001
   union u, 12 bytes                        @500    
      struct kcvcprba, 12 bytes             @500    
         ub4 kcrbaseq                       @500      0x00000015
         ub4 kcrbabno                       @504      0x00017f99
         ub2 kcrbabof                       @508      0x0010
   ub1 kcvcpetb[0]                          @512      0x02
   ub1 kcvcpetb[1]                          @513      0x00
   ub1 kcvcpetb[2]                          @514      0x00
   ub1 kcvcpetb[3]                          @515      0x00
   ub1 kcvcpetb[4]                          @516      0x00
   ub1 kcvcpetb[5]                          @517      0x00
   ub1 kcvcpetb[6]                          @518      0x00
   ub1 kcvcpetb[7]                          @519      0x00
   ub1 kcvcpetb[8]                          @520      0x00
   ub1 kcvcpetb[9]                          @521      0x00
   ub1 kcvcpetb[10]                         @522      0x00
   ub1 kcvcpetb[11]                         @523      0x00
   ub1 kcvcpetb[12]                         @524      0x00
   ub1 kcvcpetb[13]                         @525      0x00
   ub1 kcvcpetb[14]                         @526      0x00
   ub1 kcvcpetb[15]                         @527      0x00
   ub1 kcvcpetb[16]                         @528      0x00
   ub1 kcvcpetb[17]                         @529      0x00
   ub1 kcvcpetb[18]                         @530      0x00
   ub1 kcvcpetb[19]                         @531      0x00
   ub1 kcvcpetb[20]                         @532      0x00
   ub1 kcvcpetb[21]                         @533      0x00
   ub1 kcvcpetb[22]                         @534      0x00
   ub1 kcvcpetb[23]                         @535      0x00
   ub1 kcvcpetb[24]                         @536      0x00
   ub1 kcvcpetb[25]                         @537      0x00
   ub1 kcvcpetb[26]                         @538      0x00
   ub1 kcvcpetb[27]                         @539      0x00
   ub1 kcvcpetb[28]                         @540      0x00
   ub1 kcvcpetb[29]                         @541      0x00
   ub1 kcvcpetb[30]                         @542      0x00
   ub1 kcvcpetb[31]                         @543      0x00
   ub1 kcvcpetb[32]                         @544      0x00
   ub1 kcvcpetb[33]                         @545      0x00
   ub1 kcvcpetb[34]                         @546      0x00
   ub1 kcvcpetb[35]                         @547      0x00
   ub1 kcvcpetb[36]                         @548      0x00
   ub1 kcvcpetb[37]                         @549      0x00
   ub1 kcvcpetb[38]                         @550      0x00
   ub1 kcvcpetb[39]                         @551      0x00
   ub1 kcvcpetb[40]                         @552      0x00
   ub1 kcvcpetb[41]                         @553      0x00
   ub1 kcvcpetb[42]                         @554      0x00
   ub1 kcvcpetb[43]                         @555      0x00
   ub1 kcvcpetb[44]                         @556      0x00
   ub1 kcvcpetb[45]                         @557      0x00
   ub1 kcvcpetb[46]                         @558      0x00
   ub1 kcvcpetb[47]                         @559      0x00
   ub1 kcvcpetb[48]                         @560      0x00
   ub1 kcvcpetb[49]                         @561      0x00
   ub1 kcvcpetb[50]                         @562      0x00
   ub1 kcvcpetb[51]                         @563      0x00
   ub1 kcvcpetb[52]                         @564      0x00
   ub1 kcvcpetb[53]                         @565      0x00
   ub1 kcvcpetb[54]                         @566      0x00
   ub1 kcvcpetb[55]                         @567      0x00
   ub1 kcvcpetb[56]                         @568      0x00
   ub1 kcvcpetb[57]                         @569      0x00
   ub1 kcvcpetb[58]                         @570      0x00
   ub1 kcvcpetb[59]                         @571      0x00
   ub1 kcvcpetb[60]                         @572      0x00
   ub1 kcvcpetb[61]                         @573      0x00
   ub1 kcvcpetb[62]                         @574      0x00
   ub1 kcvcpetb[63]                         @575      0x00
   ub1 kcvcpetb[64]                         @576      0x00
   ub1 kcvcpetb[65]                         @577      0x00
   ub1 kcvcpetb[66]                         @578      0x00
   ub1 kcvcpetb[67]                         @579      0x00
   ub1 kcvcpetb[68]                         @580      0x00
   ub1 kcvcpetb[69]                         @581      0x00
   ub1 kcvcpetb[70]                         @582      0x00
   ub1 kcvcpetb[71]                         @583      0x00
   ub1 kcvcpetb[72]                         @584      0x00
   ub1 kcvcpetb[73]                         @585      0x00
   ub1 kcvcpetb[74]                         @586      0x00
   ub1 kcvcpetb[75]                         @587      0x00
   ub1 kcvcpetb[76]                         @588      0x00
   ub1 kcvcpetb[77]                         @589      0x00
   ub1 kcvcpetb[78]                         @590      0x00
   ub1 kcvcpetb[79]                         @591      0x00
   ub1 kcvcpetb[80]                         @592      0x00
   ub1 kcvcpetb[81]                         @593      0x00
   ub1 kcvcpetb[82]                         @594      0x00
   ub1 kcvcpetb[83]                         @595      0x00
   ub1 kcvcpetb[84]                         @596      0x00
   ub1 kcvcpetb[85]                         @597      0x00
   ub1 kcvcpetb[86]                         @598      0x00
   ub1 kcvcpetb[87]                         @599      0x00
   ub1 kcvcpetb[88]                         @600      0x00
   ub1 kcvcpetb[89]                         @601      0x00
   ub1 kcvcpetb[90]                         @602      0x00
   ub1 kcvcpetb[91]                         @603      0x00
   ub1 kcvcpetb[92]                         @604      0x00
   ub1 kcvcpetb[93]                         @605      0x00
   ub1 kcvcpetb[94]                         @606      0x00
   ub1 kcvcpetb[95]                         @607      0x00
   ub1 kcvcpetb[96]                         @608      0x00
   ub1 kcvcpetb[97]                         @609      0x00
   ub1 kcvcpetb[98]                         @610      0x00
   ub1 kcvcpetb[99]                         @611      0x00
   ub1 kcvcpetb[100]                        @612      0x00
   ub1 kcvcpetb[101]                        @613      0x00
   ub1 kcvcpetb[102]                        @614      0x00
   ub1 kcvcpetb[103]                        @615      0x00
   ub1 kcvcpetb[104]                        @616      0x00
   ub1 kcvcpetb[105]                        @617      0x00
   ub1 kcvcpetb[106]                        @618      0x00
   ub1 kcvcpetb[107]                        @619      0x00
   ub1 kcvcpetb[108]                        @620      0x00
   ub1 kcvcpetb[109]                        @621      0x00
   ub1 kcvcpetb[110]                        @622      0x00
   ub1 kcvcpetb[111]                        @623      0x00
   ub1 kcvcpetb[112]                        @624      0x00
   ub1 kcvcpetb[113]                        @625      0x00
   ub1 kcvcpetb[114]                        @626      0x00
   ub1 kcvcpetb[115]                        @627      0x00
   ub1 kcvcpetb[116]                        @628      0x00
   ub1 kcvcpetb[117]                        @629      0x00
   ub1 kcvcpetb[118]                        @630      0x00
   ub1 kcvcpetb[119]                        @631      0x00
   ub1 kcvcpetb[120]                        @632      0x00
   ub1 kcvcpetb[121]                        @633      0x00
   ub1 kcvcpetb[122]                        @634      0x00
   ub1 kcvcpetb[123]                        @635      0x00
   ub1 kcvcpetb[124]                        @636      0x00
   ub1 kcvcpetb[125]                        @637      0x00
   ub1 kcvcpetb[126]                        @638      0x00
   ub1 kcvcpetb[127]                        @639      0x00
   ub1 kcvcpetb[128]                        @640      0x00

BBED> p kcvfhcpc
ub4 kcvfhcpc                                @140      0x00000062

BBED> p kcvfhccc
ub4 kcvfhccc                                @148      0x00000061

BBED> show
        FILE#           2
        BLOCK#          1
        OFFSET          148
        DBA             0x00800001 (8388609 2,1)
        FILENAME        /dev/rzz_01_lv
        BIFILE          bifile.bbd
        LISTFILE        /oracle/bbed/filelist.txt
        BLOCKSIZE       8192
        MODE            Edit
        EDIT            Unrecoverable
        IBASE           Dec
        OBASE           Dec
        WIDTH           80
        COUNT           512
        LOGFILE         log.bbd
        SPOOL           No

BBED> dump /v offset 484
 File: /dev/rzz_01_lv (2)
 Block: 1       Offsets:  484 to  995  Dba:0x00800001
-------------------------------------------------------
 06e0cce9 09c3d7a0 28ba35c5 00010000 l ........(.5.....
 00000015 00017f99 0010ffff 02000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00060006 00060100 00000000 00000000 l ................
 00000000 01000002 06e0706f 09c30000 l ..........po....
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................

 <16 bytes per line>


BBED> dump /v offset 488
 File: /dev/rzz_01_lv (2)
 Block: 1       Offsets:  488 to  999  Dba:0x00800001
-------------------------------------------------------
 09c3d7a0 28ba35c5 00010000 00000015 l ....(.5.........
 00017f99 0010ffff 02000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00060006 l ................
 00060100 00000000 00000000 00000000 l ................
 01000002 06e0706f 09c30000 00000000 l ......po........
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................

 <16 bytes per line>

BBED> dump /v offset 487
 File: /dev/rzz_01_lv (2)
 Block: 1       Offsets:  487 to  998  Dba:0x00800001
-------------------------------------------------------
 e909c3d7 a028ba35 c5000100 00000000 l .....(.5........
 1500017f 990010ff ff020000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000600 l ................
 06000601 00000000 00000000 00000000 l ................
 00010000 0206e070 6f09c300 00000000 l .......po.......
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................

 <16 bytes per line>

BBED> modify /x ceec offset 486
Warning: contents of previous BIFILE will be lost. Proceed? (Y/N) y
 File: /dev/rzz_01_lv (2)
 Block: 1                Offsets:  487 to  998           Dba:0x00800001
------------------------------------------------------------------------
 ec09c3d7 a028ba35 c5000100 00000000 1500017f 990010ff ff020000 00000000
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000600
 06000601 00000000 00000000 00000000 00010000 0206e070 6f09c300 00000000
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

 <32 bytes per line>

BBED> dump /v offset 492
 File: /dev/rzz_01_lv (2)
 Block: 1       Offsets:  492 to 1003  Dba:0x00800001
-------------------------------------------------------
 28ba35c5 00010000 00000015 00017f99 l (.5.............
 0010ffff 02000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00060006 00060100 l ................
 00000000 00000000 00000000 01000002 l ................
 06e0706f 09c30000 00000000 00000000 l ..po............
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................

 <16 bytes per line>


BBED> dump /v offset 494
 File: /dev/rzz_01_lv (2)
 Block: 1       Offsets:  494 to 1005  Dba:0x00800001
-------------------------------------------------------
 35c50001 00000000 00150001 7f990010 l 5...............
 ffff0200 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000006 00060006 01000000 l ................
 00000000 00000000 00000100 000206e0 l ................
 706f09c3 00000000 00000000 00000000 l po..............
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................

 <16 bytes per line>

BBED> modify /x 3781
 File: /dev/rzz_01_lv (2)
 Block: 1                Offsets:  494 to 1005           Dba:0x00800001
------------------------------------------------------------------------
 37810001 00000000 00150001 7f990010 ffff0200 00000000 00000000 00000000
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
 00000000 00000000 00000000 00000000 00000000 00000006 00060006 01000000
 00000000 00000000 00000100 000206e0 706f09c3 00000000 00000000 00000000
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

 <32 bytes per line>

BBED>
BBED> dump /v offset 140
 File: /dev/rzz_01_lv (2)
 Block: 1       Offsets:  140 to  651  Dba:0x00800001
-------------------------------------------------------
 00000062 28ba37cc 00000061 00000000 l ...b(.7....a....
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000004 00055553 45525300 00000000 l ......USERS.....
 00000000 00000000 00000000 00000000 l ................
 00000000 00000004 00000000 00000000 l ................
 00000000 00000000 00004460 00000000 l ..........D`....
 00000000 00000000 00000000 00000000 l ................
 00000000 27011c9b 00000001 00000000 l ....'...........
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 06e0ccec 09c3d7a0 l ................
 28ba3781 00010000 00000015 00017f99 l (.7.............
 0010ffff 02000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00060006 00060100 l ................

 <16 bytes per line>

BBED> modify /x 64 offset 143
 File: /dev/rzz_01_lv (2)
 Block: 1                Offsets:  143 to  654           Dba:0x00800001
------------------------------------------------------------------------
 6428ba37 cc000000 61000000 00000000 00000000 00000000 00000000 00000000
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
 04000555 53455253 00000000 00000000 00000000 00000000 00000000 00000000
 00000000 04000000 00000000 00000000 00000000 00000044 60000000 00000000
 00000000 00000000 00000000 00000000 0027011c 9b000000 01000000 00000000
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
 00000000 00000000 00000000 00000000 00000000 0006e0cc ec09c3d7 a028ba37
 81000100 00000000 1500017f 990010ff ff020000 00000000 00000000 00000000
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
 00000000 00000000 00000000 00000000 00000000 00000600 06000601 00000000

 <32 bytes per line>

BBED> dump /v offfset 148
BBED-00202: invalid parameter (offfset)


BBED> dump /v offset 148
 File: /dev/rzz_01_lv (2)
 Block: 1       Offsets:  148 to  659  Dba:0x00800001
-------------------------------------------------------
 00000061 00000000 00000000 00000000 l ...a............
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000004 00055553 l ..............US
 45525300 00000000 00000000 00000000 l ERS.............
 00000000 00000000 00000000 00000004 l ................
 00000000 00000000 00000000 00000000 l ................
 00004460 00000000 00000000 00000000 l ..D`............
 00000000 00000000 00000000 27011c9b l ............'...
 00000001 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 06e0ccec 09c3d7a0 28ba3781 00010000 l ........(.7.....
 00000015 00017f99 0010ffff 02000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00000000 00000000 00000000 00000000 l ................
 00060006 00060100 00000000 00000000 l ................

 <16 bytes per line>

BBED> modify /x 63 offset 151
 File: /dev/rzz_01_lv (2)
 Block: 1                Offsets:  151 to  662           Dba:0x00800001
------------------------------------------------------------------------
 63000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
 00000000 00000000 00000000 00000000 00000000 00000000 04000555 53455253
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 04000000
 00000000 00000000 00000000 00000044 60000000 00000000 00000000 00000000
 00000000 00000000 0027011c 9b000000 01000000 00000000 00000000 00000000
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
 00000000 00000000 00000000 0006e0cc ec09c3d7 a028ba37 81000100 00000000
 1500017f 990010ff ff020000 00000000 00000000 00000000 00000000 00000000
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
 00000000 00000000 00000000 00000600 06000601 00000000 00000000 00000000

 <32 bytes per line>

BBED> sum apply
Check value for File 2, Block 1:
current = 0x83d6, required = 0x83d6

 

再进入sqlplus来open database

Database opened.

成功!

 

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/16158219/viewspace-584637/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2008-10-07

  • 博文量
    98
  • 访问量
    179089