kfed disk header
kfbh.endian: 1 ; 0x000: 0x01 定义平台的类型是little还是big,其中little是1 big 0
select * from GV_$TRANSPORTABLE_PLATFORM
2*
SQL> /
INST_ID PLATFORM_ID PLATFORM_NAME ENDIAN_FORMAT
---------- ----------- -------------------------------------------------------------------------------- --------------
1 1 Solaris[tm] OE (32-bit) Big
1 2 Solaris[tm] OE (64-bit) Big
1 7 Microsoft Windows IA (32-bit) Little
1 10 Linux IA (32-bit) Little
1 6 AIX-Based Systems (64-bit) Big
1 3 HP-UX (64-bit) Big
1 5 HP Tru64 UNIX Little
1 4 HP-UX IA (64-bit) Big
1 11 Linux IA (64-bit) Little
1 15 HP Open VMS Little
1 8 Microsoft Windows IA (64-bit) Little
INST_ID PLATFORM_ID PLATFORM_NAME ENDIAN_FORMAT
---------- ----------- -------------------------------------------------------------------------------- --------------
1 9 IBM zSeries Based Linux Big
1 13 Linux 64-bit for AMD Little
1 16 Apple Mac OS Big
1 12 Microsoft Windows 64-bit for AMD Little
1 17 Solaris Operating System (x86) Little
1 18 IBM Power Based Linux Big
17 rows selected.
kfbh.hard: 130 ; 0x001: 0x82 HARD.magic and block size
kfbh.type: 1 ; 0x002: KFBTYP_DISKHEAD 元数据块类型 这个就是磁盘头
kfbh.datfmt: 1 ; 0x003: 0x01
kfbh.block.blk: 0 ; 0x004: T=0 NUMB=0x0
kfbh.block.obj: 2147483649 ; 0x008: TYPE=0x8 NUMB=0x1
kfbh.check: 580165501 ; 0x00c: 0x22949f7d
kfbh.fcn.base: 212 ; 0x010: 0x000000d4
kfbh.fcn.wrap: 0 ; 0x014: 0x00000000
kfbh.spare1: 0 ; 0x018: 0x00000000
kfbh.spare2: 0 ; 0x01c: 0x00000000
kfdhdb.driver.provstr: ORCLDISK ; 0x000: length=8
kfdhdb.driver.reserved[0]: 0 ; 0x008: 0x00000000
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: 1 ; 0x024: 0x0001
kfdhdb.grptyp: 2 ; 0x026: KFDGTP_NORMAL
kfdhdb.hdrsts: 3 ; 0x027: KFDHDR_MEMBER
kfdhdb.dskname: TEST_ASM_0001 ; 0x028: length=13
kfdhdb.grpname: TEST_ASM ; 0x048: length=8
kfdhdb.fgname: TEST_ASM_0001 ; 0x068: length=13
kfdhdb.capname: ; 0x088: length=0
kfdhdb.crestmp.hi: 32917154 ; 0x0a8: HOUR=0x2 DAYS=0x15 MNTH=0x1 YEAR=0x7d9
kfdhdb.crestmp.lo: 954749952 ; 0x0ac: USEC=0x0 MSEC=0x215 SECS=0xe MINS=0xe
kfdhdb.mntstmp.hi: 32917167 ; 0x0b0: HOUR=0xf DAYS=0x15 MNTH=0x1 YEAR=0x7d9
kfdhdb.mntstmp.lo: 2410016768 ; 0x0b4: USEC=0x0 MSEC=0x17c SECS=0x3a MINS=0x23
kfdhdb.secsize: 512 ; 0x0b8: 0x0200
kfdhdb.blksize: 4096 ; 0x0ba: 0x1000
kfdhdb.ausize: 1048576 ; 0x0bc: 0x00100000
kfdhdb.mfact: 113792 ; 0x0c0: 0x0001bc80
kfdhdb.dsksize: 1019 ; 0x0c4: 0x000003fb
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]: 1 ; 0x0da: 0x0001
kfdhdb.redomirrors[2]: 2 ; 0x0dc: 0x0002
kfdhdb.redomirrors[3]: 65535 ; 0x0de: 0xffff
kfdhdb.dbcompat: 168820736 ; 0x0e0: 0x0a100000
kfdhdb.grpstmp.hi: 32917154 ; 0x0e4: HOUR=0x2 DAYS=0x15 MNTH=0x1 YEAR=0x7d9
kfdhdb.grpstmp.lo: 954423296 ; 0x0e8: USEC=0x0 MSEC=0xd6 SECS=0xe MINS=0xe
kfdhdb.ub4spare[0]: 0 ; 0x0ec: 0x00000000
kfdhdb.ub4spare[1]: 0 ; 0x0f0: 0x00000000
kfdhdb.ub4spare[2]: 0 ; 0x0f4: 0x00000000
kfdhdb.ub4spare[3]: 0 ; 0x0f8: 0x00000000
kfdhdb.ub4spare[4]: 0 ; 0x0fc: 0x00000000
kfdhdb.ub4spare[5]: 0 ; 0x100: 0x00000000
kfdhdb.ub4spare[6]: 0 ; 0x104: 0x00000000
kfdhdb.ub4spare[7]: 0 ; 0x108: 0x00000000
kfdhdb.ub4spare[8]: 0 ; 0x10c: 0x00000000
kfdhdb.ub4spare[9]: 0 ; 0x110: 0x00000000
kfdhdb.ub4spare[10]: 0 ; 0x114: 0x00000000
kfdhdb.ub4spare[11]: 0 ; 0x118: 0x00000000
kfdhdb.ub4spare[12]: 0 ; 0x11c: 0x00000000
kfdhdb.ub4spare[13]: 0 ; 0x120: 0x00000000
kfdhdb.ub4spare[14]: 0 ; 0x124: 0x00000000
kfdhdb.ub4spare[15]: 0 ; 0x128: 0x00000000
kfdhdb.ub4spare[16]: 0 ; 0x12c: 0x00000000
kfdhdb.ub4spare[17]: 0 ; 0x130: 0x00000000
kfdhdb.ub4spare[18]: 0 ; 0x134: 0x00000000
kfdhdb.ub4spare[19]: 0 ; 0x138: 0x00000000
kfdhdb.ub4spare[20]: 0 ; 0x13c: 0x00000000
kfdhdb.ub4spare[21]: 0 ; 0x140: 0x00000000
kfdhdb.ub4spare[22]: 0 ; 0x144: 0x00000000
kfdhdb.ub4spare[23]: 0 ; 0x148: 0x00000000
kfdhdb.ub4spare[24]: 0 ; 0x14c: 0x00000000
kfdhdb.ub4spare[25]: 0 ; 0x150: 0x00000000
kfdhdb.ub4spare[26]: 0 ; 0x154: 0x00000000
kfdhdb.ub4spare[27]: 0 ; 0x158: 0x00000000
kfdhdb.ub4spare[28]: 0 ; 0x15c: 0x00000000
kfdhdb.ub4spare[29]: 0 ; 0x160: 0x00000000
kfdhdb.ub4spare[30]: 0 ; 0x164: 0x00000000
kfdhdb.ub4spare[31]: 0 ; 0x168: 0x00000000
kfdhdb.ub4spare[32]: 0 ; 0x16c: 0x00000000
kfdhdb.ub4spare[33]: 0 ; 0x170: 0x00000000
kfdhdb.ub4spare[34]: 0 ; 0x174: 0x00000000
kfdhdb.ub4spare[35]: 0 ; 0x178: 0x00000000
kfdhdb.ub4spare[36]: 0 ; 0x17c: 0x00000000
kfdhdb.ub4spare[37]: 0 ; 0x180: 0x00000000
kfdhdb.ub4spare[38]: 0 ; 0x184: 0x00000000
kfdhdb.ub4spare[39]: 0 ; 0x188: 0x00000000
kfdhdb.ub4spare[40]: 0 ; 0x18c: 0x00000000
kfdhdb.ub4spare[41]: 0 ; 0x190: 0x00000000
kfdhdb.ub4spare[42]: 0 ; 0x194: 0x00000000
kfdhdb.ub4spare[43]: 0 ; 0x198: 0x00000000
kfdhdb.ub4spare[44]: 0 ; 0x19c: 0x00000000
kfdhdb.ub4spare[45]: 0 ; 0x1a0: 0x00000000
kfdhdb.ub4spare[46]: 0 ; 0x1a4: 0x00000000
kfdhdb.ub4spare[47]: 0 ; 0x1a8: 0x00000000
kfdhdb.ub4spare[48]: 0 ; 0x1ac: 0x00000000
kfdhdb.ub4spare[49]: 0 ; 0x1b0: 0x00000000
kfdhdb.ub4spare[50]: 0 ; 0x1b4: 0x00000000
kfdhdb.ub4spare[51]: 0 ; 0x1b8: 0x00000000
kfdhdb.ub4spare[52]: 0 ; 0x1bc: 0x00000000
kfdhdb.ub4spare[53]: 0 ; 0x1c0: 0x00000000
kfdhdb.ub4spare[54]: 0 ; 0x1c4: 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
<span id="more-471"></span>
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: 0x 0a 100000
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
select * from GV_$TRANSPORTABLE_PLATFORM
2*
SQL> /
INST_ID PLATFORM_ID PLATFORM_NAME ENDIAN_FORMAT
---------- ----------- -------------------------------------------------------------------------------- --------------
1 1 Solaris[tm] OE (32-bit) Big
1 2 Solaris[tm] OE (64-bit) Big
1 7 Microsoft Windows IA (32-bit) Little
1 10 Linux IA (32-bit) Little
1 6 AIX-Based Systems (64-bit) Big
1 3 HP-UX (64-bit) Big
1 5 HP Tru64 UNIX Little
1 4 HP-UX IA (64-bit) Big
1 11 Linux IA (64-bit) Little
1 15 HP Open VMS Little
1 8 Microsoft Windows IA (64-bit) Little
INST_ID PLATFORM_ID PLATFORM_NAME ENDIAN_FORMAT
---------- ----------- -------------------------------------------------------------------------------- --------------
1 9 IBM zSeries Based Linux Big
1 13 Linux 64-bit for AMD Little
1 16 Apple Mac OS Big
1 12 Microsoft Windows 64-bit for AMD Little
1 17 Solaris Operating System (x86) Little
1 18 IBM Power Based Linux Big
17 rows selected.
kfbh.hard: 130 ; 0x001: 0x82 HARD.magic and block size
kfbh.type: 1 ; 0x002: KFBTYP_DISKHEAD 元数据块类型 这个就是磁盘头
kfbh.datfmt: 1 ; 0x003: 0x01
kfbh.block.blk: 0 ; 0x004: T=0 NUMB=0x0
kfbh.block.obj: 2147483649 ; 0x008: TYPE=0x8 NUMB=0x1
kfbh.check: 580165501 ; 0x00c: 0x22949f7d
kfbh.fcn.base: 212 ; 0x010: 0x000000d4
kfbh.fcn.wrap: 0 ; 0x014: 0x00000000
kfbh.spare1: 0 ; 0x018: 0x00000000
kfbh.spare2: 0 ; 0x01c: 0x00000000
kfdhdb.driver.provstr: ORCLDISK ; 0x000: length=8
kfdhdb.driver.reserved[0]: 0 ; 0x008: 0x00000000
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: 1 ; 0x024: 0x0001
kfdhdb.grptyp: 2 ; 0x026: KFDGTP_NORMAL
kfdhdb.hdrsts: 3 ; 0x027: KFDHDR_MEMBER
kfdhdb.dskname: TEST_ASM_0001 ; 0x028: length=13
kfdhdb.grpname: TEST_ASM ; 0x048: length=8
kfdhdb.fgname: TEST_ASM_0001 ; 0x068: length=13
kfdhdb.capname: ; 0x088: length=0
kfdhdb.crestmp.hi: 32917154 ; 0x0a8: HOUR=0x2 DAYS=0x15 MNTH=0x1 YEAR=0x7d9
kfdhdb.crestmp.lo: 954749952 ; 0x0ac: USEC=0x0 MSEC=0x215 SECS=0xe MINS=0xe
kfdhdb.mntstmp.hi: 32917167 ; 0x0b0: HOUR=0xf DAYS=0x15 MNTH=0x1 YEAR=0x7d9
kfdhdb.mntstmp.lo: 2410016768 ; 0x0b4: USEC=0x0 MSEC=0x17c SECS=0x3a MINS=0x23
kfdhdb.secsize: 512 ; 0x0b8: 0x0200
kfdhdb.blksize: 4096 ; 0x0ba: 0x1000
kfdhdb.ausize: 1048576 ; 0x0bc: 0x00100000
kfdhdb.mfact: 113792 ; 0x0c0: 0x0001bc80
kfdhdb.dsksize: 1019 ; 0x0c4: 0x000003fb
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]: 1 ; 0x0da: 0x0001
kfdhdb.redomirrors[2]: 2 ; 0x0dc: 0x0002
kfdhdb.redomirrors[3]: 65535 ; 0x0de: 0xffff
kfdhdb.dbcompat: 168820736 ; 0x0e0: 0x0a100000
kfdhdb.grpstmp.hi: 32917154 ; 0x0e4: HOUR=0x2 DAYS=0x15 MNTH=0x1 YEAR=0x7d9
kfdhdb.grpstmp.lo: 954423296 ; 0x0e8: USEC=0x0 MSEC=0xd6 SECS=0xe MINS=0xe
kfdhdb.ub4spare[0]: 0 ; 0x0ec: 0x00000000
kfdhdb.ub4spare[1]: 0 ; 0x0f0: 0x00000000
kfdhdb.ub4spare[2]: 0 ; 0x0f4: 0x00000000
kfdhdb.ub4spare[3]: 0 ; 0x0f8: 0x00000000
kfdhdb.ub4spare[4]: 0 ; 0x0fc: 0x00000000
kfdhdb.ub4spare[5]: 0 ; 0x100: 0x00000000
kfdhdb.ub4spare[6]: 0 ; 0x104: 0x00000000
kfdhdb.ub4spare[7]: 0 ; 0x108: 0x00000000
kfdhdb.ub4spare[8]: 0 ; 0x10c: 0x00000000
kfdhdb.ub4spare[9]: 0 ; 0x110: 0x00000000
kfdhdb.ub4spare[10]: 0 ; 0x114: 0x00000000
kfdhdb.ub4spare[11]: 0 ; 0x118: 0x00000000
kfdhdb.ub4spare[12]: 0 ; 0x11c: 0x00000000
kfdhdb.ub4spare[13]: 0 ; 0x120: 0x00000000
kfdhdb.ub4spare[14]: 0 ; 0x124: 0x00000000
kfdhdb.ub4spare[15]: 0 ; 0x128: 0x00000000
kfdhdb.ub4spare[16]: 0 ; 0x12c: 0x00000000
kfdhdb.ub4spare[17]: 0 ; 0x130: 0x00000000
kfdhdb.ub4spare[18]: 0 ; 0x134: 0x00000000
kfdhdb.ub4spare[19]: 0 ; 0x138: 0x00000000
kfdhdb.ub4spare[20]: 0 ; 0x13c: 0x00000000
kfdhdb.ub4spare[21]: 0 ; 0x140: 0x00000000
kfdhdb.ub4spare[22]: 0 ; 0x144: 0x00000000
kfdhdb.ub4spare[23]: 0 ; 0x148: 0x00000000
kfdhdb.ub4spare[24]: 0 ; 0x14c: 0x00000000
kfdhdb.ub4spare[25]: 0 ; 0x150: 0x00000000
kfdhdb.ub4spare[26]: 0 ; 0x154: 0x00000000
kfdhdb.ub4spare[27]: 0 ; 0x158: 0x00000000
kfdhdb.ub4spare[28]: 0 ; 0x15c: 0x00000000
kfdhdb.ub4spare[29]: 0 ; 0x160: 0x00000000
kfdhdb.ub4spare[30]: 0 ; 0x164: 0x00000000
kfdhdb.ub4spare[31]: 0 ; 0x168: 0x00000000
kfdhdb.ub4spare[32]: 0 ; 0x16c: 0x00000000
kfdhdb.ub4spare[33]: 0 ; 0x170: 0x00000000
kfdhdb.ub4spare[34]: 0 ; 0x174: 0x00000000
kfdhdb.ub4spare[35]: 0 ; 0x178: 0x00000000
kfdhdb.ub4spare[36]: 0 ; 0x17c: 0x00000000
kfdhdb.ub4spare[37]: 0 ; 0x180: 0x00000000
kfdhdb.ub4spare[38]: 0 ; 0x184: 0x00000000
kfdhdb.ub4spare[39]: 0 ; 0x188: 0x00000000
kfdhdb.ub4spare[40]: 0 ; 0x18c: 0x00000000
kfdhdb.ub4spare[41]: 0 ; 0x190: 0x00000000
kfdhdb.ub4spare[42]: 0 ; 0x194: 0x00000000
kfdhdb.ub4spare[43]: 0 ; 0x198: 0x00000000
kfdhdb.ub4spare[44]: 0 ; 0x19c: 0x00000000
kfdhdb.ub4spare[45]: 0 ; 0x1a0: 0x00000000
kfdhdb.ub4spare[46]: 0 ; 0x1a4: 0x00000000
kfdhdb.ub4spare[47]: 0 ; 0x1a8: 0x00000000
kfdhdb.ub4spare[48]: 0 ; 0x1ac: 0x00000000
kfdhdb.ub4spare[49]: 0 ; 0x1b0: 0x00000000
kfdhdb.ub4spare[50]: 0 ; 0x1b4: 0x00000000
kfdhdb.ub4spare[51]: 0 ; 0x1b8: 0x00000000
kfdhdb.ub4spare[52]: 0 ; 0x1bc: 0x00000000
kfdhdb.ub4spare[53]: 0 ; 0x1c0: 0x00000000
kfdhdb.ub4spare[54]: 0 ; 0x1c4: 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
<span id="more-471"></span>
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: 0x 0a 100000
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
