跳过归档日志的非常规恢复(一)

来源:互联网 发布:java图片转换成base64 编辑:程序博客网 时间:2024/05/22 08:10

 

跳过归档日志的非常规恢复(二)http://www.itpub.net/thread-1700523-1-2.html

步骤一、首先创建测试环境:


  1. SQL> select name from v$dbfile;



  2. NAME

  3. --------------------------------------------------------------------------------

  4. /u01/app/oracle/oradata/huateng/users01.dbf

  5. /u01/app/oracle/oradata/huateng/undotbs01.dbf

  6. /u01/app/oracle/oradata/huateng/sysaux01.dbf

  7. /u01/app/oracle/oradata/huateng/system01.dbf

  8. /u01/app/oracle/oradata/huateng/example01.dbf

  9. SQL> create tablespace htyansp datafile '/u01/app/oracle/oradata/huateng/htyansp01.dbf' size 10m;

  10. Tablespace created.

  11. SQL> create user htyansp identified by htyansp;

  12. User created.

  13. SQL> alter user htyansp default tablespace htyansp;

  14. User altered.


  15. SQL> grant dba to htyansp;

  16. Grant succeeded.


  17. SQL> alter system switch logfile;

  18. System altered.

  19. SQL> archive log list

  20. Database log mode Archive Mode

  21. Automatic archival Enabled

  22. Archive destination /archivelog

  23. Oldest online log sequence 5

  24. Next log sequence to archive 7

  25. Current log sequence 7
复制代码


上面创建了一个用户htyansp及其相应的表空间htyansp,当前的日志序列号是7



步骤二、对数据库做一个全备份

  1. [oracle@db2server ~]$ rman target /


  2. Recovery Manager: Release 11.2.0.1.0 - Production on Tue Jul 31 00:09:04 2012


  3. Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.


  4. connected to target database: HUATENG (DBID=2134565240)


  5. RMAN> backup database;


  6. Starting backup at 2012-07-31 00:09:14

  7. using target database control file instead of recovery catalog

  8. allocated channel: ORA_DISK_1

  9. channel ORA_DISK_1: SID=36 device type=DISK

  10. channel ORA_DISK_1: starting full datafile backup set

  11. channel ORA_DISK_1: specifying datafile(s) in backup set

  12. input datafile file number=00001 name=/u01/app/oracle/oradata/huateng/system01.dbf

  13. input datafile file number=00002 name=/u01/app/oracle/oradata/huateng/sysaux01.dbf

  14. input datafile file number=00005 name=/u01/app/oracle/oradata/huateng/example01.dbf

  15. input datafile file number=00003 name=/u01/app/oracle/oradata/huateng/undotbs01.dbf

  16. input datafile file number=00006 name=/u01/app/oracle/oradata/huateng/htyansp01.dbf

  17. input datafile file number=00004 name=/u01/app/oracle/oradata/huateng/users01.dbf

  18. channel ORA_DISK_1: starting piece 1 at 2012-07-31 00:09:16

  19. channel ORA_DISK_1: finished piece 1 at 2012-07-31 00:10:41

  20. piece handle=/u01/app/oracle/flash_recovery_area/HUATENG/backupset/2012_07_31/o1_mf_nnndf_TAG20120731T000915_81fdfg00_.bkp tag=TAG20120731T000915 comment=NONE

  21. channel ORA_DISK_1: backup set complete, elapsed time: 00:01:25

  22. channel ORA_DISK_1: starting full datafile backup set

  23. channel ORA_DISK_1: specifying datafile(s) in backup set

  24. including current control file in backup set

  25. including current SPFILE in backup set

  26. channel ORA_DISK_1: starting piece 1 at 2012-07-31 00:10:45

  27. channel ORA_DISK_1: finished piece 1 at 2012-07-31 00:10:46

  28. piece handle=/u01/app/oracle/flash_recovery_area/HUATENG/backupset/2012_07_31/o1_mf_ncsnf_TAG20120731T000915_81fdj56h_.bkp tag=TAG20120731T000915 comment=NONE

  29. channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01

  30. Finished backup at 2012-07-31 00:10:46


  31. RMAN>
复制代码


步骤三、创建测试数据


  1. SQL> archive log list
  2. Database log mode Archive Mode
  3. Automatic archival Enabled
  4. Archive destination /archivelog
  5. Oldest online log sequence 5
  6. Next log sequence to archive 7
  7. Current log sequence 7
  8. SQL> conn htyansp/htyansp
  9. Connected.
  10. SQL> create table test(seq varchar2(20));

  11. Table created.

  12. SQL> insert into test values('sequence 7');

  13. 1 row created.

  14. SQL> commit;

  15. Commit complete.

  16. SQL> alter system switch logfile;

  17. System altered.
复制代码

当前的日志文件序列号是7:因此上面的记录将会存放到日志序列号为7的归档日志中。

  1. SQL> insert into test values('sequence 8');

  2. 1 row created.

  3. SQL> commit;

  4. Commit complete.

  5. SQL> alter system switch logfile;

  6. System altered.

  7. SQL> insert into test values('sequence 9');

  8. 1 row created.

  9. SQL> commit;

  10. Commit complete.

  11. SQL> alter system switch logfile;

  12. System altered.

  13. SQL> insert into test values('sequence 10');

  14. 1 row created.

  15. SQL> commit;

  16. Commit complete.

  17. SQL> alter system switch logfile;

  18. System altered.

  19. SQL> insert into test values('sequence 11');

  20. 1 row created.

  21. SQL> commit;

  22. Commit complete.

  23. SQL> alter system switch logfile;

  24. System altered.

  25. SQL> select * from htyansp.test;

  26. SEQ
  27. --------------------
  28. sequence 7
  29. sequence 8
  30. sequence 9
  31. sequence 10
  32. sequence 11
复制代码

每次插入一条记录切换一次日志,上面的记录每条记录存放到一个日志文件中。


步骤4、模拟错误


  1. [oracle@db2server archivelog]$ ls -ltrh

  2. 总计 572K

  3. -rw-r----- 1 oracle oinstall 506K 07-31 00:08 1_6_789791289.dbf

  4. -rw-r----- 1 oracle oinstall 39K 07-31 00:14 1_7_789791289.dbf

  5. -rw-r----- 1 oracle oinstall 3.5K 07-31 00:14 1_8_789791289.dbf

  6. -rw-r----- 1 oracle oinstall 5.0K 07-31 00:14 1_9_789791289.dbf

  7. -rw-r----- 1 oracle oinstall 3.0K 07-31 00:15 1_10_789791289.dbf

  8. -rw-r----- 1 oracle oinstall 3.5K 07-31 00:15 1_11_789791289.dbf


  9. 我们删掉日志文件1_9_789791289.dbf 及其表空间htyansp的数据文件。


  10. [oracle@db2server archivelog]$ rm -rf 1_9_789791289.dbf

  11. [oracle@db2server archivelog]$ rm -rf /u01/app/oracle/oradata/huateng/htyansp01.dbf

  12. [oracle@db2server archivelog]$ ls -ltr

  13. 总计 568

  14. -rw-r----- 1 oracle oinstall 518144 07-31 00:08 1_6_789791289.dbf

  15. -rw-r----- 1 oracle oinstall 39424 07-31 00:14 1_7_789791289.dbf

  16. -rw-r----- 1 oracle oinstall 3584 07-31 00:14 1_8_789791289.dbf

  17. -rw-r----- 1 oracle oinstall 5120 07-31 00:14 1_10_789791289.dbf

  18. -rw-r----- 1 oracle oinstall 3584 07-31 00:15 1_11_789791289.dbf



  19. 此时数据库不能正常关闭


  20. SQL> shutdown immediate

  21. ORA-01116: error in opening database file 6

  22. ORA-01110: data file 6: '/u01/app/oracle/oradata/huateng/htyansp01.dbf'

  23. ORA-27041: unable to open file

  24. Linux Error: 2: No such file or directory

  25. Additional information: 3

  26. SQL> shutdown abort

  27. ORACLE instance shut down.

  28. SQL>



  29. 需要采用shutdown abort的方式关闭数据库。


  30. 再次启动数据库将会报错。



  31. SQL> startup

  32. ORACLE instance started.


  33. Total System Global Area 506368000 bytes

  34. Fixed Size 1337520 bytes

  35. Variable Size 322963280 bytes

  36. Database Buffers 176160768 bytes

  37. Redo Buffers 5906432 bytes

  38. Database mounted.

  39. ORA-01157: cannot identify/lock data file 6 - see DBWR trace file

  40. ORA-01110: data file 6: '/u01/app/oracle/oradata/huateng/htyansp01.dbf'



  41. SQL>
复制代码


步骤5、探讨RECOVER需要修改的文件头信息


还原数据文件


  1. [oracle@db2server ~]$ rman target /

  2. Recovery Manager: Release 11.2.0.1.0 - Production on Tue Jul 31 00:22:13 2012

  3. Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.

  4. connected to target database: HUATENG (DBID=2134565240, not open)

  5. RMAN> restore datafile 6;

  6. Starting restore at 2012-07-31 00:22:20
  7. using target database control file instead of recovery catalog
  8. allocated channel: ORA_DISK_1
  9. channel ORA_DISK_1: SID=17 device type=DISK

  10. channel ORA_DISK_1: starting datafile backup set restore
  11. channel ORA_DISK_1: specifying datafile(s) to restore from backup set
  12. channel ORA_DISK_1: restoring datafile 00006 to /u01/app/oracle/oradata/huateng/htyansp01.dbf
  13. channel ORA_DISK_1: reading from backup piece /u01/app/oracle/flash_recovery_area/HUATENG/backupset/2012_07_31/o1_mf_nnndf_TAG20120731T000915_81fdfg00_.bkp
  14. channel ORA_DISK_1: piece handle=/u01/app/oracle/flash_recovery_area/HUATENG/backupset/2012_07_31/o1_mf_nnndf_TAG20120731T000915_81fdfg00_.bkp tag=TAG20120731T000915
  15. channel ORA_DISK_1: restored backup piece 1
  16. channel ORA_DISK_1: restore complete, elapsed time: 00:00:01
  17. Finished restore at 2012-07-31 00:22:23

  18. RMAN>


  19. SQL> recover datafile 6;
  20. ORA-00279: change 849630 generated at 07/31/2012 00:09:16 needed for thread 1
  21. ORA-00289: suggestion : /archivelog/1_7_789791289.dbf
  22. ORA-00280: change 849630 for thread 1 is in sequence #7


  23. Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
  24. /archivelog/1_7_789791289.dbf
  25. ORA-00279: change 849781 generated at 07/31/2012 00:14:17 needed for thread 1
  26. ORA-00289: suggestion : /archivelog/1_8_789791289.dbf
  27. ORA-00280: change 849781 for thread 1 is in sequence #8


  28. Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
复制代码

注意此时我们暂时先不应用归档日志序列号为8的文件。


我们采用BBED先记录此时的数据文件头的信息。


  1. [oracle@db2server ~]$ bbed filename=/u01/app/oracle/oradata/huateng/htyansp01.dbf
  2. Password:

  3. BBED: Release 2.0.0.0.0 - Limited Production on Tue Jul 31 00:24:44 2012

  4. Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.

  5. ************* !!! For Oracle Internal Use only !!! ***************

  6. BBED> p kcvfh
  7. struct kcvfh, 860 bytes                     @0      
  8.    struct kcvfhbfh, 20 bytes                @0      
  9.       ub1 type_kcbh                         @0        0x0b
  10.       ub1 frmt_kcbh                         @1        0xa2
  11.       ub1 spare1_kcbh                       @2        0x00
  12.       ub1 spare2_kcbh                       @3        0x00
  13.       ub4 rdba_kcbh                         @4        0x01800001
  14.       ub4 bas_kcbh                          @8        0x00000000
  15.       ub2 wrp_kcbh                          @12       0x0000
  16.       ub1 seq_kcbh                          @14       0x01
  17.       ub1 flg_kcbh                          @15       0x04 (KCBHFCKV)
  18.       ub2 chkval_kcbh                       @16       0xc785
  19.       ub2 spare3_kcbh                       @18       0x0000
  20.    struct kcvfhhdr, 76 bytes                @20      
  21.       ub4 kccfhswv                          @20       0x00000000
  22.       ub4 kccfhcvn                          @24       0x0b200000
  23.       ub4 kccfhdbi                          @28       0x7f3ae178
  24.       text kccfhdbn[0]                      @32      H
  25.       text kccfhdbn[1]                      @33      U
  26.       text kccfhdbn[2]                      @34      A
  27.       text kccfhdbn[3]                      @35      T
  28.       text kccfhdbn[4]                      @36      E
  29.       text kccfhdbn[5]                      @37      N
  30.       text kccfhdbn[6]                      @38      G
  31.       text kccfhdbn[7]                      @39      
  32.       ub4 kccfhcsq                          @40       0x00000325
  33.       ub4 kccfhfsz                          @44       0x00000500
  34.       s_blkz kccfhbsz                       @48       0x00
  35.       ub2 kccfhfno                          @52       0x0006
  36.       ub2 kccfhtyp                          @54       0x0003
  37.       ub4 kccfhacid                         @56       0x00000000
  38.       ub4 kccfhcks                          @60       0x00000000
  39.       text kccfhtag[0]                      @64      
  40.       text kccfhtag[1]                      @65      
  41.       text kccfhtag[2]                      @66      
  42.       text kccfhtag[3]                      @67      
  43.       text kccfhtag[4]                      @68      
  44.       text kccfhtag[5]                      @69      
  45.       text kccfhtag[6]                      @70      
  46.       text kccfhtag[7]                      @71      
  47.       text kccfhtag[8]                      @72      
  48.       text kccfhtag[9]                      @73      
  49.       text kccfhtag[10]                     @74      
  50.       text kccfhtag[11]                     @75      
  51.       text kccfhtag[12]                     @76      
  52.       text kccfhtag[13]                     @77      
  53.       text kccfhtag[14]                     @78      
  54.       text kccfhtag[15]                     @79      
  55.       text kccfhtag[16]                     @80      
  56.       text kccfhtag[17]                     @81      
  57.       text kccfhtag[18]                     @82      
  58.       text kccfhtag[19]                     @83      
  59.       text kccfhtag[20]                     @84      
  60.       text kccfhtag[21]                     @85      
  61.       text kccfhtag[22]                     @86      
  62.       text kccfhtag[23]                     @87      
  63.       text kccfhtag[24]                     @88      
  64.       text kccfhtag[25]                     @89      
  65.       text kccfhtag[26]                     @90      
  66.       text kccfhtag[27]                     @91      
  67.       text kccfhtag[28]                     @92      
  68.       text kccfhtag[29]                     @93      
  69.       text kccfhtag[30]                     @94      
  70.       text kccfhtag[31]                     @95      
  71.    ub4 kcvfhrdb                             @96       0x00000000
  72.    struct kcvfhcrs, 8 bytes                 @100     
  73.       ub4 kscnbas                           @100      0x000cf590
  74.       ub2 kscnwrp                           @104      0x0000
  75.    ub4 kcvfhcrt                             @108      0x2f1715c8
  76.    ub4 kcvfhrlc                             @112      0x2f134239
  77.    struct kcvfhrls, 8 bytes                 @116     
  78.       ub4 kscnbas                           @116      0x000b8338
  79.       ub2 kscnwrp                           @120      0x0000
  80.    ub4 kcvfhbti                             @124      0x00000000
  81.    struct kcvfhbsc, 8 bytes                 @128     
  82.       ub4 kscnbas                           @128      0x00000000
  83.       ub2 kscnwrp                           @132      0x0000
  84.    ub2 kcvfhbth                             @136      0x0000
  85.    ub2 kcvfhsta                             @138      0x0000 (NONE)
  86.    struct kcvfhckp, 36 bytes                @484     
  87.       struct kcvcpscn, 8 bytes              @484     
  88.          ub4 kscnbas                        @484      0x000cf775
  89.          ub2 kscnwrp                        @488      0x0000
  90.       ub4 kcvcptim                          @492      0x2f171759
  91.       ub2 kcvcpthr                          @496      0x0001
  92.       union u, 12 bytes                     @500     
  93.          struct kcvcprba, 12 bytes          @500     
  94.             ub4 kcrbaseq                    @500      0x00000008
  95.             ub4 kcrbabno                    @504      0x00000002
  96.             ub2 kcrbabof                    @508      0x0000
  97.       ub1 kcvcpetb[0]                       @512      0x02
  98.       ub1 kcvcpetb[1]                       @513      0x00
  99.       ub1 kcvcpetb[2]                       @514      0x00
  100.       ub1 kcvcpetb[3]                       @515      0x00
  101.       ub1 kcvcpetb[4]                       @516      0x00
  102.       ub1 kcvcpetb[5]                       @517      0x00
  103.       ub1 kcvcpetb[6]                       @518      0x00
  104.       ub1 kcvcpetb[7]                       @519      0x00
  105.    ub4 kcvfhcpc                             @140      0x00000004
  106.    ub4 kcvfhrts                             @144      0x2f171995
  107.    ub4 kcvfhccc                             @148      0x00000003
  108.    struct kcvfhbcp, 36 bytes                @152     
  109.       struct kcvcpscn, 8 bytes              @152     
  110.          ub4 kscnbas                        @152      0x00000000
  111.          ub2 kscnwrp                        @156      0x0000
  112.       ub4 kcvcptim                          @160      0x00000000
  113.       ub2 kcvcpthr                          @164      0x0000
  114.       union u, 12 bytes                     @168     
  115.          struct kcvcprba, 12 bytes          @168     
  116.             ub4 kcrbaseq                    @168      0x00000000
  117.             ub4 kcrbabno                    @172      0x00000000
  118.             ub2 kcrbabof                    @176      0x0000
  119.       ub1 kcvcpetb[0]                       @180      0x00
  120.       ub1 kcvcpetb[1]                       @181      0x00
  121.       ub1 kcvcpetb[2]                       @182      0x00
  122.       ub1 kcvcpetb[3]                       @183      0x00
  123.       ub1 kcvcpetb[4]                       @184      0x00
  124.       ub1 kcvcpetb[5]                       @185      0x00
  125.       ub1 kcvcpetb[6]                       @186      0x00
  126.       ub1 kcvcpetb[7]                       @187      0x00
  127.    ub4 kcvfhbhz                             @312      0x00000000
  128.    struct kcvfhxcd, 16 bytes                @316     
  129.       ub4 space_kcvmxcd[0]                  @316      0x00000000
  130.       ub4 space_kcvmxcd[1]                  @320      0x00000000
  131.       ub4 space_kcvmxcd[2]                  @324      0x00000000
  132.       ub4 space_kcvmxcd[3]                  @328      0x00000000
  133.    sword kcvfhtsn                           @332      7
  134.    ub2 kcvfhtln                             @336      0x0007
  135.    text kcvfhtnm[0]                         @338     H
  136.    text kcvfhtnm[1]                         @339     T
  137.    text kcvfhtnm[2]                         @340     Y
  138.    text kcvfhtnm[3]                         @341     A
  139.    text kcvfhtnm[4]                         @342     N
  140.    text kcvfhtnm[5]                         @343     S
  141.    text kcvfhtnm[6]                         @344     P
  142.    text kcvfhtnm[7]                         @345      
  143.    text kcvfhtnm[8]                         @346      
  144.    text kcvfhtnm[9]                         @347      
  145.    text kcvfhtnm[10]                        @348      
  146.    text kcvfhtnm[11]                        @349      
  147.    text kcvfhtnm[12]                        @350      
  148.    text kcvfhtnm[13]                        @351      
  149.    text kcvfhtnm[14]                        @352      
  150.    text kcvfhtnm[15]                        @353      
  151.    text kcvfhtnm[16]                        @354      
  152.    text kcvfhtnm[17]                        @355      
  153.    text kcvfhtnm[18]                        @356      
  154.    text kcvfhtnm[19]                        @357      
  155.    text kcvfhtnm[20]                        @358      
  156.    text kcvfhtnm[21]                        @359      
  157.    text kcvfhtnm[22]                        @360      
  158.    text kcvfhtnm[23]                        @361      
  159.    text kcvfhtnm[24]                        @362      
  160.    text kcvfhtnm[25]                        @363      
  161.    text kcvfhtnm[26]                        @364      
  162.    text kcvfhtnm[27]                        @365      
  163.    text kcvfhtnm[28]                        @366      
  164.    text kcvfhtnm[29]                        @367      
  165.    ub4 kcvfhrfn                             @368      0x00000006
  166.    struct kcvfhrfs, 8 bytes                 @372     
  167.       ub4 kscnbas                           @372      0x00000000
  168.       ub2 kscnwrp                           @376      0x0000
  169.    ub4 kcvfhrft                             @380      0x00000000
  170.    struct kcvfhafs, 8 bytes                 @384     
  171.       ub4 kscnbas                           @384      0x00000000
  172.       ub2 kscnwrp                           @388      0x0000
  173.    ub4 kcvfhbbc                             @392      0x00000000
  174.    ub4 kcvfhncb                             @396      0x00000000
  175.    ub4 kcvfhmcb                             @400      0x00000000
  176.    ub4 kcvfhlcb                             @404      0x00000000
  177.    ub4 kcvfhbcs                             @408      0x00000000
  178.    ub2 kcvfhofb                             @412      0x0000
  179.    ub2 kcvfhnfb                             @414      0x0000
  180.    ub4 kcvfhprc                             @416      0x296a3120
  181.    struct kcvfhprs, 8 bytes                 @420     
  182.       ub4 kscnbas                           @420      0x00000001
  183.       ub2 kscnwrp                           @424      0x0000
  184.    struct kcvfhprfs, 8 bytes                @428     
  185.       ub4 kscnbas                           @428      0x00000000
  186.       ub2 kscnwrp                           @432      0x0000
  187.    ub4 kcvfhtrt                             @444      0x00000000

  188. BBED>
复制代码

将上面打印出来的信息保存为recover_sequence7.txt



再次回到原来的recovery界面,应用归档日志序列号为8的文件。

如下:


  1. SQL> recover datafile 6;
  2. ORA-00279: change 849630 generated at 07/31/2012 00:09:16 needed for thread 1
  3. ORA-00289: suggestion : /archivelog/1_7_789791289.dbf
  4. ORA-00280: change 849630 for thread 1 is in sequence #7


  5. Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
  6. /archivelog/1_7_789791289.dbf
  7. ORA-00279: change 849781 generated at 07/31/2012 00:14:17 needed for thread 1
  8. ORA-00289: suggestion : /archivelog/1_8_789791289.dbf
  9. ORA-00280: change 849781 for thread 1 is in sequence #8


  10. Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
  11. /archivelog/1_8_789791289.dbf
  12. ORA-00279: change 849798 generated at 07/31/2012 00:14:43 needed for thread 1
  13. ORA-00289: suggestion : /archivelog/1_9_789791289.dbf
  14. ORA-00280: change 849798 for thread 1 is in sequence #9


  15. Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
复制代码

再次用BBED查询此时的数据文件头信息,如下所示:


  1. [oracle@db2server ~]$ bbed filename=/u01/app/oracle/oradata/huateng/htyansp01.dbf
  2. Password:

  3. BBED: Release 2.0.0.0.0 - Limited Production on Tue Jul 31 00:29:32 2012

  4. Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.

  5. ************* !!! For Oracle Internal Use only !!! ***************

  6. BBED> show
  7.         FILE#           0
  8.         BLOCK#          1
  9.         OFFSET          0
  10.         DBA             0x00000000 (0 0,1)
  11.         FILENAME        /u01/app/oracle/oradata/huateng/htyansp01.dbf
  12.         BIFILE          bifile.bbd
  13.         LISTFILE      
  14.         BLOCKSIZE       8192
  15.         MODE            Browse
  16.         EDIT            Unrecoverable
  17.         IBASE           Dec
  18.         OBASE           Dec
  19.         WIDTH           80
  20.         COUNT           512
  21.         LOGFILE         log.bbd
  22.         SPOOL           No

  23. BBED> p kcvfh
  24. struct kcvfh, 860 bytes                     @0      
  25.    struct kcvfhbfh, 20 bytes                @0      
  26.       ub1 type_kcbh                         @0        0x0b
  27.       ub1 frmt_kcbh                         @1        0xa2
  28.       ub1 spare1_kcbh                       @2        0x00
  29.       ub1 spare2_kcbh                       @3        0x00
  30.       ub4 rdba_kcbh                         @4        0x01800001
  31.       ub4 bas_kcbh                          @8        0x00000000
  32.       ub2 wrp_kcbh                          @12       0x0000
  33.       ub1 seq_kcbh                          @14       0x01
  34.       ub1 flg_kcbh                          @15       0x04 (KCBHFCKV)
  35.       ub2 chkval_kcbh                       @16       0xc404
  36.       ub2 spare3_kcbh                       @18       0x0000
  37.    struct kcvfhhdr, 76 bytes                @20      
  38.       ub4 kccfhswv                          @20       0x00000000
  39.       ub4 kccfhcvn                          @24       0x0b200000
  40.       ub4 kccfhdbi                          @28       0x7f3ae178
  41.       text kccfhdbn[0]                      @32      H
  42.       text kccfhdbn[1]                      @33      U
  43.       text kccfhdbn[2]                      @34      A
  44.       text kccfhdbn[3]                      @35      T
  45.       text kccfhdbn[4]                      @36      E
  46.       text kccfhdbn[5]                      @37      N
  47.       text kccfhdbn[6]                      @38      G
  48.       text kccfhdbn[7]                      @39      
  49.       ub4 kccfhcsq                          @40       0x00000327
  50.       ub4 kccfhfsz                          @44       0x00000500
  51.       s_blkz kccfhbsz                       @48       0x00
  52.       ub2 kccfhfno                          @52       0x0006
  53.       ub2 kccfhtyp                          @54       0x0003
  54.       ub4 kccfhacid                         @56       0x00000000
  55.       ub4 kccfhcks                          @60       0x00000000
  56.       text kccfhtag[0]                      @64      
  57.       text kccfhtag[1]                      @65      
  58.       text kccfhtag[2]                      @66      
  59.       text kccfhtag[3]                      @67      
  60.       text kccfhtag[4]                      @68      
  61.       text kccfhtag[5]                      @69      
  62.       text kccfhtag[6]                      @70      
  63.       text kccfhtag[7]                      @71      
  64.       text kccfhtag[8]                      @72      
  65.       text kccfhtag[9]                      @73      
  66.       text kccfhtag[10]                     @74      
  67.       text kccfhtag[11]                     @75      
  68.       text kccfhtag[12]                     @76      
  69.       text kccfhtag[13]                     @77      
  70.       text kccfhtag[14]                     @78      
  71.       text kccfhtag[15]                     @79      
  72.       text kccfhtag[16]                     @80      
  73.       text kccfhtag[17]                     @81      
  74.       text kccfhtag[18]                     @82      
  75.       text kccfhtag[19]                     @83      
  76.       text kccfhtag[20]                     @84      
  77.       text kccfhtag[21]                     @85      
  78.       text kccfhtag[22]                     @86      
  79.       text kccfhtag[23]                     @87      
  80.       text kccfhtag[24]                     @88      
  81.       text kccfhtag[25]                     @89      
  82.       text kccfhtag[26]                     @90      
  83.       text kccfhtag[27]                     @91      
  84.       text kccfhtag[28]                     @92      
  85.       text kccfhtag[29]                     @93      
  86.       text kccfhtag[30]                     @94      
  87.       text kccfhtag[31]                     @95      
  88.    ub4 kcvfhrdb                             @96       0x00000000
  89.    struct kcvfhcrs, 8 bytes                 @100     
  90.       ub4 kscnbas                           @100      0x000cf590
  91.       ub2 kscnwrp                           @104      0x0000
  92.    ub4 kcvfhcrt                             @108      0x2f1715c8
  93.    ub4 kcvfhrlc                             @112      0x2f134239
  94.    struct kcvfhrls, 8 bytes                 @116     
  95.       ub4 kscnbas                           @116      0x000b8338
  96.       ub2 kscnwrp                           @120      0x0000
  97.    ub4 kcvfhbti                             @124      0x00000000
  98.    struct kcvfhbsc, 8 bytes                 @128     
  99.       ub4 kscnbas                           @128      0x00000000
  100.       ub2 kscnwrp                           @132      0x0000
  101.    ub2 kcvfhbth                             @136      0x0000
  102.    ub2 kcvfhsta                             @138      0x0000 (NONE)
  103.    struct kcvfhckp, 36 bytes                @484     
  104.       struct kcvcpscn, 8 bytes              @484     
  105.          ub4 kscnbas                        @484      0x000cf786
  106.          ub2 kscnwrp                        @488      0x0000
  107.       ub4 kcvcptim                          @492      0x2f171773
  108.       ub2 kcvcpthr                          @496      0x0001
  109.       union u, 12 bytes                     @500     
  110.          struct kcvcprba, 12 bytes          @500     
  111.             ub4 kcrbaseq                    @500      0x00000009
  112.             ub4 kcrbabno                    @504      0x00000002
  113.             ub2 kcrbabof                    @508      0x0000
  114.       ub1 kcvcpetb[0]                       @512      0x02
  115.       ub1 kcvcpetb[1]                       @513      0x00
  116.       ub1 kcvcpetb[2]                       @514      0x00
  117.       ub1 kcvcpetb[3]                       @515      0x00
  118.       ub1 kcvcpetb[4]                       @516      0x00
  119.       ub1 kcvcpetb[5]                       @517      0x00
  120.       ub1 kcvcpetb[6]                       @518      0x00
  121.       ub1 kcvcpetb[7]                       @519      0x00
  122.    ub4 kcvfhcpc                             @140      0x00000004
  123.    ub4 kcvfhrts                             @144      0x2f171ace
  124.    ub4 kcvfhccc                             @148      0x00000003
  125.    struct kcvfhbcp, 36 bytes                @152     
  126.       struct kcvcpscn, 8 bytes              @152     
  127.          ub4 kscnbas                        @152      0x00000000
  128.          ub2 kscnwrp                        @156      0x0000
  129.       ub4 kcvcptim                          @160      0x00000000
  130.       ub2 kcvcpthr                          @164      0x0000
  131.       union u, 12 bytes                     @168     
  132.          struct kcvcprba, 12 bytes          @168     
  133.             ub4 kcrbaseq                    @168      0x00000000
  134.             ub4 kcrbabno                    @172      0x00000000
  135.             ub2 kcrbabof                    @176      0x0000
  136.       ub1 kcvcpetb[0]                       @180      0x00
  137.       ub1 kcvcpetb[1]                       @181      0x00
  138.       ub1 kcvcpetb[2]                       @182      0x00
  139.       ub1 kcvcpetb[3]                       @183      0x00
  140.       ub1 kcvcpetb[4]                       @184      0x00
  141.       ub1 kcvcpetb[5]                       @185      0x00
  142.       ub1 kcvcpetb[6]                       @186      0x00
  143.       ub1 kcvcpetb[7]                       @187      0x00
  144.    ub4 kcvfhbhz                             @312      0x00000000
  145.    struct kcvfhxcd, 16 bytes                @316     
  146.       ub4 space_kcvmxcd[0]                  @316      0x00000000
  147.       ub4 space_kcvmxcd[1]                  @320      0x00000000
  148.       ub4 space_kcvmxcd[2]                  @324      0x00000000
  149.       ub4 space_kcvmxcd[3]                  @328      0x00000000
  150.    sword kcvfhtsn                           @332      7
  151.    ub2 kcvfhtln                             @336      0x0007
  152.    text kcvfhtnm[0]                         @338     H
  153.    text kcvfhtnm[1]                         @339     T
  154.    text kcvfhtnm[2]                         @340     Y
  155.    text kcvfhtnm[3]                         @341     A
  156.    text kcvfhtnm[4]                         @342     N
  157.    text kcvfhtnm[5]                         @343     S
  158.    text kcvfhtnm[6]                         @344     P
  159.    text kcvfhtnm[7]                         @345      
  160.    text kcvfhtnm[8]                         @346      
  161.    text kcvfhtnm[9]                         @347      
  162.    text kcvfhtnm[10]                        @348      
  163.    text kcvfhtnm[11]                        @349      
  164.    text kcvfhtnm[12]                        @350      
  165.    text kcvfhtnm[13]                        @351      
  166.    text kcvfhtnm[14]                        @352      
  167.    text kcvfhtnm[15]                        @353      
  168.    text kcvfhtnm[16]                        @354      
  169.    text kcvfhtnm[17]                        @355      
  170.    text kcvfhtnm[18]                        @356      
  171.    text kcvfhtnm[19]                        @357      
  172.    text kcvfhtnm[20]                        @358      
  173.    text kcvfhtnm[21]                        @359      
  174.    text kcvfhtnm[22]                        @360      
  175.    text kcvfhtnm[23]                        @361      
  176.    text kcvfhtnm[24]                        @362      
  177.    text kcvfhtnm[25]                        @363      
  178.    text kcvfhtnm[26]                        @364      
  179.    text kcvfhtnm[27]                        @365      
  180.    text kcvfhtnm[28]                        @366      
  181.    text kcvfhtnm[29]                        @367      
  182.    ub4 kcvfhrfn                             @368      0x00000006
  183.    struct kcvfhrfs, 8 bytes                 @372     
  184.       ub4 kscnbas                           @372      0x00000000
  185.       ub2 kscnwrp                           @376      0x0000
  186.    ub4 kcvfhrft                             @380      0x00000000
  187.    struct kcvfhafs, 8 bytes                 @384     
  188.       ub4 kscnbas                           @384      0x00000000
  189.       ub2 kscnwrp                           @388      0x0000
  190.    ub4 kcvfhbbc                             @392      0x00000000
  191.    ub4 kcvfhncb                             @396      0x00000000
  192.    ub4 kcvfhmcb                             @400      0x00000000
  193.    ub4 kcvfhlcb                             @404      0x00000000
  194.    ub4 kcvfhbcs                             @408      0x00000000
  195.    ub2 kcvfhofb                             @412      0x0000
  196.    ub2 kcvfhnfb                             @414      0x0000
  197.    ub4 kcvfhprc                             @416      0x296a3120
  198.    struct kcvfhprs, 8 bytes                 @420     
  199.       ub4 kscnbas                           @420      0x00000001
  200.       ub2 kscnwrp                           @424      0x0000
  201.    struct kcvfhprfs, 8 bytes                @428     
  202.       ub4 kscnbas                           @428      0x00000000
  203.       ub2 kscnwrp                           @432      0x0000
  204.    ub4 kcvfhtrt     
复制代码
原创粉丝点击