Home Common Problem What is the difference between san and nas

What is the difference between san and nas

Dec 23, 2020 pm 04:30 PM
nas

Difference: 1. SAN can be regarded as a disk on the network; and NAS can be regarded as a file system on the network. 2. NAS connects the storage media to the LAN in the form of files; while the SAN connects the storage media to the storage media in the form of blocks and optical fibers.

What is the difference between san and nas

Related recommendations: " Programming Video"

SAN: STORAGE AREA NETWORK Storage Area Network

NAS: NETWORK ATTACHED STORAGE Network Attached Storage

NAS is not necessarily a disk array. An ordinary host can make a NAS, as long as it has its own disk and file system, and provides external access to its file system. interface (such as NFS, CIFS, etc.), it is a NAS. A commonly used Windows file sharing server is a NAS device that uses CIFS as the calling interface protocol. Generally speaking, a NAS is actually a shared server on an Ethernet network that uses network file systems such as NFS and CIFS. As for whether there will be a file provider on the FC network in the future, that is, a NAS on the FC network, we will have to wait and see in the future.

Note:

  • NFS(NETWORK FILE SYSTEM) is applicable to LINUX&UNIX system

  • CIFS(Common Internet FILE SYSTEM) is applicable For windows system

The difference between SAN\NAS:

can be compared like this: SAN is a disk on the network; NAS is a File system on the network. In fact, according to the definition of SAN, it can be seen that SAN actually refers to a network, but this network contains various elements, such as hosts, adapters, network switches, disk array front-ends, disk array back-ends, disks, etc. For a long time, people have been accustomed to using SAN to refer specifically to FC and remote disks.

So, once a NAS based on FC network is designed, what should the SAN be called at this time?

So, when talking about the difference between the two, we use an analogy, that is, the disk on the FC network is called SAN, and the file system on the Ethernet network is called NAS. We can understand it simply.

  • NAS connects storage media to LAN in the form of files;

  • And SAN connects storage media to fiber optics in the form of blocks.

Ordinary desktop computers can also serve as NAS. There are two physical conditions that a NAS must meet:

  • First, no matter what method is used, The NAS must be able to access volumes or physical disks;

  • Second, the NAS must have the ability to access the Ethernet network, that is, it must have an Ethernet card.

Performance comparison of SAN\NAS:

1. Is SAN faster or NAS faster?

First, let’s look at SAN and NAS The path diagram of NAS is as follows:

What is the difference between san and nas

Obviously, the path of the NAS architecture is replaced by Ethernet and TCP/IP protocols when communicating at the virtual directory layer and file system layer. Memory, this not only adds a lot of CPU instruction cycles (TCP/IP logic and Ethernet card driver), but also uses a vulgar transmission medium (memory is much faster than Ethernet).

In SAN mode, there is one more FC access process in the path than in NAS mode, but most of the FC logic is completed by the hardware on the adapter card, which does not increase much CPU overhead, and FC access The speed is higher than Ethernet, so we can easily conclude that if there is no bottleneck on the back-end disk, then the NAS will never be able to surpass the speed of the SAN architecture unless it uses a faster-than-memory network method to communicate with the host.

But if there is a bottleneck in the back-end disk, then the performance degradation caused by NAS using the network instead of memory can be ignored. For example, in an environment with a large number of random small-block I/O and a very low cache hit rate, the back-end disk system reaches the maximum bottleneck. At this time, the front-end I/O instructions will be in a waiting state, so even if the speed of the first segment of the path is Quickly, it won't help.

At this time, the NAS system is not only not slower than SAN, but also may have higher performance than SAN due to its optimized concurrent I/O design and characteristics based on file access rather than cluster block access.

Since NAS is generally not faster than SAN, why should NAS be born? Since NAS is not as fast as SAN, why does it still exist? The specific reasons are as follows:

  • #The cost of NAS is much lower than that of SAN. The front-end only uses Ethernet interfaces. The cost of FC adapter cards and switches is very high compared to Ethernet cards and switches.

  • NAS can solve the CPU and memory resources on the host server. NAS is suitable for CPU-intensive application environments.

  • Because NAS utilizes Ethernet, it is highly scalable and easy to deploy.

  • NAS devices generally provide multiple protocols to access data, while SAN can only be accessed using the SCSI protocol.

  • NAS can realize shared access by multiple clients on one disk array, including simultaneous access to a directory or file. In SAN mode, unless all clients have installed special cluster management software, a certain lun cannot be shared. Forced sharing will damage the data.

  • The specially optimized NAS system can handle a large number of client requests concurrently, providing a more convenient access method than SAN.

  • Multiple hosts can mount directories on NFS at the same time, which is equivalent to reducing the processing flow of the file system in the entire system, and converting the original multiple parallel processing to NFS A single instance simplifies system redundancy.

2. Is SAN or NAS better?

The instructions for IO intensive and CPU intensive are as follows.

  • CPU-intensive: The internal logic of the program is complex and the amount of disk access is not high.

  • IO-intensive: The internal logic of the program is not complex and does not consume much CPU, but the data on the hard disk can be accessed at any time.

  • Both IO and CPU are intensive: not suitable for stand-alone, must form a cluster.

Obviously, NAS is much slower than SAN in environments with intensive block sequential IO. The reason is that after a large amount of IO accumulation, the overall difference becomes apparent. However, if you want to use 10G Ethernet, you will undoubtedly choose NAS, because after all, the speed of the underlying link is the fundamental bottleneck of current NAS.

In addition, if it is a high-concurrency random small block I/O environment or an environment with shared access to files, NAS will show strong relative performance. If the file system on the SAN host is heavily fragmented, random small blocks of IO will be generated when reading or writing a file. However, the NAS's own file system has many optimized designs and relatively few fragments. CPU-intensive ones should consider using NAS.

If you want to read more related articles, please visit PHP Chinese website! !

The above is the detailed content of What is the difference between san and nas. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Huawei launches new OceanStor Dorado 2100 all-flash NAS storage, specially designed for small and medium-sized enterprises Huawei launches new OceanStor Dorado 2100 all-flash NAS storage, specially designed for small and medium-sized enterprises Nov 24, 2023 pm 12:51 PM

According to news from this website on November 24, Huawei announced the launch of the industry's first Active-Active architecture NAS storage for small and medium-sized enterprises - OceanStor Dorado2100. According to reports, OceanStor Dorado2100 is the industry's only entry-level dual-active NAS storage device. It is equipped with cost-effective SSD disks and NAS software. It supports multiple NAS protocols and provides file sharing, network disk, file storage and retrieval services for small and medium-sized enterprises. OceanStor Dorado2100 plans and configures in advance through the cloud, scans the DMEIQ QR code on your mobile phone to connect to the device, and imports local configuration to complete deployment in 30 minutes. And during the equipment deployment and online process, there is no need to learn professional literature.

QNAP releases TS-855X: a new generation of NAS product with powerful functions QNAP releases TS-855X: a new generation of NAS product with powerful functions Jun 16, 2023 am 10:03 AM

According to news on June 13, QNAP recently released a new NAS product called TS-855X. The product has attracted widespread attention for its excellent performance and rich functionality. TS-855X uses Intel Atom AtomC5125 processor, has a 2.8GHz eight-core design, and an 8GB DDR4 memory, providing excellent support for enterprise data storage and virtualization environments. The hard drive bay of TS-855X can accommodate six 3.5-inch HDDs and two 2.5-inch SSDs, providing users with large-capacity storage space. According to the editor's understanding, this product has also passed the virtualization storage certification of VMware vSphere and Microsoft Hyper-V, providing users with better virtualization environments.

Sharp launches commercial NAS device BP-X2ST: 4-bay design, pre-built RAID Sharp launches commercial NAS device BP-X2ST: 4-bay design, pre-built RAID Mar 06, 2024 pm 09:13 PM

According to news from this website on March 6, Sharp recently launched the commercial NAS device BP-X2ST in Japan. This NAS is designed with 4 bays and pre-built RAID. According to this site’s understanding, BP-X2ST is affiliated to Sharp’s office service brand COCOROOFFICE and is targeted at small and medium-sized enterprises and the office market. Therefore, it is provided as a finished product with pre-installed hard drives and pre-built RAID. The NAS is equipped with dual 2.5G network ports, with a 10G USB Type-A interface on the front panel, a 10G Type-A interface and 2 USB2.0 Type-A interfaces on the rear. BP-X2ST provides 3 effective capacity versions, namely 2TB, 4TB and 8TB. ​​The 2TB version is dual 2TB mechanical hard drive RAID1

Extreme Space private cloud NAS cooperates with Rokid glasses to launch AR viewing application Extreme Space private cloud NAS cooperates with Rokid glasses to launch AR viewing application May 04, 2024 am 09:07 AM

According to news from this website on May 3, Jispace private cloud NAS announced a cooperation with Rokid and glasses cooperation. Based on their respective advantages, both parties will work together to create a better AR viewing experience for users. According to reports, in this cooperation, Jispace Private Cloud has adapted applications for RokidAR devices. Among them, Jispace App has been launched in the RokidStation App Store. Users can watch film and television content by wearing RokidAR glasses and using the RokidStation host. In addition, in offline environments such as airplanes and high-speed trains, Rokid cooperates with the T2 of the Extreme Space Private Cloud. When the Extreme Space Private Cloud T2 turns on the AP mode, it will transform into a NAS that can transmit signals. Rokid connects to the wireless network of the Extreme Space Private Cloud T2. W

Jispace's new A4 hard drive expansion cabinet is on the market: four bays support up to 88TB, priced at 899 yuan for old users Jispace's new A4 hard drive expansion cabinet is on the market: four bays support up to 88TB, priced at 899 yuan for old users Apr 11, 2024 am 08:40 AM

According to news from this site on April 10, Jispace Private Cloud today released a new hard disk expansion cabinet A4 (hereinafter referred to as: New A4), which has been officially put on sale on the e-commerce platform. The selling price is 1,099 yuan. Anyone who has purchased Jispace Extreme fans of private cloud can enjoy an exclusive discount price of 899 yuan when purchasing a new A4. The new A4's entire architecture has been optimized and upgraded to improve product technology and silent shock absorption capabilities. The four-bay design supports up to 88TB capacity and supports both eSATA and USB Type-C connection methods. The appearance of the new A4 is similar to that of Z4Pro, the Z4Pro private cloud model. It is also made of aviation-grade alloy material. A single disk supports up to 22TB and up to four hard drives, which can create a storage space of up to 88TB. The internal structure of the new A4 has been fully upgraded and optimized.

what is nas what is nas Feb 23, 2023 pm 02:23 PM

NAS is a device connected to the network with data storage functions. It is a special dedicated data storage server. It is data-centric, completely separates storage devices from servers, and centrally manages data, thereby releasing bandwidth, improving performance, and reducing costs. Total cost of ownership, investment protection. NAS is directly connected to the disk storage array through the network. The magnetic array has the characteristics of high capacity, high performance, and high reliability.

How to backup Synology NAS to external hard drive How to backup Synology NAS to external hard drive Feb 19, 2024 pm 04:06 PM

SynologyNAS provides convenient backup options to back up data to external hard drives, cloud storage, or file servers through the official application HyperBackup. What is SynologyNAS? If you need a NAS or network-attached storage unit, Synology is a good option to consider. They offer a variety of options, including backing up your data to an external SSD, hard drive, or other USB drive, ensuring you're always online. Before you get started, you should keep a few things in mind: You need to have DSM 6.0 or higher installed to use HyperBackup. If you don't know, DSM stands for DiskStationManager, and it helps Synology

Qiaosibo N4 8-bay NAS case is now available: black walnut solid wood veneer, built-in 120mm fan, priced at 599 yuan Qiaosibo N4 8-bay NAS case is now available: black walnut solid wood veneer, built-in 120mm fan, priced at 599 yuan Mar 06, 2024 pm 08:07 PM

According to news from this website on March 5, Qiao Sibo recently launched an N48 bay NAS mini chassis on JD.com. The chassis is mainly used in the field of home office and network storage, priced at 599 yuan. In terms of appearance, this chassis is available in black and white dual versions. It adopts an upper and lower compartment structure design. The mainboard compartment supports MATX motherboards and half-height expansion cards. It also supports push-down radiators. The front panel vents are decorated with 8mm thick black walnut solid wood. plate. In terms of parameters, this chassis measures 286mmx300mmx228mm, has a built-in 120mm fan, has 4 half-height PCI slots, and can store 8-bay hard drives. Four 3.5-inch hard drives can be installed on the left side and support hot swapping; 2 can be installed on the right side. One 3.5-inch hard drive or two 2.5-inch hard drives, not supported