Jump to content

Direct-access storage device: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
YurikBot (talk | contribs)
Added links
(106 intermediate revisions by 70 users not shown)
Line 1: Line 1:
{{Refimprove|date=December 2009}}
A '''direct access storage device''', or '''DASD''' ([[International Phonetic Alphabet for English|IPA]] {{IPA|[ˈdæzdi]}}) is a form of magnetic disk storage, historically used in the [[mainframe]] and [[minicomputer]] (mid-range) environments. A [[redundant array of independent disks]] (RAID) is a form of DASD.


A '''direct-access storage device''' ('''DASD''', pronounced {{IPAc-en|ˈ|d|æ|z|d|iː}}) is any [[secondary storage]] device in which "each physical record has a discrete location and a unique address."<ref name=Intro>{{cite book|last=IBM Corporation|title=Introduction to IBM Direct-Access Storage Devices and Organization Methods|year=1975|page=1-1|url=http://bitsavers.trailing-edge.com/pdf/ibm/dasd/GC20-1649-9_DASDintro_Dec75.pdf}}</ref> [[IBM]] developed DASDs for use with [[mainframe computer]]s and some [[minicomputer]]s. [[Disk drive]]s, [[Drum memory|magnetic drums]], [[IBM 2321 Data Cell|data cells]] and [[optical disc drive]]s are all classified as DASDs.<ref>{{cite web|last=IBM Corporation|title=Serial Direct Access Storage Device Subsystem|url=https://publib.boulder.ibm.com/infocenter/aix/v6r1/index.jsp?topic=%2Fcom.ibm.aix.kernelext%2Fdoc%2Fkernextc%2Fserial_direct_storage.htm|work=IBM AIX 6.1 Information Center|accessdate=December 22, 2013}}</ref>
"Direct access" means that all data can be accessed directly &mdash; in a form of indexing also known as "random access" &mdash; as opposed to storage systems based on seeking sequentially through the data (e.g., tape drives).


[[Access methods]] for DASDs include ''sequential'', ''indexed'', and ''direct''. The ''[[direct access (computing)|direct access]]'' capability, occasionally and incorrectly called ''[[random access]]'' (although that term survives when referring to memory or RAM), stands in contrast to ''[[sequential access]]'' used in [[magnetic tape data storage|tape]] [[tape drive|drive]]s. A record on a DASD can be accessed without having to read through intervening records from the current location, whereas reading anything other than the "next" record on tape requires skipping over intervening records, and requires a proportionally long time to access a distant point in a medium.
== See also ==


The DASD ''storage class'' includes both fixed and removable media.
* [[DFSMS]]
* [[ESCON]]
* [[FICON]]
* [[Global Mirror]]
* [[hard disk]]
* [[Metro Mirror]]


==Architecture==
[[Category:Mainframe computers]]
IBM mainframes access I/O devices through ''[[Channel I/O|channels]]'', a type of subordinate mini-processor. ''[[Channel program]]s'' write to, read from, and control the given device.


===CTR (CHR)===
image:dasd
Channel programs address data using an eight-byte absolute module-bin-cylinder-track-record block address, or MBBCCHHR, divided into 16 bit-components representing the ''module'' and ''bin'' (for data cells), ''cylinder'' (for discs), ''head'' (or ''track''), and the ''record'' (block) number. When the data cell was discontinued in January 1975,<ref>{{cite web
{{compu-storage-stub}}
|url = http://www-03.ibm.com/ibm/history/exhibits/storage/storage_2321.html
|title = IBM Archives: IBM 2321 data cell drive
|author = IBM Corporation
|accessdate = 8 Nov 2011
}}</ref> the addressing scheme and the device itself was referred to as CHR or CTR for cylinder-track-record, as the bin number was always 0.


IBM refers to the data records programmers work with as ''logical records'', and the format on disc as [[Block (data storage)|blocks]] or ''physical records''. One block might contain several logical (or user) records or, in some schemes, partial logical records.
[[de:Direct Access Storage Device]]

Physical records can have any size up to the limit of a [[Cylinder (disk drive)|cylinder]], although in usual practice, blocks or physical records do not exceed the capacity of a single track.

The access methods are responsible for ''blocking'' and ''deblocking'' logical records as they are written to or read from external media.

====CKD====
CHR/CTR acronyms should not be confused with [[Count Key Data|CKD]], which refers to [[Count Key Data]], the layout of an addressable data record on a CTR.

===FBA===
In the 1970s, IBM introduced [[fixed block architecture]] (FBA) for mainframes. At the programming level, these devices do not use the traditional CHR addressing, but reference fixed-length blocks by number, much like sectors in mini-computers. More correctly, the application programmer remains unaware of the underlying storage arrangement, which stores the data in fixed physical block lengths of 512, 1024, 2048, or 4096.

For many applications, FBA not only offers simplicity, but an increase in throughput.

FBA is supported by [[VM (operating system)|VM/370]] and [[VSE (operating system)|DOS/VSE]], but not [[MVS]] or successor operating systems in the OS/360 line.

==Access==
The programming interface macros and routines are collectively called{{By whom|date=March 2009}} DAM: <u>d</u>irect <u>a</u>ccess <u>m</u>ethods.

===DOS/VSE===
* DAmod/DTFDA – direct access
* SDmod/DTFSD – sequential disc
* ISmod/DTFIS - indexed sequential
* VSAM – Virtual Storage Access Method

===MVS, OS/390===
* [[Basic Sequential Access Method|BSAM]] - Basic Sequential Access Method
* [[Basic Indexed Sequential Access Method|BISAM]] - Basic Indexed Sequential Access Method
* [[Queued Sequential Access Method|QSAM]] - Queued Sequential Access Method
* [[Queued Indexed Sequential Access Method|QISAM]] - Queued Indexed Sequential Access Method
* [[BPAM]] - Basic Partitioned Access Method
* [[BDAM]] - Basic Direct Access Method
* [[VSAM]] – Virtual Storage Access Method

==Present terminology==
Both drums and data cells have disappeared as products, so DASD remains as a synonym of disk and optical devices. Modern DASD used in mainframes only very rarely consist of single disk-drives. Most commonly "DASD" means large [[disk array]]s utilizing [[redundant array of independent disks|RAID]] schemes.

==See also==
{{Portal|Information technology}}

* [[Hard disk]]
* [[DFSMS]]{{snd}} a standard software managing DASD usage
* [[ESCON]]{{snd}} a protocol for mainframe peripheral communication, used by most DASD devices
* [[FICON]]{{snd}} new protocol to replace ESCON
* [[IBM Enterprise Storage Server]]{{snd}} an example of large DASD
* [[Global Mirror]]{{snd}} DASD remote synchronization product
* [[Metro Mirror]]{{snd}} DASD remote synchronization product
* [[History of IBM magnetic disk drives]]

==References==
{{Reflist}}

{{DEFAULTSORT:Direct Access Storage Device}}
[[Category:IBM storage devices]]
[[Category:IBM mainframe operating systems]]

Revision as of 18:39, 8 April 2015

A direct-access storage device (DASD, pronounced /ˈdæzd/) is any secondary storage device in which "each physical record has a discrete location and a unique address."[1] IBM developed DASDs for use with mainframe computers and some minicomputers. Disk drives, magnetic drums, data cells and optical disc drives are all classified as DASDs.[2]

Access methods for DASDs include sequential, indexed, and direct. The direct access capability, occasionally and incorrectly called random access (although that term survives when referring to memory or RAM), stands in contrast to sequential access used in tape drives. A record on a DASD can be accessed without having to read through intervening records from the current location, whereas reading anything other than the "next" record on tape requires skipping over intervening records, and requires a proportionally long time to access a distant point in a medium.

The DASD storage class includes both fixed and removable media.

Architecture

IBM mainframes access I/O devices through channels, a type of subordinate mini-processor. Channel programs write to, read from, and control the given device.

CTR (CHR)

Channel programs address data using an eight-byte absolute module-bin-cylinder-track-record block address, or MBBCCHHR, divided into 16 bit-components representing the module and bin (for data cells), cylinder (for discs), head (or track), and the record (block) number. When the data cell was discontinued in January 1975,[3] the addressing scheme and the device itself was referred to as CHR or CTR for cylinder-track-record, as the bin number was always 0.

IBM refers to the data records programmers work with as logical records, and the format on disc as blocks or physical records. One block might contain several logical (or user) records or, in some schemes, partial logical records.

Physical records can have any size up to the limit of a cylinder, although in usual practice, blocks or physical records do not exceed the capacity of a single track.

The access methods are responsible for blocking and deblocking logical records as they are written to or read from external media.

CKD

CHR/CTR acronyms should not be confused with CKD, which refers to Count Key Data, the layout of an addressable data record on a CTR.

FBA

In the 1970s, IBM introduced fixed block architecture (FBA) for mainframes. At the programming level, these devices do not use the traditional CHR addressing, but reference fixed-length blocks by number, much like sectors in mini-computers. More correctly, the application programmer remains unaware of the underlying storage arrangement, which stores the data in fixed physical block lengths of 512, 1024, 2048, or 4096.

For many applications, FBA not only offers simplicity, but an increase in throughput.

FBA is supported by VM/370 and DOS/VSE, but not MVS or successor operating systems in the OS/360 line.

Access

The programming interface macros and routines are collectively called[by whom?] DAM: direct access methods.

DOS/VSE

  • DAmod/DTFDA – direct access
  • SDmod/DTFSD – sequential disc
  • ISmod/DTFIS - indexed sequential
  • VSAM – Virtual Storage Access Method

MVS, OS/390

  • BSAM - Basic Sequential Access Method
  • BISAM - Basic Indexed Sequential Access Method
  • QSAM - Queued Sequential Access Method
  • QISAM - Queued Indexed Sequential Access Method
  • BPAM - Basic Partitioned Access Method
  • BDAM - Basic Direct Access Method
  • VSAM – Virtual Storage Access Method

Present terminology

Both drums and data cells have disappeared as products, so DASD remains as a synonym of disk and optical devices. Modern DASD used in mainframes only very rarely consist of single disk-drives. Most commonly "DASD" means large disk arrays utilizing RAID schemes.

See also

References

  1. ^ IBM Corporation (1975). Introduction to IBM Direct-Access Storage Devices and Organization Methods (PDF). p. 1-1.
  2. ^ IBM Corporation. "Serial Direct Access Storage Device Subsystem". IBM AIX 6.1 Information Center. Retrieved December 22, 2013.
  3. ^ IBM Corporation. "IBM Archives: IBM 2321 data cell drive". Retrieved 8 Nov 2011.