ArticleslgStudy

computer science

Volume (computing)

Volume (computing) 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 Volume (computing) rather than just read about it. In short: In computer data storage, a volume or logical drive is a distinctly-addressable storage area with a single file system. Storage can be designed and configured in many different and complex ways yet all include the volume concept.

Volume (computing) — main illustration
Volume (computing) — illustration

Key takeaways

  • Volume (computing) 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 Volume (computing) to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Volume (computing) from memory before moving on to harder problems.

Reference excerpt

In computer data storage, a volume or logical drive is a distinctly-addressable storage area with a single file system. Storage can be designed and configured in many different and complex ways yet all include the volume concept. A general-purpose mass-storage device is typically divided into partitions with each partition used as a volume with its own file system. A more specialized mass-storage device may be configured for redundancy where a volume spans multiple storage media or physical drives. A smaller storage such as a memory card or floppy disk might have only one partition or no partition at all (no partition table) such that the volume is logically indistinguishable from the drive. A simple volume describes the most basic configuration: a volume on one storage medium with no redundancy or striping. The following table describes an example storage configuration for a Windows system with two physical drives where the first drive has two partitions, and the second has only one. Each partition is treated as a volume with its own file system. The drive letters C:, D:, and E: each identify a volume, a.k.a. logical drive.

An operating system (OS) can potentially recognize a partition without recognizing a volume associated with it, as when a partition has not been formatted for a file system or is using a file system that the OS does not support. This occurs, for example, when Windows encounters a non-native partition, such as the ext4 filesystem commonly used with Linux. A volume can be packed in a single file. Examples include the ISO9660 disc image (CD/DVD image, commonly called "ISO"), and the installer volume for Mac OS X (Apple Disk Image). As these volumes are files in a host volume, they are not partitions. The concept of volume applies to any type of storage medium. But, for historical reasons, the term disk is often used even for non-disk media. For example, the Windows Disk Management utility supports any type of medium.

Operating system support Although the concept of volume is relatively consistent throughout computing contexts, there are significant differences in implementation and user experience between major categories of operating systems.

Microsoft systems In Windows, volumes are handled by the kernel. Volumes and mount points and configured by the user via the Disk Management utility or the diskpart command. Unlike in a Unix-like system, Microsoft systems do not have a single root directory. The system assigns at least one path to each mounted volume – either a drive letter (shown as a letter followed by a colon) such as F: or a mount point on an NTFS volume having a drive letter, such as C:\Music. In this case, the file Track1.mp3 stored in the root directory of the mounted volume could be referred to via paths F:\Track1.mp3 or C:\Music\Track1.mp3, respectively. In order to assign a mount point for a volume as a path within another volume, the following criteria must be met:

The mounted-to volume must be formatted NTFS A directory must exist at the root path; as of Windows Vista, it can be any subdirectory in a volume That directory must be empty By default, Windows assigns drive letters to all drives. It reserves A: and B: for floppy disk drives, whether present or not. It uses C: and subsequent letters for all other drives (e.g. SDD, HDD, CD, DVD). The operating system startup drive is most commonly assigned C:, however this is not always the case. Since personal computers now no longer include floppies, and optical disc and other removable drives typically still start at D:, letters A and B are available for assignment by a user with administrative privileges. This assignment is used each time a removable volume is inserted as long as various criteria are satisfied including that the removable drive has not been reformatted on another computer (which changes its volume serial number). More than one drive letter can refer to a single volume. This can be configured via the SUBST command. Removing or changing a drive letter or mount point assignment may break program functionality, as files are not accessible via the same path. For example, if a program is configured to use files in directory D:\Data and then drive letter D: is unassigned, the program no longer can access its data since D:\Data is no longer a valid path. In Windows Server 2008 and onward, the term "volume" is used as a superset that includes "partition".

Unix-like systems In a Unix-like system, volumes are usually handled by the Logical Volume Manager or the Enterprise Volume Management System. Volumes are configured via the mount command. A volume other than the boot volume has a mount point somewhere within the filesystem, represented by a path. Logically, the directory tree stored on the volume is grafted in at the mount point. By convention, mount points are often placed in a directory called /mnt, though /media and other paths are also common. For example, if a CD-ROM drive containing a text file called info.txt is mounted at /mnt/iso9660, the text file would be accessible at path /mnt/iso9660/info.txt. To use a path as a mount point, a directory must exist at that path.

Data management speed Generally, a file in a volume can be moved to any other path within that volume by simply changing filesystem metadata rather than copying file content. However, if a file is moved to a path that is on a different volume, then the file content is copied to the target and deleted from the source volume (which takes significantly longer to complete).

Identification Often, a volume is identified within a system by either or both a user-assignable and more human-readable identifier and a more fixed and globally-unique identifier that may be less human-readable. Identifier attributes and use varies by computing context.

Origin Use of volume serial numbers originated in the 1950s with mainframes. In the OS/360 line, it user-configurable, has a maximum length of six characters, is uppercase and must start with a letter. For example, "SYSRES" is often used for a system residence volume. Operating systems may use the volume serial number as mount point name.

FAT and NTFS

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Volume (computing)

Start with the simplest possible case. Write down what Volume (computing) 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 Volume (computing) 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 Volume (computing) 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 Volume (computing)

In research
Volume (computing) 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 Volume (computing) 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
Volume (computing) is common in secondary-school and first-year university syllabi. It links to neighbouring topics Disk file systems, so understanding it makes those chapters shorter.
In everyday life
Look for Volume (computing) 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 “Volume (computing)” →

How to study Volume (computing) in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Volume (computing) 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 Volume (computing) out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Volume (computing) in simple terms?

In computer data storage, a volume or logical drive is a distinctly-addressable storage area with a single file system. Storage can be designed and configured in many different and complex ways yet all include the volume concept.

Why does Volume (computing) 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 Volume (computing)?

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 Volume (computing).

Tags

  • Disk file systems

Keep exploring