25

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?

4
  • the extra simple way to think of it is, with SAN you still need a server. with NAS the server is built in. Oct 11, 2017 at 12:41
  • 21
    It's... backwards! Oct 11, 2017 at 19:00
  • @FrankThomas Well, the lines have gotten blurred, but that approximation is a decent place to start. Oct 11, 2017 at 22:22
  • 1
    tl;dr: one stores at the file level, one stores at the block level.
    – user541686
    Oct 12, 2017 at 7:40

3 Answers 3

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

4
  • 3
    Personally 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. Oct 11, 2017 at 22:19
  • @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
    Oct 11, 2017 at 23:13
  • 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
    Oct 12, 2017 at 18:52
  • @Jason The article was "Updated June 08, 2017".
    – DavidPostill
    Oct 12, 2017 at 18:53
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.

4
  • 4
    To 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
    Oct 12, 2017 at 2:56
  • 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
    Oct 12, 2017 at 3:21
  • 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
    Oct 12, 2017 at 5:27
  • 1
    Blurry line yes, but still: this is the difference.
    – TomTom
    Oct 12, 2017 at 11:52
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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .