File Server vs NAS – Which One to Choose?

File servers and NAS devices are common solutions for storing and sharing files over a network. But the two differ in functionality. Choosing the optimal solution depends on multiple factors. This blog post is a NAS and file server comparison to explain when to use a traditional file server and when to opt for a NAS file server.

NAKIVO for NAS Data Backup

NAKIVO for NAS Data Backup

Fast backup and recovery for gigabytes of data on NAS devices and Windows and Linux file shares. Recover whatever you need and whenever you need in seconds.

What Is File Server?

A file server is a computer with software installed to provide access to resources such as shared files for multiple users and computers at the same time. Other computers and software used for connecting to the server over the network are called clients. A file server controls access to shared resources and is responsible for file storage.

A file server can be created on a standard computer or on server hardware with the appropriate server software for high reliability and near 100% uptime. You can assemble a file server in a case (chassis) of the tower (desktop) form factor or rack-mount form factor. File servers offer high hardware upgrade capabilities.

What is file server – file servers in the desktop and rack-mount form factor

There is also the option of configuring file servers on virtual machines. A file servers can be created on a VM guest OS with the necessary configuration.

Deployment

You can deploy a file server on Windows Server to share files using the SMB protocol. As an alternative, you can deploy a file server on Linux by installing Samba to use the SMB protocol or NFS and other file-sharing protocols. You can configure other (additional) roles and features on a file server, use detailed firewall configurations, configure backup software, set up remote access, etc.

Windows file server vs NAS – configuring file sharing options in Windows

You have the ability to use custom hardware depending on your needs. This includes selecting disk controllers, RAID controllers, hard disk drives (HDDs), and solid-state drives (SSDs). You can use SAS and SATA RAID controllers and add more disk controllers into the PCIe slots of the motherboard. Configuring software RAID in the operating system is possible. SAS devices are used for the most reliable storage systems. However, if you deploy a beginner-level file server, don’t use fake RAID based on the built-in RAID functionality of the motherboard as failure is a high probability with fake RAID.

Configuration

A file server provides a variety of settings – you can configure everything. You can increase the number of disks and install different software on well-known operating systems such as Windows Server, Linux, Solaris, FreeBSD, etc. When you build a high-grade file server, you can connect the file server to a storage area network (SAN) with FC or iSCSI connectivity to use more disks and store more data. Advanced features such as load balancing are also available. For example, in Windows environments, the feature is available by creating a file server cluster with shared volumes or having a secondary file server with replicated shared data using Windows DFS role. The alternative approach to configuring a NAS file server is installing FreeNAS or TrueNAS on a server.

Architecture

Processors with a x86-64 architecture are usually used for file servers. For file servers running Oracle Solaris as the operating system, processors with the sparc architecture are used. A powerful processor provides high performance for high server loads.

Regarding disk storage, it’s recommended to use minimum SAS spinning disks or SSD for higher performance in case of a physical file server. If you have a file server on a VM, the disk holding the shared data should be hosted on SAS or SSD disks when it’s local disks or with FC or iSCSi connectivity if exported from SAN storage.

As for memory, it should be fair enough to hold simultaneous user access to the shared data to be able to process all the cached operations.

Skills required to configure a file server depend on the complexity of the file server. Maintenance is also required for a file server.

What Is a NAS Server?

NAS, or Network Attached Storage, is a computer-like device with bays for storage drives. The main purpose of NAS is storing and sharing files over the network with users and computers. NAS can share files with multiple users simultaneously, similarly to a file server. Thus the main function of NAS is similar to the file server.

Some NAS devices are provided in portable cases that don’t occupy much physical space. They are also quiet. These NAS devices with low noise levels are intended for home users as well as small and medium businesses. There are also advanced NAS devices for businesses in the rack mount form factor with a higher number of slots for disks.

What is a NAS server – a compact 4-disk NAS device

Architecture

NAS devices are provided with processors of the x86-64 and ARM architecture. The ARM architecture is intended for energy-saving mobile devices, has simplified instructions, and is not designed for high performance compared to the x86-64 architecture. Even compact NAS devices with x86-64 processors are power-saving devices, but their performance is not that high. This is because powerful processors require a cooling system that cannot be housed in a small NAS case and preserve the low noise level.

Disk drives

NAS devices have a limited number of bays for storage devices. If disk drives are inserted into all bays, you can attach an expansion unit with additional drive bays (if the NAS model supports this capability). Read the hardware compatibility list (HCL) before installing disk drives into a NAS device. While you can use high-performance HDDs (which can create vibrations) in massive desktop or rack-mount cases without negative impact, using such disk drives in portable NAS cases can have a negative impact on disks. This is because high vibrations are transmitted between hard disks, reducing their life span.

Memory capacity

The maximum memory (RAM) capacity is limited by the number of DIMM or SO-DIMM slots, whose number is usually lower than that for a traditional file server, and by the maximum memory module capacity for the appropriate DDR generation. Note that the limits for NAS are usually lower than those for servers.

Portable NAS devices are ready to use. You just need to install disk drives and initialize or upgrade the pre-installed operating system. NAS devices use special operating systems developed for their vendors. For example, Synology NAS devices use Disk Station Manager (DSM), QNAP devices use QTS, Western Digital devices use WD My Cloud OS, etc. NAS functionality is limited by the provided operating system and supported software features.

Configuring a NAS share on DSM provided by Synology

Configuration

Software on NAS is easy to configure. All file sharing settings are usually simplified, and it is easy to configure a file server based on NAS to share files via SMB, NFS, AFP, FTP, SFTP, FTPS, etc. Popular file sharing protocols are supported. Configuring a file server on Windows Server 2019 is slightly more complicated than on NAS, and configuring Samba on Linux is even more complicated than configuring file sharing on Windows. NAS supports Active Directory domain integration for configuring access to shared files for domain users.

NAS devices don’t have ports for connecting a monitor, keyboard, and mouse (unlike a traditional file server). Management of a NAS operating system is provided over the network via the web interface provided by the NAS operating system. The installation process of disk drives is easy. Periodically you should upgrade the operating system.

Modern NAS can support additional functionality such as video transcoding, surveillance station (connecting IP cameras and saving recorded videos on the NAS storage), basic firewall with port forwarding, etc.

NAS devices support SATA disks and software RAID implementation. You cannot install a hardware RAID controller with SATA or a SAS interface. Many NAS supports disk hot-add and hot-swap features.

Tip: Read about the Synology NAS models and QNAP NAS models to familiarize yourself with different NAS vendors to use for a NAS file server.

NAS vs File Server

We have covered features of file servers and NAS devices. Now we can look at a file server vs NAS comparison based on different parameters to identify if you should choose a file server or NAS device.

Flexibility

If you want the flexibility of configuring everything, opt for a file server rather than NAS. You can install a general-use operating system like Linux or Windows on a server and configure what you want, unlike NAS software, which provides limited functionality. If any hardware component is broken (for example, a storage controller, network card, or motherboard), changing this component is inexpensive. A file server provides ultimate customization options.

Scalability

Choose a file server to add any model of disk controllers to increase the number of disks you can connect to the server. After adding more disk controllers (RAID controllers), you connect more disk devices. If you need the maximum storage amount, you can connect a file server to a storage area network (SAN).

There are extensive hardware upgrade options for a file server, with a large range of hardware that can be used for the upgrade. As for NAS devices, you can upgrade only RAM and disk devices to drives of higher capacity if your NAS model supports this disk type and capacity.

Hardware performance

If you need maximum performance, choose a file server. You can install a more powerful processor, a high amount of RAM, and multiple high-speed network adapters in a file server. Processors in NAS devices don’t provide high performance, especially if they are processors of the ARM architecture. A file server can serve a higher number of users working with shared files simultaneously.

Reliability

File servers can provide a higher level of reliability due to the support of hardware RAID controllers with caching and the battery, including the controllers for SAS disks. SAS disks are more reliable than SATA disks and the probability of read/write errors is lower. Servers can have a redundant power supply.

Portability and silence

NAS devices are what you need if the main objective is storing and sharing files on a device that doesn’t occupy much space in a room and doesn’t generate noise (except for some enterprise-class NAS devices in the rack-mount form factor). NAS devices are usually portable desktop devices working silently. This factor is important for home users and small offices when users want to work in a comfortable, silent environment.

Power saving

In the NAS vs file server comparison, NAS devices are leaders in the power-saving category. This is because they use a CPU with lower performance than a file server and benefit from other hardware/software optimizations.

Ease of use and maintenance

NAS devices are easy to use. You just need to insert disk drives and initialize the operating system, which is pre-installed by the NAS vendor, and upgrade this operating system periodically. File servers require more skills to manage an operating system, and install and configure the software.

Price

The price depends on configuration. For example, NAS can cost less than a server with a Windows Server 2019 license, but a server with Linux can cost less than a NAS. The price should be considered and compared in each case individually, depending on the file server / NAS requirements. NAS devices are supplied without disk drives. You have to buy disk drives separately.

Backup capabilities

When considering NAS vs file server in terms of backup, both file servers and NAS devices can be used to store data backups. Moreover, you can install components of a backup solution on a file server or NAS for effective backup. NAKIVO Backup & Replication is a universal data solution that can back up virtual machines, Windows and Linux servers, Amazon EC2 instances, data stored on NAS and files servers, and other data.

The NAKIVO solution can be installed on Synology NAS and QNAP NAS (among others), making the NAS devices a backup appliance and making it easy to back up data and store the data on NAS. Moreover, you can use an SMB share located on a traditional file server or NAS file server as a backup repository.

File shares can also be backed up. NAKIVO Backup & Replication supports file share backup that allows you to protect data that can be corrupted by one of the users working with a share or ransomware attack.

1 Year of Free Data Protection: NAKIVO Backup & Replication

1 Year of Free Data Protection: NAKIVO Backup & Replication

Deploy in 2 minutes and protect virtual, cloud, physical and SaaS data. Backup, replication, instant recovery options.

People also read