From FAT To NTFS To ZFS: File Systems Demystified [MakeUseOf Explains]

filesystems intro   From FAT To NTFS To ZFS: File Systems Demystified [MakeUseOf Explains]Do you really know what your hard drive does whenever you read a file from it or write one to it? Our hard drives can now store massive amounts of data, and that massive space requires a high level of organization in order to prevent issues and maintain performance. Hard drives can be well organized through the use of file systems, which operating systems usually set up before installing themselves onto your system.

But, as you might guess, there’s more than one file system. So what file systems are out there, what do they do, and what are their differences?

FAT

The most common file system in the entire world of computing is File Allocation Table, or simply FAT, and is developed by Microsoft. It has been around for quite a while, and has received updates in the forms of FAT16 and FAT32, although generally they’re all just called FAT. Out of all the major file systems, FAT is by far the simplest and can only hold files with sizes up to 4GB each. It uses a linked list structure, and is therefore not a “journaling” file system. It is rarely found on hard drives anymore, but almost always on removable media such as USB drives and SD cards. Virtually all operating systems have support for FAT file systems, so it is readable on any device. It’s also very easy to format a drive to FAT.

NTFS

filesystems organization   From FAT To NTFS To ZFS: File Systems Demystified [MakeUseOf Explains]
NTFS, or New Technology File System, is the next-generation file system developed by Microsoft. Its structure is more complex, and has been used for Microsoft’s operating systems starting with Windows XP. It is a “journaling” file system, meaning that it keeps records of all operations on the device. This journal can help detect errors and recover from them for instances such as drive failure or a power outage. Files up to 16 TB each are supported, with maximum volume sizes up to 256 TB. While not quite as universal as FAT, it can still be read on all major operating systems with ease. NTFS is best suited for hard drives and other not-easily-removable media, although removable media can still technically be formatted with this file system.

You can also look up more information about the advantages of NTFS over FAT.

HFS+

HFS+ is a file system developed by Apple for use on their Macintosh computers. It uses the same type of structures for its file allocation as NTFS, but the two file systems are not compatible. The file system is able to support files and volumes of up to just over a million terabytes. It is also a “journaling” file system, allowing easier recovery when errors occur. As it is meant for Macintosh computers, it is only found on hard drives within those systems. Mac OS X and Linux are able to use the file system, but Windows is not.

ext4

ext4 btrfs ext4 gparted   From FAT To NTFS To ZFS: File Systems Demystified [MakeUseOf Explains]
ext4 is the currently most-used file system for Linux systems. It is the successor to both ext2 and ext3, and includes some performance increases using different techniques. It is also a “journaling” file system. ext4 is meant for hard drives, so they do not appear on removable media because of its properties as well as its lack of widespread use. It is able to support files up to 16 TiB and volumes up to 1 EiB. Because ext4 is backwards compatible with ext2 and ext3, people can mount such volumes as an ext4 volume to get a slight performance increase thanks to a different allocation algorithm on the software end. Windows users are able to at least get read access to ext file systems with Ext2Read.

Additionally, if you’re new to Linux, you can check out our awesome guide on getting started.

btrfs

btrfs, pronounced “B-Tree FS”, “Better FS”, or “Butter FS”, is an upcoming file system for Linux distributions which aims to fix many of the issues found in the older ext file system series. The file system is also a “journaling” file system. Some differences include a maximum file and volume size of 16 EiB, as well as capabilities of data pooling (spanning the file system across multiple physical hard drives), nanosecond time resolution, snapshots, transparent compression, transparent encryption, and data deduplication. At least for now, the only operating system which supports btrfs is Linux, and it is currently considered unstable. It’s predicted that btrfs will eventually replace ext4, and this article explains why.

ZFS

filesystems storage rack   From FAT To NTFS To ZFS: File Systems Demystified [MakeUseOf Explains]
ZFS is a file system which is known only in the Unix world. With support for files and volumes of up to 16 Exabytes, ZFS isn’t known for performance but supports plenty of great features such as data corruption protection, combination of file system and volume management concepts (including pooling), snapshots, transparent compression, transparent encryption, and data deduplication. It is considered stable since 2005, however, and is supported with Mac OS X 10.5 Server, Linux, and other smaller Unix-like operating systems. While it seems similar to btrfs, ZFS doesn’t promise the same performance as btrfs. ZFS is also more common in enterprise environments than it is in homes.

Conclusion

More likely than not, you’ll run into these 6 file systems at some point in your life. As you can see, these all have their different advantages, including operating system support, size and volume sizes, and file system-specific functions such as compression and encryption. Therefore, the choice is up to you which file system you’d like to use, depending on what your usage is like, what media you’re considering, and what operating system you use. While choosing a file system doesn’t seem to make much of a difference, choosing the right one can make your experience better.

What file systems do you use, and which are your favorite? What file system features do you like the most? Let us know in the comments!

Image Credit: William Hook, Andy Ciordia, Jemimus

The comments were closed because the article is more than 180 days old.

If you have any questions related to what's mentioned in the article or need help with any computer issue, ask it on MakeUseOf Answers—We and our community will be more than happy to help.

31 Comments -

2 votes

Doc

You forgot to mention FAT12, the FAT file system for floppies (and other low-capacity storage). Also worth mentioning is Microsoft’s DMS file system, a modified FAT12 that allocated more storage to a single CAB file (and less to the disk bitmap and root directory).

0 votes

Danny Stieben

Thanks for the info! I had to shudder a bit at the mention of a CAB file… I never liked them, even way back.

0 votes

vivekyadav29992

that was a good lot of info…
but i would like to know, which file systems works fastest for reading and writing data…say while writing on the same HDD of 7500 rpm connected through sata…or whatever…

1 votes

Valentin Sascau

windows (98 +) –> ntfs
MAC –>hfs
Linux –> ext4
:)

0 votes

null

I like NTFS because of it’s file size limit.

0 votes

Don

NTFS was out long before XP, Windows 2000 and Windows NT both used it.

0 votes

Danny Stieben

It may have been out before, but it wasn’t used for the operating system until XP. I remember having to reformat the hard drive when XP came around.

0 votes

Stanislav Šich

Windows NT 4.0 used NTFS as default filesystem, Windows 2000 too.

1 votes

Edgardo Gonzalez Pereyra

That remembers me that this is going so fast that It is actually a shame for example the thousands of dollars expended transforming Beta to VHS and then to DVD and now to flash!!! poor grandmas!

0 votes

Fred G

Great post – didn’t any of the info past NTFS

0 votes

Elijah Swartz

Why did you leave out exFAT?

0 votes

Danny Stieben

It’s very similar to FAT and it’s barely being used. I recently got a large capacity SD card and it still uses FAT.

1 votes

Nevzat A

as always, Linux has the most variations. exFat is shining on mobile storage.

0 votes

Sadman Hasan

Thanks! Really looking for this :)

0 votes

Jeff Rockower

Why did you leave out NWFS? Unfortunately it is still used in the enterprise environment.

0 votes

Danny Stieben

I’ve never heard of NWFS before, and a quick Google search doesn’t really return anything either. :/

0 votes

Jeff Rockower

NWFS is an old FS that Novell developed. It has many benefits over NTFS, but permissions get difficult when working with Windows Server 2008/2012.

NWFS = NetWare File System

0 votes

Onaje Asheber

Thanks! Good info about the files systems I am new to the ZFS and HFS+ systems.

1 votes

Keith Swartz

Danny, Danny;… I use to think you had a lot of hair on yo’ head… WRONG!! That is head space up there to keep yo’ elephant sized brain in! Man, thanks for the well researched and superably written article! Now, thisis some GREAT info! Thanks Danny & MUO!!

0 votes

dee_kay

My MacBook tells me that its hard drive has the file system Mac OS Extended. Is that the same as HFS+?

0 votes

Oron Joffe

Yes, HFS+=Mac OS Extended.

0 votes

techguyknows

I didn’t know how much ZFS could do before reading this!!

0 votes

Mai Shun Han

I have never heard of btrfs and ZFS file systems…

0 votes

Danny Stieben

btrfs is still rather new, and ZFS comes from the BSD variants of Unix.

0 votes

Eric Fitzgerald

First, ZFS is from Solaris not BSD. It was ported to BSD but did not originate there.

Second, you claim that ZFS is not known for performance. While ZFS on a single disk system may lack in performance, it was designed for large multi disk systems. In those situations, due to RaidZ, it VASTLY outperforms btrfs. ZFS is also production server ready, btrfs is not.

0 votes

david

Agreed, Take a look at the read/write speeds over raidZ.

I’ve got 5 1tb green drives in raidZ and my read speed is around 400 MB/s. Not bad for 5900 RPM green disks.

The article is a quick overview and doesn’t go into the nitty-gritty for any file system.

0 votes

Mai Shun Han

btrfs sounds like a weird file system format…

0 votes

null

i use NTFS. why? 1. windows machine; 2. can create files > 10GB.

0 votes

Keith T

I never knew that there were such big file sizes!

0 votes

Danny Stieben

I can’t imagine some of them either. I’m just going to guess that they can be virtual machine disk files.

0 votes

Mick

ReiserFS is good for many thousands of tiny files, such as text files, and is used in some Linux servers for optimized file system based on the intended use. Also, DMS, NWFS (I may have missed a few here.).