ReFS vs NTFS File System | Pros, Cons & Differences
This article introduce the technical detials, advantages, and limitations of ReFS and NTFS file sytem. And provides guidance on when to use each file system.
Case: ReFS vs NTFS?
I am planning on setting up a machine with Windows 10 running storage spaces and just have a bunch of drives in it. And I wonder whether I should use ReFS or NTFS when I format the drives. Any assistance would be appreciated.
- Question from www.reddit.com
ReFS (Resilient File System) and NTFS (New Technology File System) are both file systems used in Windows operating systems. Every day, you generate or access large amounts of data that are stored on disk in the form of files. A better file structure can provide greater accessibility, security, and optimal performance. That's why Windows introduced the ReFS file system with Windows Server 2012 to iterate on NTFS.
ReFS and NTFS. Both of them work well with personal computers and enterprise-level workloads. Whether you are a personal or enterprise user choose between ReFS and NTFS for file servers, Hyper-V VMs, SQL servers, or gaming, keep on reading, we will demonstrate the two file systems and help you choose from them.
What is NTFS
NTFS (New Technology File System), first introduced in 1993 with Windows NT operating system (OS) version 3.1, is a proprietary journaling file system for efficiently storing, organizing, and retrieving files on hard disks.
With better scalability, interoperability, security, and performance, NTFS superseded FAT (File Allocation Table) as the preferred file system on Windows and is supported in Linux and BSD as well. By using the convert command, Windows can convert FAT32/16/12 into NTFS without the need to rewrite all files
NTFS Advantages
- Journaling: NTFS uses a log file to record metadata changes to the volume, and restore the consistency of the file system (restore data) when the computer is restarted after a system failure. After a bad-sector error, NTFS dynamically remaps the cluster that contains the bad sector, making a bad cluster and allocating a new cluster for the data.
- Security: NTFS uses Access Control Lists (ACLs) and user-level encryption to help secure user data. You can set permissions on files or folders, specify the groups and users whose access you want to restrict or allow and select access type. Or you can also provide user-transparent encryption of any file or folder on an NTFS volume.
- System resource-saving: Features such as File system compression, hard links, and disk quotas can effectively conserve system resources and store system disk space.
NTFS Disadvantages
- Compatibility: the main disadvantage of NTFS is limited compatibility with non-Windows operating systems and removable devices support, for example, Mac OS computers can only get written to NTFS formatted drives with the help of third-party software, removable devices, and media devices such as Android smartphones and digital cameras do not support NTFS storage devices.
What is ReFS
ReFS (Resilient File System), first introduced with Windows Server 2012, is an advanced file system type that can safely store large amounts of data.
ReFS file system was intended to become the next generation file system after NTFS, therefore it addressed some of the issues that the NTFS system encounters. For example, the compatibility of different storage scenarios, data integrity with resiliency to corruption, and maximum data availability to scale to large data sets across diverse workloads efficiently.
Advantages
- Resiliency: ReFS has the built-in resilience to check files as you read or write them to ensure that there is no data corruption, without using chkdsk. Meanwhile, the data integrity scanning program will regularly check all files on the drive to recognize and fix the corrupted data. This provides higher integrity and availability for data.
- Scalability: ReFS can support extremely large amounts of data, with a theoretical maximum capacity of 262,144 EB. And ReFS supports up to 32,768 characters in a file name and file path by default.
- Performance: ReFS’s mirror-accelerated parity feature allocates data across two different tiers on the drive, to enable high performance and efficient data storage. Writing to disk quickly in the mirror tier to accelerate file read and write times, and then transfers data to the parity tier to recompute each written file and make more efficient use of disk space.
Disadvantages
- Windows boot: Windows cannot boot from ReFS and require NTFS.
- Resources consuming: ReFS consumes more system resources, compared with NTFS. And the bigger the disk array, the more RAM and IOPS ReFS uses for file integrity.
- Data conversion: NTFS data cannot be converted to ReFS.
- Features: ReFS does not include features like file system compression and encryption, hard links, extended attributes, data deduplication, and disk quotas.
ReFS vs NTFS: features and performance
While ReFS is made up from the current NTFS file system code and has borrowed most of its functionality from NTFS, they are still very different in terms of functionality and applicable scenarios. Therefore, ReFS is currently not a complete replacement for NTFS.
Comparing ReFS and NTFS, there are 5 main differences:
- Scalability: ReFS is more easily scalable than NTFS and ensures an efficient storage performance. NTFS theoretically provides a maximum capacity of 16 exabytes, while ReFS has 262,144 exabytes. The maximum file path length in NTFS is 255 characters, whereas the maximum path length in ReFS is 32,768 characters.
- Reliability: ReFS and NTFS differ in the way they protect storage and ensure data integrity. NTFS uses log files and checkpoints so that in the event of a system failure, you can manually check the disk and restore the disk infrastructure to the previously recorded version. ReFS, on the other hand, checks every file when reading and writing files, and has automated this process. Even in the event of a power failure, ReFS can effectively prevent data loss.
- ReFS vs NTFS Performance: ReFS has higher performance than NTFS, especially when being used with virtual machines. NTFS improves performance with features such as disk quotas, file compression, and resizing, but ReFS’s mirror-accelerated parity provides even better performance and more efficient storage. In addition, ReFS provides better performance and functionality for virtual machines with support for block cloning and sparse VDL (Valid Data Length).
- Compatibility: While NTFS is compatible with all versions of Windows, ReFS is only compatible with newer versions of Windows, such as Windows Server 2012 and Windows 8.1 or later.
- Features: Although ReFS has advantages such as automatic integrity checking and data scrubbing, elimination of the need for running chkdsk, and storage virtualization and pooling, etc over NTFS, there are many NITS features are not implemented in ReFS.
Here is a table showing the differences of ReFS and NTFS in their features.
Feature |
NTFS |
ReFS |
BitLocker encryption |
+ |
+ |
Data Deduplication |
+ |
+ |
Cluster Shared Volume (CSV) support |
+ |
+ |
Soft links |
+ |
+ |
Failover cluster support |
+ |
+ |
Access-control lists |
+ |
+ |
USN journal |
+ |
+ |
Changes notifications |
+ |
+ |
Junction points |
+ |
+ |
Mount points |
+ |
+ |
Reparse points |
+ |
+ |
Named streams |
+ |
+ |
Volume snapshots |
+ |
+ |
File IDs |
+ |
+ |
Oplocks |
+ |
+ |
Sparse files |
+ |
+ |
Thin Provisioning |
+ (Storage Spaces only) |
+ |
Trim/Unmap |
+ (Storage Spaces only) |
+ |
Block clone |
|
+ |
Sparse VDL |
|
+ |
Mirror-accelerated parity |
|
+ |
Offloaded Data Transfer (ODX) |
+ |
|
File system compression |
+ |
|
File system encryption |
+ |
|
Transactions |
+ |
|
Hard links |
+ |
|
Object IDs |
+ |
|
Short names |
+ |
|
Extended attributes |
+ |
|
Disk quotas |
+ |
|
Bootable |
+ |
|
Page file support |
+ |
|
Supported on removable media |
+ |
|
Note: ReFS’s File-level snapshots are only available on Windows Server 2022 and later. For details, you can refer to Microsoft’s official document: Resilient File System (ReFS) overview
How to choose between ReFS and NTFS
Now we know the difference between ReFS and NTFS file systems in different ways. They have their advantages, disadvantages, features, and performance. So it is not recommended to use ReFS to replace NTFS, they are suitable for different situations.
When to use NTFS
NTFS offers more functions and compatibility. Although it is as good as ReFS in scalability and performance aspects, it is good enough for most uses.
► Personal use: For general personal computing needs such as learning and gaming, NTFS remains the best choice due to its compatibility and support.
► Some enterprise-level needs: Even in some enterprise uses, NTFS is more recommended such as boot volumes, some old software, and systems that ReFS doesn't support.
When to use ReFS
The ReFS file system is more suitable for medium or large enterprises and advanced users who manage large and complex environments because of its advantages such as better performance and scalability for large volumes.
► Data Centers: ReFS is ideal for data centers where large-scale data integrity and availability are paramount.
► Large-scale storage solutions: For organizations managing massive data volumes, ReFS offers superior scalability and resilience.
► Applications Requiring High Availability: ReFS is designed for workloads that require constant uptime and data integrity, making it suitable for mission-critical applications.
Choose ReFS or NTFS for Hyper-V VMs
Both ReFS and NTFS file systems are working for Hyper-V storage. The answer is up to you, you can read the comparison between the 2 file systems to make a decision. But also, we would like to give some suggestions on choosing a file system for Hyper-V storage.
► When to use NTFS for Hyper-V
1. Your Hyper-V host has only one volume.
2. In a Cluster Shared Volumes (CSV) configuration for Hyper-V, NTFS is often the preferred file system.
3. Your backup software does not run with ReFS.
4. The host storage is older than 2006.
5. You don't know much about ReFS. Conder NTFS first.
► When to use ReFS for Hyper-V
1. Your Hyper-V environment is using Storage Spaces Direct (S2D).
2. Large volumes and VHDXs and you think NTFS can't work well in such condition.
Best free backup solution for virtual machines, computers, servers, etc.
For enterprise users, it is important to backup critical data to avoid data loss. You can rely on this free enterprise backup tool - AOMEI Cyber Backup. It offers a reliable, centralized way to back up Hyper-V and VMware virtual machines, MS SQL databases, Windows computers, and servers. It supports saving backups to various locations including HDD, NAS drive, Amazon S3, etc to protect businesses from security threats.
Summary
As Microsoft’s proprietary file system, both NTFS and ReFS are widely used today. This article introduced what NTFS and ReFS are respectively, and compared ReFS vs NTFS to show the differences.
As the expected next generation of NTFS, ReFS is still not the perfect replacement for NTFS. They are very different in features which makes them suitable for different scenarios. If you are looking for a choice for your Hyper-V VM file-level storage, you may consider ReFS for its advanced features in enhancing performance and functionality of Hyper-V VM.