Jump to content

英文维基 | 中文维基 | 日文维基 | 草榴社区

Network-attached storage

From Wikipedia, the free encyclopedia
(Redirected from Network attached storage)
A 5-bay NAS server

Network-attached storage (NAS) is a file-level (as opposed to block-level storage) computer data storage server connected to a computer network providing data access to a heterogeneous group of clients. The term "NAS" can refer to both the technology and systems involved, or a specialized device built for such functionality (as unlike tangentially related technologies such as local area networks, a NAS device is often a singular unit).

Overview

[edit]

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 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.[1]

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.[2] 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

[edit]

A NAS unit is a computer connected to a network that 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.[3]

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

[edit]

The key difference between direct-attached storage (DAS) and NAS is that DAS 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.

NAS is generally not as customizable in terms of hardware (CPU, memory, storage components) or low level software (extensions, plug-ins, additional protocols) but 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

[edit]
Visual differentiation of NAS and SAN use in network architecture

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

[edit]

In the early 1980s, the "Newcastle Connection" by Brian Randell and his colleagues at Newcastle University demonstrated and developed remote file access across a set of UNIX machines.[4][5] Novell's NetWare server operating system and NCP protocol was released in 1983. Following the Newcastle Connection, Sun Microsystems' 1984 release of NFS allowed network servers to share their storage space with networked clients. 3Com and Microsoft would develop the LAN Manager software and protocol to further this new market. 3Com's 3Server and 3+Share software was the first purpose-built server (including proprietary hardware, software, and multiple disks) for open systems servers.

Inspired by the success of file servers from Novell, IBM, and Sun, several firms developed dedicated file servers. While 3Com was among the first firms to build a dedicated NAS for desktop operating systems, Auspex Systems was one of the first to develop a dedicated NFS server for use in the UNIX market. A group of Auspex engineers split away in the early 1990s to create the integrated NetApp FAS, which supported both the Windows SMB and the UNIX NFS protocols and had superior scalability and ease of deployment. This started the market for proprietary NAS devices now led by NetApp and EMC Celerra.

Starting in the early 2000s, a series of startups emerged offering alternative solutions to single filer solutions in the form of clustered NAS – Spinnaker Networks (acquired by NetApp in February 2004), Exanet (acquired by Dell in February 2010), Gluster (acquired by RedHat in 2011), ONStor (acquired by LSI in 2009), IBRIX (acquired by HP), Isilon (acquired by EMC – November 2010), PolyServe (acquired by HP in 2007), and Panasas, to name a few.

In 2009, NAS vendors (notably CTERA networks[6][7] and Netgear) began to introduce online backup solutions integrated in their NAS appliances, for online disaster recovery.[8][9]

By 2021, three major types of NAS solutions are offered (all with hybrid cloud models where data can be stored both on-premise on the NAS and off site on a separate NAS or through a public cloud service provider). The first type of NAS is focused on consumer needs with lower-cost options that typically support 1–5 hot plug hard drives. The second is focused on small-to-medium-sized businesses – these NAS solutions range from 2–24+ hard drives and are typically offered in tower or rackmount form factors. Pricing can vary greatly depending on the processor, components, and overall features supported. The last type is geared toward enterprises or large businesses and are offered with more advanced software capabilities. NAS solutions are typically sold without hard drives installed to allow the buyer (or IT departments) to select the hard drive cost, size, and quality.

Implementation

[edit]

The way manufacturers make NAS devices can be classified into three types:

  1. Computer-based NAS – using a computer (server level or a personal computer) with processors typically from Intel or AMD, installs FTP/SMB/AFP... software server. The power consumption of this NAS type is the largest, but its functions are the most powerful. Some large NAS manufacturers such as Synology, QNAP systems, and Asus make these types of devices. Max FTP throughput speed varies by computer CPU and amount of RAM.
  2. Embedded-system-based NAS – using an ARM- or MIPS-based processor architecture and a real-time operating system (RTOS) or an embedded operating system to run a NAS server. The power consumption of this NAS type is fair, and functions in the NAS can fit most end-user requirements. Marvell, Oxford, and Storlink make chipsets for this type of NAS. Max FTP throughput varies from 20 MB/s to 120 MB/s.
  3. ASIC-based NAS – provisioning NAS through the use of a single ASIC chip, using hardware to implement TCP/IP and file system. There is no OS in the chip, as all the performance-related operations are done by hardware acceleration circuits. The power consumption of this type of NAS is low, as functions are limited to only support SMB and FTP. LayerWalker is the only chipset manufacturer for this type of NAS. Max FTP throughput is 40 MB/s.

Uses

[edit]

NAS is useful for more than just general centralized storage provided to client computers in environments with large amounts of data. NAS can enable simpler and lower cost systems such as load-balancing and fault-tolerant email and web server systems by providing storage services. The potential emerging market for NAS is the consumer market where there is a large amount of multi-media data. Such consumer market appliances are now commonly available. Unlike their rackmounted counterparts, they are generally packaged in smaller form factors. The price of NAS appliances has fallen sharply in recent[when?] years, offering flexible network-based storage to the home consumer market for little more than the cost of a regular USB or FireWire external hard disk. Many of these home consumer devices are built around ARM, x86 or MIPS processors running an embedded Linux operating system.

Examples

[edit]

Open-source server implementations

[edit]

Open-source NAS-oriented distributions of Linux and FreeBSD are available. These are designed to be easy to set up on commodity PC hardware, and are typically configured using a web browser.

They can run from a virtual machine, Live CD, bootable USB flash drive (Live USB), or from one of the mounted hard drives. They run Samba (an SMB daemon), NFS daemon, and FTP daemons which are freely available for those operating systems.

Network-attached secure disks

[edit]

Network-attached secure disks (NASD) is 1997–2001 research project of Carnegie Mellon University, with the goal of providing cost-effective scalable storage bandwidth.[10] NASD reduces the overhead on the file server (file manager) by allowing storage devices to transfer data directly to clients. Most of the file manager's work is offloaded to the storage disk without integrating the file system policy into the disk. Most client operations like Read/Write go directly to the disks; less frequent operations like authentication go to the file manager. Disks transfer variable-length objects instead of fixed-size blocks to clients. The File Manager provides a time-limited cachable capability for clients to access the storage objects. A file access from the client to the disks has the following sequence:

  1. The client authenticates itself with the file manager and requests for the file access.
  2. If the client can be granted access to the file requested, the client receives the network location of NASD disks and their capability.
  3. If the client is accessing the disk for the first time, it receives a time-limited key for the establishment of secure communication to the disk.
  4. The file manager informs the corresponding disk using an independent channel.
  5. From now on, the client directly accesses the NASD disks by giving the capability it received and further data transfers go through the network, bypassing the file manager.

List of network protocols used to serve NAS

[edit]

Clustered NAS

[edit]

A clustered NAS is a NAS that is using a distributed file system running simultaneously on multiple servers. The key difference between a clustered and traditional NAS is the ability to distribute[citation needed] (e.g. stripe) data and metadata across the cluster nodes or storage devices. Clustered NAS, like a traditional one, still provides unified access to the files from any of the cluster nodes, unrelated to the actual location of the data.

See also

[edit]

References

[edit]
  1. ^ Levine, Ron (April 1, 1998). "NAS advantages: A VARs view". www.infostor.com. Retrieved 26 February 2019.
  2. ^ "Marketing bulletin: NAS versus desktop - Evaluating HDDs for NAS applications" (PDF). seagate.com. Retrieved 29 December 2021.
  3. ^ "An introduction to network attached storage". HWM Singapore. SPH Magazines. July 2003. pp. 90–92. ISSN 0219-5607.
  4. ^ Brownbridge, David R.; Marshall, Lindsay F.; Randell, Brian (1982). "The Newcastle connection" (PDF). Software: Practice and Experience. 12: 1147–1162. doi:10.1002/spe.4380121206. S2CID 1840438. Archived from the original (PDF) on 16 August 2016. Retrieved 16 August 2016.
  5. ^ Callaghan, Brent (2000). NFS illustrated. Addison-Wesley. ISBN 0-201-32570-5.
  6. ^ "CDRLab test" (in Polish). Archived from the original on 17 October 2010.
  7. ^ Frank E. Gillett (16 September 2010). "The age of computing diversity". Forrester research. p. 12. Archived from the original on 26 September 2010. CTERA's C200 provides a better take on network-attached storage (NAS) [...] with local Mac and PC backup built in and automated hooks to an online backup service for offsite backup in case of site disaster.
  8. ^ "Netgear launches first NAS-linked online disaster recovery for consumers and SMBs" (Press release). Reuters. Archived from the original on 8 September 2012. Retrieved 21 October 2009.
  9. ^ "CTERA networks launches, introduces cloud attached storage" (Press release). Reuters. Archived from the original on 7 March 2009. Retrieved 21 October 2009.
  10. ^ "NASD: Network attached secure disks".

Further reading

[edit]
[edit]