Mainframe DASD
Mainframe DASD (direct-access storage device) is disk storage that mainframes access through channel programs, formatted as count-key-data or fixed-block volumes.
In 1974 one removable-pack device had 200 cylinders plus 3 alternates, 20 tracks per cylinder and 7,294 bytes per track, about 29.2 million bytes per pack. A later one had 411 cylinders including 7 alternates, 19 tracks per cylinder and 13,030 bytes per track, about 100 million bytes. Search commands compared a key, ID or home address on the device before a read or write, keeping the channel busy during the search. [4]
The Linux driver stores a track address as 16-bit cylinder and head fields, packing cylinder bits beyond 16 above the 4 low-order head bits for extended address volumes. A count record is 8 bytes, so keys reach 255 bytes and data 65,535 bytes. Records per track follow a separate formula for each of three device types. The driver chains at most 180 blocks per request, handles up to 256 parallel-access alias devices per logical control unit and maps five control-unit types onto two device geometries. [2]
An open-source emulator lists ten count-key-data and seven fixed-block device types. The largest listed volume of the later type has 65,520 cylinders, with smaller models of 1,113 to 32,760, and images are built from whole cylinders. [3]
Relations
- related
- SAN, Fibre Channel, ESCON
Advantages
- Alias devices let one volume have several I/O operations in flight at once. [2]
Citations
- drivers/s390/block/dasd_eckd.c and dasd_eckd.h, Linux kernel source
- Hercules Version 4: Creating DASD
- Introduction to IBM Direct-Access Storage Devices and Organization Methods, GC20-1649-8
Further reading
Sources & caveats
- c4 is IBM student text GC20-1649-8 (February 1974), read as a scan on bitsavers.org; capacities are for 1974 devices.
- c2 is Linux kernel source (master branch); c3 is Hercules emulator documentation.
- No cited source states the current share or role of DASD in new installations.
- Channel transports (ESCON, FICON, Fibre Channel) are not described in the cited documents.
- Arithmetic: 200 x 145,880 = 29,176,000 bytes; 404 x 247,570 = 100,018,280 bytes; 8-bit key length gives 255, 16-bit data length 65,535.