kfbh.endian
/* endianness of writer */
Little endian = 1
Big endian = 0
kfbh.hard
/* H.A.R.D. magic # and block size */
kfbh.type
/* metadata block type */
kfbh.datfmt
/* metadata block data format */
kfbh.block
/* block location of this block*/
blk -- Disk header should have T=0 and NUMB=0x0
obj -- Disk header should have TYPE=0x8 NUMB=<disknumber>
blk and obj values are derived from a series of macros in kf3.h.
kfbh.check
/* check value to verify consistency */
kfbh.fcn
/* change number of last change*/¬
kfdhdb.driver
/* ASMLIB driver reserved block */
If no driver is defined "ORCLDISK" is used.
kfdhdb.compat
/* Comaptible software version*/
example: 0x0a100000
You get:
a=10 1=1 so 10.1.0.0.0
kfdhdb.dsknum
/* ASM disk number*/
This is the disk number. The first disk being "0". There can be up to
ub2 disks in a diskgroup. This allows for 65336 disks 0 through 65335.
kfdhdb.grptyp
/* Disk group type */
kfdhdb.hdrsts
/* Disk header status */
This is what is used to determine if a disk is available or not to
the diskgroup. 0x03 is the correct value for a valid status.
kfdhdb.dskname /* ASM disk name */
kfdhdb.grpname /* ASM disk group name */
kfdhdb.fgname /* Failure group name */
kfdhdb.capname /* Capacity grp, unused*/
kfdhdb.crestmp /* Creation timestamp*/
kfdhdb.mntstmp /* Mount timestamp */
kfdhdb.secsize
/* Disk sector size (bytes) */
This is the physical sector size of the disk in bytes. All I/O's to the
disk are described in physical sectors. This must be a power of 2. An
ideal value would be 4096, but most disks are formatted with 512 byte
sectors. (from asmlib.h)
kfdhdb.blksize
/* Metadata block (bytes) */
kfdhdb.ausize
/* Allocation Unit (bytes) */
kfdhdb.mfact
/* Stride between phys addr AUs */
kfdhdb.dsksize
/* Disk size in Aus */
Mulitply by AUs to get actual size of disk when added.
kfdhdb.pmcnt
/* Permanent phys addressed Aus */
Number of physically addressed allocation units.
kfdhdb.fstlocn
/* First FreeSpace table blk num */
Used to find freespace.
kfdhdb.altlocn
/* First Alocation table blk num */
Used to find alocated space.
kfdhdb.f1b1locn
/* File Directory blk 1 AU num */
Beginging for file directory