ArticleslgStudy

computer science

Network-attached storage

Network-attached 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 Network-attached storage rather than just read about it. In short: Network-attached storage (NAS; pronounced naz) is a file-level computer data storage server connected to a computer network providing data access to a heterogeneous group of clients. In this context, the term "NAS" can refer to both the technology and systems involved, or a specialized computer appliance device unit built for such functionality – a NAS appliance or NAS box.

Network-attached storage — main illustration
Network-attached storage — illustration

Key takeaways

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

Reference excerpt

Network-attached storage (NAS; pronounced naz) is a file-level computer data storage server connected to a computer network providing data access to a heterogeneous group of clients. In this context, the term "NAS" can refer to both the technology and systems involved, or a specialized computer appliance device unit built for such functionality – a NAS appliance or NAS box. NAS contrasts with block-level, storage area networks (SAN) and direct-attached storage (DAS).

Overview

A NAS device is optimised for serving files either by its hardware, software, or configuration. It is often manufactured as a computer appliance – a purpose-built specialized computer. NAS systems are networked appliances that contain one or more storage drives, often arranged into logical, redundant storage containers or Redundant Array of Independent Disks (RAID). Network-attached storage typically provide access to files using network file sharing protocols such as NFS, SMB, or AFP. From the mid-1990s, NAS devices began gaining popularity as a convenient method of sharing files among multiple computers, as well as to remove the responsibility of file serving from other servers on the network; by doing so, a NAS can provide faster data access, easier administration, and simpler configuration as opposed to using general-purpose server to serve files. Accompanying a NAS are purpose-built hard disk drives, which are functionally similar to non-NAS drives but may have different firmware, vibration tolerance, or power dissipation to make them more suitable for use in RAID arrays, a technology often used in NAS implementations. For example, some NAS versions of drives support a command extension to allow extended error recovery to be disabled. In a non-RAID application, it may be important for a disk drive to go to great lengths to successfully read a problematic storage block, even if it takes several seconds. In an appropriately configured RAID array, a single bad block on a single drive can be recovered completely via the redundancy encoded across the RAID set. If a drive spends several seconds executing extensive retries it might cause the RAID controller to flag the drive as "down" whereas if it simply replied promptly that the block of data had a checksum error, the RAID controller would use the redundant data on the other drives to correct the error and continue without any problem.

Description A NAS unit is a computer connected to a network which provides only file-based data storage services to other devices on the network. Although it may technically be possible to run other software on a NAS unit, it is usually not designed to be a general-purpose server. For example, NAS units usually do not have a keyboard or display, and are controlled and configured over the network, often using a browser. A full-featured operating system is not needed on a NAS device, so often a stripped-down operating system is used. NAS systems contain one or more hard disk drives, often arranged into logical, redundant storage containers or RAID. NAS uses file-based protocols such as NFS (popular on UNIX systems), SMB (Server Message Block) (used with Microsoft Windows systems), AFP (used with Apple Macintosh computers), or NCP (used with OES and Novell NetWare). NAS units rarely limit clients to a single protocol.

Comparing with DAS The key difference between direct-attached storage (DAS) and NAS is that the former is simply an extension to an existing server and is not necessarily networked. As the name suggests, DAS typically is connected via a USB or Thunderbolt enabled cable. NAS is designed as an easy and self-contained solution for sharing files over the network. Both DAS and NAS can potentially increase availability of data by using RAID or clustering. Both NAS and DAS can have various amount of cache memory, which greatly affects performance. When comparing use of NAS with use of local (non-networked) DAS, the performance of NAS depends mainly on the speed of and congestion on the network. Most NAS solutions will include the option to install a wide array of software applications to allow better configuration of the system or to include other capabilities outside of storage (like video surveillance, virtualization, media, etc). DAS typically is focused solely on data storage but capabilities can be available based on specific vendor options.

Comparing with SAN

NAS provides both storage and a file system. This is often contrasted with SAN (storage area network), which provides only block-based storage and leaves file system concerns on the "client" side. SAN protocols include Fibre Channel, iSCSI, ATA over Ethernet (AoE) and HyperSCSI. One way to loosely conceptualize the difference between a NAS and a SAN is that NAS appears to the client OS (operating system) as a file server (the client can map network drives to shares on that server) whereas a disk available through a SAN still appears to the client OS as a disk, visible in disk and volume management utilities (along with client's local disks), and available to be formatted with a file system and mounted. Despite their differences, SAN and NAS are not mutually exclusive and may be combined as a SAN–NAS hybrid, offering both file-level protocols (NAS) and block-level protocols (SAN) from the same system. A shared-disk file system can also be run on top of a SAN to provide filesystem services.

History

… excerpt ends here. Continue reading the full article.

Illustrations

Network-attached storage: A five-bay NAS server
A five-bay NAS server
Network-attached storage: Visual differentiation of NAS and SAN use in network architecture
Visual differentiation of NAS and SAN use in network architecture

Worked examples

Example 1 — a first encounter with Network-attached storage

Start with the simplest possible case. Write down what Network-attached 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 Network-attached 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 Network-attached 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 Network-attached storage

In research
Network-attached 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 Network-attached 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
Network-attached storage is common in secondary-school and first-year university syllabi. It links to neighbouring topics Network-attached storage, Server appliance, Software appliances, so understanding it makes those chapters shorter.
In everyday life
Look for Network-attached 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 “Network-attached storage” →

How to study Network-attached storage in 20 minutes

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

Frequently asked questions

What is Network-attached storage in simple terms?

Network-attached storage (NAS; pronounced naz) is a file-level computer data storage server connected to a computer network providing data access to a heterogeneous group of clients. In this context, the term "NAS" can refer to both the technology and systems involved, or a specialized computer app…

Why does Network-attached 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 Network-attached 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 Network-attached storage.

Tags

  • Network-attached storage
  • Server appliance
  • Software appliances

Keep exploring