Fixed block architecture
Fixed block architecture (FBA) is a mainframe disk format in which all records have the same length and each block is addressed by a sequential block number.
All data records have one specified length and each block is accessed by a unique number, so programs do not locate data by cylinder, head and record or compute track capacity, and fewer channel commands are needed than with count-key-data. A block has an ID area (address, control and error-correction bytes), a 512-byte data area with error-correction bytes, and gaps. One command addresses 1 to about 65,000 blocks. [2]
On the 1979 device described, each access mechanism held 558,000 blocks, or 285,696,000 bytes, and a drive twice that, with 20 ms average access time, 10.1 ms average rotational latency and a nominal 1.859 MB/s. [2] An open-source emulator lists seven FBA device types from 125,664 to 1,672,881 blocks, about 64.3 MB to 856.5 MB. [4]
The Linux driver uses four channel commands, namely read (0x42), write (0x41), locate (0x43) and define extent (0x63). Its locate record carries a 16-bit block count and a 32-bit block number, so 512-byte blocks reach 2^32 x 512 bytes = 2 TiB. The driver chains at most 96 blocks per request, supports discard and reports a geometry of 16 heads derived from the block count. [3]
Relations
- related
- Mainframe DASD, SCSI, CKD DASD, Block storage, Logical sector
Limitations
- The block format has no key area, so the keyed record search of count-key-data is unavailable. [2]
Citations
- IBM 3370 Direct Access Storage Description, GA26-1657-1
- drivers/s390/block/dasd_fba.c and dasd_fba.h, Linux kernel source
- Hercules Version 4: Creating DASD
Further reading
Sources & caveats
- c2 is IBM manual GA26-1657-1 (September 1979), read as a scan on bitsavers.org; device figures are for that generation.
- c3 is Linux kernel source (master branch); c4 is Hercules emulator documentation.
- The 2 TiB figure is derived from the 32-bit field; the driver source does not state it as a limit.
- Current mainframe use of FBA is not covered by the cited documents.
- Arithmetic: 558,000 x 512 = 285,696,000 bytes; 125,664 x 512 = 64.3 MB; 1,672,881 x 512 = 856.5 MB; 2^32 x 512 = 2 TiB.