Oracle数据库KFOD查看disk header内容的相关操作是本文我们主要要介绍的内容,接下来就让我们一起来了解一下这部分内容吧。
这里直接截取disk header的内容:
class="dp-xml">
- [oracle@rac2 ~]$ kfed read/dev/mapper/datap1
- kfbh.endian: 1 ; 0x000: 0x01
- kfbh.hard: 130 ; 0x001: 0x82
- kfbh.type: 1 ; 0x002:KFBTYP_DISKHEAD
- kfbh.datfmt: 1 ; 0x003: 0x01
- kfbh.block.blk: 0 ; 0x004: T=0 NUMB=0x0
- kfbh.block.obj: 2147483648 ; 0x008: TYPE=0x8NUMB=0x0
- kfbh.check: 1508168608 ; 0x00c:0x59e4d3a0
- kfbh.fcn.base: 0 ; 0x010: 0x00000000
- kfbh.fcn.wrap: 0 ; 0x014: 0x00000000
- kfbh.spare1: 0 ; 0x018: 0x00000000
- kfbh.spare2: 0; 0x01c: 0x00000000
- kfdhdb.driver.provstr: ORCLDISKDATA ; 0x000: length=12
- -->磁盘卷名
- kfdhdb.driver.reserved[0]: 1096040772 ; 0x008: 0x41544144
- kfdhdb.driver.reserved[1]: 0 ; 0x00c: 0x00000000
- kfdhdb.driver.reserved[2]: 0 ; 0x010: 0x00000000
- kfdhdb.driver.reserved[3]: 0 ; 0x014: 0x00000000
- kfdhdb.driver.reserved[4]: 0 ; 0x018: 0x00000000
- kfdhdb.driver.reserved[5]: 0 ; 0x01c: 0x00000000
- kfdhdb.compat: 168820736 ; 0x020: 0x0a100000
- kfdhdb.dsknum: 0 ; 0x024: 0x0000
- kfdhdb.grptyp: 1 ; 0x026:KFDGTP_EXTERNAL
- --> ThisindicatesRedundancy for Group.Check TYPE in query output.
- kfdhdb.hdrsts: 3 ; 0x027:KFDHDR_MEMBER
- --> This indicatesDiskHeader status. Here it indicates it is member of Group.
- kfdhdb.dskname: DATA ; 0x028: length=4
- --> This indicatesDiskName
- kfdhdb.grpname: DATA ; 0x048: length=4
- --> This indicatestheGroup Name for the disk.
- kfdhdb.fgname: DATA ; 0x068: length=4
- --> This indicatestheFailure Group Name.
- kfdhdb.capname: ; 0x088: length=0
- kfdhdb.crestmp.hi: 32952076 ; 0x0a8: HOUR=0xcDAYS=0x18 MNTH=0x3 YEAR=0x7db
- kfdhdb.crestmp.lo: 3374491648 ; 0x0ac: USEC=0x0MSEC=0xaa SECS=0x12 MINS=0x32
- kfdhdb.mntstmp.hi: 32955120 ; 0x0b0: HOUR=0x10DAYS=0x17 MNTH=0x6 YEAR=0x7db
- kfdhdb.mntstmp.lo: 3440417792 ; 0x0b4: USEC=0x0MSEC=0x27 SECS=0x11 MINS=0x33
- kfdhdb.secsize: 512 ; 0x0b8: 0x0200
- kfdhdb.blksize: 4096 ; 0x0ba: 0x1000
- kfdhdb.ausize: 1048576 ; 0x0bc: 0x00100000
- kfdhdb.mfact: 113792 ; 0x0c0: 0x0001bc80
- kfdhdb.dsksize: 11993 ; 0x0c4: 0x00002ed9
- kfdhdb.pmcnt: 2 ; 0x0c8: 0x00000002
- kfdhdb.fstlocn: 1 ; 0x0cc: 0x00000001
- kfdhdb.altlocn: 2 ; 0x0d0: 0x00000002
- kfdhdb.f1b1locn: 2 ; 0x0d4: 0x00000002
- kfdhdb.redomirrors[0]: 0 ; 0x0d8: 0x0000
- kfdhdb.redomirrors[1]: 0 ; 0x0da: 0x0000
- kfdhdb.redomirrors[2]: 0 ; 0x0dc: 0x0000
- kfdhdb.redomirrors[3]: 0 ; 0x0de: 0x0000
- kfdhdb.dbcompat: 168820736 ; 0x0e0: 0x0a100000
- kfdhdb.grpstmp.hi: 32952076 ; 0x0e4: HOUR=0xcDAYS=0x18 MNTH=0x3 YEAR=0x7db
- kfdhdb.grpstmp.lo: 3374396416 ; 0x0e8: USEC=0x0MSEC=0x4d SECS=0x12 MINS=0x32
- kfdhdb.ub4spare[0]: 0 ; 0x0ec: 0x00000000
- kfdhdb.ub4spare[1]: 0 ; 0x0f0: 0x00000000
- ......
- kfdhdb.ub4spare[55]: 0 ; 0x1c8: 0x00000000
- kfdhdb.ub4spare[56]: 0 ; 0x1cc: 0x00000000
- kfdhdb.ub4spare[57]: 0 ; 0x1d0: 0x00000000
- kfdhdb.acdb.aba.seq: 0 ; 0x1d4: 0x00000000
- kfdhdb.acdb.aba.blk: 0 ; 0x1d8: 0x00000000
- kfdhdb.acdb.ents: 0 ; 0x1dc: 0x0000
- kfdhdb.acdb.ub2spare: 0 ; 0x1de: 0x0000
以上就是Oracle数据库KFOD查看disk header内容的示例的相关知识,本文我们就介绍到这里了,希望本次的介绍能够对您有所收获!