How is a NAS different from a SAN?

25

5

I've been doing research into NAS and SAN for a situation at work, and I am struggling to workout the difference between the two on a corporate level.

Is a NAS basically just a small SAN? Or are SANs more like your general file servers that businesses use?

T Crumpen

Posted 2017-10-11T10:56:47.650

Reputation: 421

the extra simple way to think of it is, with SAN you still need a server. with NAS the server is built in. – Frank Thomas – 2017-10-11T12:41:46.367

21It's... backwards! – David Richerby – 2017-10-11T19:00:52.513

@FrankThomas Well, the lines have gotten blurred, but that approximation is a decent place to start. – Todd Wilcox – 2017-10-11T22:22:51.623

1tl;dr: one stores at the file level, one stores at the block level. – user541686 – 2017-10-12T07:40:05.977

Answers

24

Isn't a NAS basically just a small SAN?

Summary:

  • A NAS is a single server usually connected by Ethernet to a LAN, and usually provides file level access

  • A SAN usually provides block level access, t This can be done in many different ways:

    • Fibre Channel interconnects to connect multiple storage devices that can share data with each other.

    • A rack of boxes containing NVMe SSDs, with the boxes hooked together with InfiniBand.

    • iSCSI connections over Gbit Ethernet and lots of non-SSH harddrives.

SAN vs NAS Technology

A NAS includes a dedicated hardware device called the head that connects to a local area network, usually through Ethernet. This NAS server authenticates clients and manages file operations in much the same manner as traditional file servers, through well-established network protocols like NFS and CIFS/SMB.

To reduce the cost compared to traditional file servers, NAS devices generally run an embedded operating system on simplified hardware and lack peripherals like a monitor or keyboard.

A SAN commonly utilizes Fibre Channel interconnects and connects a set of storage devices that are able to share low-level data with each other.

SAN vs NAS Usage Models

The administrator of a home or small business network can connect one NAS device to their LAN. The NAS maintains its own IP address comparable to computers and other TCP/IP devices. Using a software program that normally is provided together with the NAS hardware, a network administrator can set up automatic or manual backups and file copies between the NAS and all other connected devices.

The NAS holds many gigabytes of data, up to a few terabytes. Administrators add more storage capacity to their network by installing additional NAS devices, although each NAS operates independently.

Administrators of larger enterprise networks may require many terabytes of centralized file storage or very high-speed file transfer operations. Where installing an army of many NAS devices is not a practical option, administrators can instead install a single SAN containing a high-performance disk array to provide the needed scalability and performance.

SAN/NAS Convergence

As Internet technologies like ​TCP/IP and Ethernet have proliferated worldwide, some SAN products are making the transition from Fibre Channel to the same IP-based approach NAS uses. Also, with the rapid improvements in disk storage technology, today's NAS devices now offer capacities and performance that once were only possible with SAN.

These two industry factors have led to a partial convergence of NAS and SAN approaches to network storage.

Source The Differences Between SAN and NAS

DavidPostill

Posted 2017-10-11T10:56:47.650

Reputation: 118 938

3Personally I dislike the use of the acronym "SAN" to mean a storage server or appliance that supports certain network types and protocols because to me the SAN is the network. A storage area network (or VLAN) must be configured differently from any other type of network to function properly, even if it's iSCSI (which IMHE is more common than fibrechannel). I do know my preference for what "SAN" means is not how it is commonly used, but I think it's important to keep clear that what makes storage SAN storage and not NAS storage is mainly the network(s) it can connect to. – Todd Wilcox – 2017-10-11T22:19:19.313

@ToddWilcox - to me a SAN is multiple devices working together to provide a cohesive "single" storage spot and NAS would be single unit device, each one working separately (ie, good old fashioned file server w/ drives mapped or shares mounted). – ivanivan – 2017-10-11T23:13:37.507

The NAS holds many gigabytes of data, up to a few terabytes Wow, how old was the article you copied this from? A entry-level, home NAS would be "a few terabytes", but an off-the-shelf, enterprise NAS can be hundreds of terabytes. – Jason – 2017-10-12T18:52:09.040

@Jason The article was "Updated June 08, 2017". – DavidPostill – 2017-10-12T18:53:21.853

10

A SAN usually provides block level access. So it looks like an actual HDD to a system using technologies like iSCSI. While NAS usually provides file level access most often in the form of NFS or CIFS shares.

Seth

Posted 2017-10-11T10:56:47.650

Reputation: 7 657

4To confuse this issue, there are NAS distros that offer SAN-like services like iscsii. and there are SANs that offer NAS type protocols like SMB/CIFs. So there's a blurry line of confusion. – Criggie – 2017-10-12T02:56:50.707

1@Seth Great straight to the points answer though. In light of that I think the typical way to tell the difference would be to identify their default mode. NAS, if will default to file level, SAN will default to block level. – Damon – 2017-10-12T03:21:04.837

1@Criggie there certainly has been a convergence of both. There are various SAN products that offer NAS features and vice versa. But the "original" difference was just that. But good point to mention it! – Seth – 2017-10-12T05:27:05.920

1Blurry line yes, but still: this is the difference. – TomTom – 2017-10-12T11:52:23.527

5

A NAS is "Network Attached Storage" and is essentially a thing on your local network making some storage space available over the network to clients. This may be a dedicated server, or a dedicated appliance or it may be nothing more than your home computer with "file sharing" turned on.

A SAN is a "Storage Area Network" and consists of at least two redundant controllers, and whatever networking kit is required to make that network access fully redundant.

Authentication/authorisation don't distinguish between SAN and NAS. You might or might not need credentials.

Protocol sort-of indicates SAN or NAS, but there is a heap of crossover. Some NAS devices offer iscsi, but few SANs offer NFS or SMB/CIFs access without some kind of host to do the sharing.

Controller redundancy is the one thing that makes a device a NAS and not a SAN. If your gear has two or more independent controllers, so that one can be restarted and all services are moved to the other, then you may have a storage device to use in a SAN. If you only have one controller such that service must stop to upgrade, then you have a NAS.

Note multiple ethernet ports, using a LAGG or etherchannel or bond are not the same as redundant controllers.


Example NAS devices I have used

  • Iomega/Lenovo (it has a facebook uploader!)
  • FreeNAS distro installed on a generic PC
  • Synology NAS
  • Thecus NAS
  • Promise NAS
  • Linux box running nfsd
  • Linux box running samba (cifs)
  • Linux box running iscsid
  • Windows host with a shared drive or directory.
  • Drobo - this was an 11 bay device with 8x2TB drives and 3x200GB SSDs, and it had 3x 1Gbit ethernet ports but only one controller. Upgrades stopped service for minutes, so its not truely redundant even though it had 3 links in multipath.

Example SANs I have used:

  • HP lefthand SAN (2004ish) This was 4 separate 3RU boxes with many cables and switches and disks. It would have cost more than a new car.
  • Dell MD3600 family
  • Compellent sc4020
  • Netapp monster thing of doom that needed Java to do anything.

This is a network plan for someone's virtualisation project, and the blue lines are the iSCSI network.

Everything is redundant, with multiple paths, and redundant PSUs on each component of the SAN.

http://virtualization.info/en/files/2012/12/clip_image0019.png


So cost is a good second-order indicator of NAS vs SAN component. If you can buy a device without requiring capital asset approval from benacounters, its probably just a NAS.

Criggie

Posted 2017-10-11T10:56:47.650

Reputation: 985