暂无图片
暂无图片
暂无图片
暂无图片
暂无图片
CASE STUDY: UNDERSTANDING ERROR ORA-15196
1356
12页
1次
2020-07-08
10墨值下载
1
CASE STUDY: UNDERSTANDING ERROR ORA-15196
This document provides an explanation of error ORA-15196, including the details
of each argument, suggestions for the diagnostic of the error and finally includes
a case study using a real problem reported by a customer.
Error Description
ORA-15196 is reported after a validation of an ASM metadata block has failed.
The error will be reported in the following format:
ORA-15196: invalid ASM block header [1st] [2nd] [3rd] [4th] [5th != 6th]
Where the arguments indicate:
Argument Meaning
1
st
Function and line number in the code, where the exception is raised
2
nd
Field failing the validation
3
rd
ASM object number stored in the block
4
th
ASM block number stored in the block
5
th
Value associated with field referenced by argument 2
6th Expected value for field referenced by argument 2
Example:
ORA-15196: invalid ASM block header [kfc.c:7997] [endian_kfbh] [1] [93] [211 != 0]
Function and line number in the code, where the exception is raised = kfc.c:7997
Field failing the validation = endian_kfbh
ASM object number stored in the block = 1
ASM block number stored in the block = 93
Value associated with field referenced by argument #2 = 211
Expected value for field referenced by argument #2 = 0
2
Arguments description
Function and line number in the code, where the exception is raised
In general terms it is valid to say this argument will be the same in most of the
possible cases, because is always the same routine where this exception is
raised.
#define kfbValid(data, len, type, bl) \
kfbValidPriv(data, len, type, bl, __FILE__, __LINE__).
Field failing the validation
The ASM metadata is composed by many different structures like file directory,
disk directory, active change directory (ACDC), etc, which are organized by files
(asm file# between 1 and 255). Each file will be made of extents, which will be
made of ASM block (4096 bytes). Each block has a generic block header (kfbh),
and any of those fields can be validated.
kfbh.endian: 0 ; 0x000: 0x00
kfbh.hard: 130 ; 0x001: 0x82
kfbh.type: 4 ; 0x002: KFBTYP_FILEDIR
kfbh.datfmt: 1 ; 0x003: 0x01
kfbh.block.blk: 80 ; 0x004: T=0 NUMB=0x50
kfbh.block.obj: 1 ; 0x008: TYPE=0x0 NUMB=0x1
kfbh.check: 4268948098 ; 0x00c: 0xfe72fa82
kfbh.fcn.base: 0 ; 0x010: 0x00000000
kfbh.fcn.wrap: 0 ; 0x014: 0x00000000
kfbh.spare1: 0 ; 0x018: 0x00000000
kfbh.spare2: 0 ; 0x01c: 0x00000000
A short description of each of the fields referenced above (file kf3.h):
kfbh.endian endianness of writer big or little endian
kfbh.hard H.A.R.D. magic # and block size
kfbh.type metadata block type (type of ASM metadata)
kfbh.datfmt metadata block data format
kfbh.block.blk block location of this block
kfbh.block.obj check value to verify consistency
kfbh.check change number of last change
kfbh.spare1 zero pad out to 32 bytes
kfbh.spare2 zero pad out to 32 bytes
A list of the fields reported by this error through different SR is:
endian_kfbh
obj_kfbl
hard_kfbh
type_kfbh
datfmt_kfbh
of 12
10墨值下载
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文档的来源(墨天轮),文档链接,文档作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论

关注
最新上传
暂无内容,敬请期待...
下载排行榜
Top250 周榜 月榜