If you have never heard of network-attached storage (NAS), this post is for you. And even if you already know about NAS, chances are you’ll learn a thing or two.
In simple terms, I’ll explain the general NAS concept and its significance in data redundancy and safekeeping.
And for those who want to dabble in this world, there’s a section on accessing your server from a Windows computer or a Mac. From then, you’ll slowly move up to myriads of other sophisticated applications afforded by a good NAS server.
Dong’s note: A portion of this post was originally part of the piece on the Synology NAS server. I moved it out on November 30, 2022, to add more information and clarify the subject.
What’s a NAS device/server?
As you might have noted, NAS is not a name — it would be a terrible one — but an acronym for network-attached storage.
The concept of network-attached storage started in the 80s and, for home users, became viable around 2009.
Over the years, there have been a lot of ups and downs in the NAS world, and its technology has greatly improved. Once crowded, now the NAS ecosystem includes only a handful of known participants, such as Synology, QNAP, Asus, and TerraMaster.
In many ways, a NAS server is similar to an external storage drive. The biggest difference is that a NAS device connects to a network via its network port.
And that makes a world of difference. Let’s find out more.
NAS server vs external drive: It’s NAS vs DAS
An external drive connects directly to a computer, likely via a USB or Thunderbolt port — it’s a direct-attached storage (DAS) device.
For this reason, a DAS device works only with one host at a time, like those on this list of top portable drives. Also, it generally just adds additional raw storage space and not much else — it doesn’t work by itself.
A DAS device is generally plug-and-play. When you plug it in, it works like an internal drive permanently attached to the host.
On the other hand, you connect a NAS server’s network port to your router or switch via a network cable — you don’t connect a server directly to a computer.
Like all servers, a NAS server is available to the entire network — multiple devices can access the NAS device at a time. It can work just by itself, making storage and services available 24/7.
NAS server vs traditional server
A NAS server is, in fact, a server — most NAS devices run on the Linux open-source operating system.
While a traditional server, such as a domain controller running Windows or Linux, requires a mouse, keyboard, and monitor — just like a computer –, a NAS server doesn’t.
You control a NAS server via its web user interface, similar to how you manage most home Wi-Fi routers or switches.
And like most servers, a NAS server can provide multiple simultaneous services, such as serving content to streamers, hosting personal cloud storage or a backup destination, working as a mail server, running virtual machines, managing IP cameras, and much more — all at the same time. The possibility is endless.
But generally, a NAS server handles your data for two primary purposes: Keeping it safe and making it available for you to use. There are a lot of applications and nuances between these two.
Let’s start with keeping your data safe.
Network storage: Keeping your data safe
A NAS server can house multiple internal drives. And when there are two or more, you have the option for redundancy. And there’s nothing more relevant to redundancy than RAID.
In data storage, redundancy is the use of additional storage units that are not strictly necessary to provide storage space but to prepare the case one of them fails unexpectedly. If so, you can use the data storage on the remaining device(s).
The most common and fundamental is using multiple storage units called drives — hard drives (a.k.a hard discs/disks) or solid-state drives. They are the base of any redundancy system. And that brings us to RAID.
Standard RAID setups
RAID is an acronym for “redundant array of independent disks.” As the name suggests, RAID enables you to lump individual disks into a single storage entity.
Different RAID types deliver different levels of performance and resiliency — the tolerance against drive failures — depending on how much storage space you’re willing to put aside.
But all redundancy-enabled RAID allows the host system (such as a NAS server) to keep running when a drive fails and the drive to be replaced without losing any data.
Depending on the number of drives in use, you have the following popular standard RAID setups — there are more, but you don’t have to worry about them.
Generally, you use drives of the same capacities in standard RAIDs.
RAID 0 is the only non-redundancy RAID.
Also known as disk-striping, RAID 0 combines two (or more) disks into a single volume.
This volume has the storage space of all involved disks’ combined capacity. For example, if you use two 2TB drives in RAID 0, you’ll get a 4TB volume; with three, you’ll get 6TB, etc.
RAID 0 delivers fast performance by writing one copy of data to multiple disks — each disk only needs to hold a portion of the data, therefore cutting down the amount of writing each disk has to do.
In return, RAID 0 has no data protection. If one of the drives fails, the RAID is dead — you’ll generally lose data on all disks with no chance of recovering it in full.
Also known as disk mirroring, RAID 1 is the opposite of RAID 0. It combines two, three, or four drives into a single volume with the capacity of just one.
Again, if you use two (or more) 2TB drives in RAID 1, you’ll still get a 2TB capacity. For this reason, your data is intact even if just one of the drives in the RAID survives.
In return, RAID 1’s performance is slow since it has to write a full copy of data to each physical drive. The more drives you use, the slower the performance but, the more resilient the RAID.
This RAID setup requires three or more drives. It uses one of them as redundancy, so it has the capacity of all involved drives minus one.
For example, if you use three 2TB drives, you’ll get 4TB protected storage space; five will return 8TB, and so on.
RAID 5 delivers capacity, redundancy, and performance but favors speed over resiliency.
In a RAID 5, the more disks you use, the faster the performance since the less information the system needs to write to each disk. In a RAID 5 setup, your data is safe when one of the involved drives fails, no matter how many you use. So the more drives, the less resilient the RAID.
This RAID setup is similar to RAID 5 but requires four or more drives and sets two drives for data protection. In RAID 6, your data survives even if two drives fail simultaneously.
If you use four drives, RAID 6 is somewhat like RAID 1 mentioned above or RAID 10 below. You should use at least five drives or more for better performance.
This standard nested RAID setup combines RAID 1 and RAID 0.
RAID 10 requires four or more drives — even number — and delivers performance and data protection. RAID 10 has 100% data safety against the simultaneous failure of half of the drives involved.
Standard RAIDs: Requirements and drawbacks
All standard RAIDs are designed for drives of the same capacity. If you use a mix, the system will treat all drives as the lowest capacity among them.
For example, if you use 1TB, 2TB, and 3TB drives together, all of them will be regarded as 1TB drives — you have access to a total of just 3TB of raw storage space, and not 6TB.
In other words, when combing drives of different storage sizes, only the size of the lowest drive is used in all units.
Furthermore, there’s no way to scale up the storage space in a standard RAID. If you want to increase the RAID’s capacity, you’ll have to follow these steps:
- Back up the RAID’s data to another device.
- Rebuild the RAID from scratch with higher capacities drives.
- Restore the data from the backup.
The process is time-consuming and requires the host device (the NAS server) to be taken out of service.
Proprietary flexible RAID
Overcoming the shortcomings of standard RAIDs, some NAS makers have property RAID designed to streamline the storage mange meant for beginners.
The most popular example of this type of RAID is Synology’s Hybrid RAID (SHR.)
First available in March 2010, SHR is an automated RAID management system that allows mixing drives of different capacities without wasting any or very little storage space.
Consequently, SHR enables users to scale up a server’s storage space by replacing existing drives with higher-capacity ones without having to rebuild the RAID from scratch.
Generally, propriety RAID like SHR or TRAID is slightly slower than equivalent standard RAIDs. Still, their ease of use and simplicity is more than enough to compensate for the performance loss.
No matter what RAID configuration you use, when a drive in a redundancy RAID fails, the RAID is now “degraded.” The host device — a NAS server in this case — will give you a notification via indicator lights, beeps, or email notification.
When a RAID is degraded, its redundancy is no longer, or in reduced effectiveness. You must replace the failed drive for the RAID to restore its function via a “RAID rebuild.”
The rebuild process can take a long time — hours or even days — depending on how much data the RAID stores. You can still use the server during this time, just at (slightly) slower overall performance.
Network storage: How to access the shared folders
At the core of it, a NAS server holds a large amount of protected storage space.
What you do with this storage depends on the applications. As mentioned above, you can do a lot with a server, such as media streaming, data syncing and backup, etc.
However, data sharing is the most common application. It’s the base of most other applications.
Specifically, you store data on the server via shared folders and access them on different computers simultaneously.
Most servers come with one or a few shared folders by default, such as “Public” or “home,” and users can create as many as they want.
Depending on the network, data sharing can get sophisticated. For example, you might want certain (groups of) users to access particular shared folders. And you can also limit the access level — such as full (read and write) or read-only, etc.
At the basic level, the way a network computer access a server remains the same. You can do that via the server’s name or IP address.
How to access a NAS server
A server gets it to name during the initial setup process; you can change that name, and it will remain.
Like all network devices, a NAS server gets its local IP address from the router. This IP might change each time the server restarts unless you reserve a specific address.
For this post, let’s use an example where the NAS server’s name is HomeServer — server name is generally not case-sensitive — and 192.168.88.100 is its IP address.
Let’s find out how you can access this server in a home network.
How to access a NAS server on a Windows computer
On a Windows computer, the standard application for accessing a network-shared folder is the File Explorer app. It’s the app you use to view files and folders of the computer itself.
Here are the steps:
1. Launch File Explorer by opening any existing folder. You can also search for it on the Start menu.
2. On File Explorer’s address bar, type in the server’s IP address or name before hitting Enter on the keyboard:
(I used the IP address and server name of our example, change them to yours.)
3. Enter the username and password if prompted. It’s the same username and password of a user account on the server itself. And you’ll see the list of the available shared folders.
And that’s it. Mission accomplished.
File Explorer will now display the list of available shared folders. You can interact with them like those on the local computer. Right-clicking on one will give you more options, including creating shortcuts or making a network drive.
Accessing your NAS server on a Mac
On a Mac, things are a bit different but still simple enough.
1. Click on an empty spot on the desktop, press Command + K, and the “Connect to Server” window will appear.
2. Under Server address, type in the server’s IP address or name as shown below:
(I used the IP and server name of our example, change them to yours.)
3. Click on Connect and enter the username and password (of the account you’ve created or the router’s admin account) if prompted.
You’ll see the list of available shared folders. Pick one and click OK to create a shortcut on the computer’s desktop. Repeat step #1 if you want to access another shared folder.
Understanding how to create and access a shared folder on a NAS server will help with other applications.
For example, when applicable, you can dedicate a folder as the backup destination for Time Machine, and the server will now work as a Time Capsule for you to back up multiple Macs in a network.
Backing up from a Windows computer is much easier. You only need to pick a shared folder as the network location for File History.
On top of that, you can also set up data sync with a specific shared folder to keep files synchronized between the server and multiple computers.
And last but not least, enabling shadow copies of a shared folder is an excellent way to safeguard data against accidental deletion or malicious alteration (such as ransomware.)
The possibility is endless with a NAS server.
While not everyone’s cup of tea, a NAS server means much better data sharing and safekeeping. That’s not to mention many other valuable applications.
The more advanced the server, the better your experience. So try one today. Not ready for a real dedicated NAS server? Maybe try turning your Wi-Fi router into one. That’s an excellent way to start small on network-attached storage.