ArticleslgStudy

computer science

Disk storage

Disk storage is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Disk storage rather than just read about it. In short: Disk storage (also sometimes called drive storage) is a data storage mechanism based on a rotating disk. The recording employs various electronic, magnetic, optical, or mechanical changes to the disk's surface layer.

Disk storage — main illustration
Disk storage — illustration

Key takeaways

  • Disk storage belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Disk storage to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Disk storage from memory before moving on to harder problems.

Reference excerpt

Disk storage (also sometimes called drive storage) is a data storage mechanism based on a rotating disk. The recording employs various electronic, magnetic, optical, or mechanical changes to the disk's surface layer. A disk drive is a device implementing such a storage mechanism. Notable types are hard disk drives (HDD), containing one or more non-removable rigid platters; the floppy disk drive (FDD) and its removable floppy disk; and various optical disc drives (ODD) and associated optical disc media. (The spelling disk and disc are used interchangeably except where trademarks preclude one usage, e.g., the Compact Disc logo. The choice of a particular form is frequently historical, as in IBM's usage of the disk form beginning in 1956 with the "IBM 350 disk storage unit".)

Background Audio information was originally recorded by analog methods (see Sound recording and reproduction). Similarly, the first video disc used an analog recording method. In the music industry, analog recording has been mostly replaced by digital optical technology, where the data is recorded in a digital format with optical information. The first commercial digital disk storage device was the IBM 350 which shipped in 1956 as a part of the IBM 305 RAMAC computing system. The random-access, low-density storage of disks was developed to complement the already used sequential-access, high-density storage provided by tape drives using magnetic tape. Vigorous innovation in disk storage technology, coupled with less vigorous innovation in tape storage, has reduced the difference in acquisition cost per terabyte between disk storage and tape storage; however, the total cost of ownership of data on disk including power and management remains larger than that of tape. Disk storage is now used in both computer storage and consumer electronic storage, e.g., audio CDs and video discs (VCD, DVD and Blu-ray). Data on modern disks is stored in fixed length blocks, usually called sectors and varying in length from a few hundred to many thousands of bytes. Gross disk drive capacity is simply the number of disk surfaces times the number of blocks/surface times the number of bytes/block. In certain legacy IBM CKD drives the data was stored on magnetic disks with variable length blocks, called records; record length could vary on and between disks. Capacity decreased as record length decreased due to the necessary gaps between blocks.

Access methods Digital disk drives are block storage devices. Each disk is divided into logical blocks (collection of sectors). Blocks are addressed using their logical block addresses (LBA). Read from or write to disk happens at the granularity of blocks. Originally the disk capacity was quite low and has been improved in one of several ways. Improvements in mechanical design and manufacture allowed smaller and more precise heads, meaning that more tracks could be stored on each of the disks. Advancements in data compression methods permitted more information to be stored in each of the individual sectors. The drive stores data onto cylinders, heads, and sectors. The sector unit is the smallest size of data to be stored in a hard disk drive, and each file will have many sector units assigned to it. The smallest entity in a CD is called a frame, which consists of 33 bytes and contains six complete 16-bit stereo samples (two bytes × two channels × six samples = 24 bytes). The other nine bytes consist of eight CIRC error-correction bytes and one subcode byte used for control and display. The information is sent from the computer processor to the BIOS into a chip controlling the data transfer. This is then sent out to the hard drive via a multi-wire connector. Once the data is received onto the circuit board of the drive, they are translated and compressed into a format that the individual drive can use to store onto the disk itself. The data is then passed to a chip on the circuit board that controls the access to the drive. The drive is divided into sectors of data stored onto one of the sides of one of the internal disks. An HDD with two disks internally will typically store data on all four surfaces. The hardware on the drive tells the actuator arm where it is to go for the relevant track, and the compressed information is then sent down to the head, which changes the physical properties, optically or magnetically, for example, of each byte on the drive, thus storing the information. A file is not stored in a linear manner; rather, it is held in the best way for quickest retrieval.

Rotation speed and track layout

Mechanically, there are two different motions occurring inside the drive. One is the rotation of the disks inside the device. The other is the side-to-side motion of the head across the disk as it moves between tracks. There are two types of disk rotation methods:

constant linear velocity (used mainly in optical storage) varies the rotational speed of the optical disc depending upon the position of the head, and constant angular velocity (used in HDDs, standard FDDs, a few optical disc systems, and vinyl audio records) spins the media at one constant speed regardless of where the head is positioned. Track positioning also follows two different methods across disk storage devices. Storage devices focused on holding computer data, e.g., HDDs, FDDs, and Iomega zip drives, use concentric tracks to store data. During a sequential read or write operation, after the drive accesses all the sectors in a track, it repositions the head(s) to the next track. This will cause a momentary delay in the flow of data between the device and the computer. In contrast, optical audio and video discs use a single spiral track that starts at the innermost point on the disc and flows continuously to the outer edge. When reading or writing data, there is no need to stop the flow of data to switch tracks. This is similar to vinyl records, except vinyl records started at the outer edge and spiraled in toward the center.

Interfaces The disk drive interface is the mechanism/protocol of communication between the rest of the system and the disk drive itself. Storage devices intended for desktop and mobile computers typically use ATA (PATA) and SATA interfaces. Enterprise systems and high-end storage devices will typically use SCSI, SAS, and FC interfaces in addition to some use of SATA.

… excerpt ends here. Continue reading the full article.

Illustrations

Disk storage: Six hard disk drives
Six hard disk drives
Disk storage: Three floppy disk drives
Three floppy disk drives
Disk storage: A CD-ROM (optical) disc drive
A CD-ROM (optical) disc drive
Disk storage: Comparison of several forms of disk storage showing tracks (not-to-scale); green denotes start and red denotes end.* Some CD-R(W) and DVD-R(W)/DVD+R(W) recorders operate in ZCLV, CAA or CAV modes.
Comparison of several forms of disk storage showing tracks (not-to-scale); green denotes start and red denotes end.* Some CD-R(W) and DVD-R(W)/DVD+R(W) recorders operate in ZCLV, CAA or CAV modes.

Worked examples

Example 1 — a first encounter with Disk storage

Start with the simplest possible case. Write down what Disk storage claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Disk storage before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Disk storage ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Disk storage

In research
Disk storage appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Disk storage in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Disk storage is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computer storage devices, Rotating disc computer storage media, so understanding it makes those chapters shorter.
In everyday life
Look for Disk storage outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Disk storage” →

How to study Disk storage in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Disk storage means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Disk storage out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Disk storage in simple terms?

Disk storage (also sometimes called drive storage) is a data storage mechanism based on a rotating disk. The recording employs various electronic, magnetic, optical, or mechanical changes to the disk's surface layer.

Why does Disk storage matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Disk storage?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Disk storage.

Tags

  • Computer storage devices
  • Rotating disc computer storage media

Keep exploring