Should use the Ext4 or Btrfs file system?

Windows and macOS users have little reason to care about the file system, because they really only have one option, NTFS and HFS +, respectively. On the other hand, Linux has many different file system options, with the current default being Fourth Extended Filesystem (ext4).

Users are always motivated to change the default file system to B-Tree File System (btrfs). But is btrfs better than ext4? Find the answer through the following article!

Pros and cons of ext4

Should use the Ext4 or Btrfs file system? Picture 1
Fourth Extended Filesystem (ext4) is the default choice for many distros

Ext4's limits are impressive. The largest volume / partition you can perform with ext4 is 1 exbibyte, which is equivalent to about 1,152,921.5 terabytes. The maximum file size is 16 tebibytes, equivalent to about 17.6 terabytes, which is far larger than any hard drive that regular consumers can currently buy.

Ext4 is known to bring about speed improvement compared to ext3 by using many different techniques. Like most modern file systems, it's a journaling file system, which means it keeps a 'journal', recording where files are located on the drive and any other changes on it.

However, ext4 does not support transparent compression (lossless compression does not make a big difference), transparent encryption or data deduplication. Snapshot is supported technically, but it is only an experimental feature.

Theodore Ts'o, a developer who played a key role in creating ext4, described ext4 as a temporary replacement release based on the outdated technology of the 1970s and believes that Btrfs brings A better direction.

Pros and cons of Btrfs

Should use the Ext4 or Btrfs file system? Picture 2
Btrfs is a newer file system

Btrfs is a newer file system that has been rebuilt from scratch. Btrfs exists because developers want to extend the functionality of a file system, so that it includes additional functions such as pooling, snapshots and checksums.

The project started at Oracle, but other large companies have played a part in the development. This list includes Facebook, Netgear, Red Hat and SUSE.

While the improvements found in btrfs may benefit the general consumer, some additional features are of more interest to businesses. This function is for demanding use cases and often requires a more durable hard drive.

For organizations that use very large database programs, having a seemingly continuous file system on multiple hard drives can make data merging much easier. Data deduplication will reduce the actual amount of space that data will take up and make Data mirroring easier when there is a single, large file system that needs to be copied.

Of course, you can still choose to create multiple partitions. The maximum partition size of the btrfs file system and the maximum file size are 16 exbibyte. Thus btrfs supports 16 times more disk space than ext4.

Has the Linux distro made the transition yet?

Btrfs has been a stable part of the Linux kernel since 2013 and you can reformat your hard drive with this file system today. But btrfs is not the default Linux file system. Most distros continue to choose ext4.

Why is that? Files are the most important data bits on the hard drive. Personal data cannot be replaced. You can reinstall the operating system and download the application again, but without a backup, the lost files will be no more. That is why it is important to prove a file system is reliable before moving millions to use it by default.

Ext4 may be old and prone to problems, but it has also been shown to be resilient and reliable. If something goes wrong, a high rate of ext4 will keep your saved data safe.

For most people, such situations are the most important factor. How well a file system works when things are going well is not as important as what it does when something goes wrong.

OpenSUSE now uses btrfs as the default option for the / root partition, where the operating system is located. However, for the / home partition containing individual files, openSUSE decided to use the XFS file system instead.

4 ★ | 84 Vote

May be interested

  • Basic file system in Unix / LinuxBasic file system in Unix / Linux
    a file system is a logical collection of files on a partition or a disk. a partition is an information store and can be combined into a hard disk if desired.
  • What is Journaling File System?What is Journaling File System?
    although the file systems are fundamentally different, one feature that exists in all of these file systems is journaling. let's find out more about journaling file system through the following article.
  • Completely delete data in WindowsCompletely delete data in Windows
    in the windows operating system, when you delete a file by pressing the delete button on the keyboard, only the directly related components of the file are removed from the file system table, or in the words. another is that the file still exists on the hard drive until another file is overwritten. so have to do
  • How to fix Windows file system errors with a single commandHow to fix Windows file system errors with a single command
    when you install windows on your computer, it will put a lot of important files into your system that you may not know or use. however, when they fail, it will cause many problems for your computer. let us find a way to fix it!
  • How to create system information file in Windows 10How to create system information file in Windows 10
    this tutorial will show you how to create an msinfo.nfo file to upload to forums, allowing other members to view system information in the same user interface as you see on your own pc.
  • How to allow / deny an application access to the file system in Windows 10How to allow / deny an application access to the file system in Windows 10
    this guide will show you how to change privacy settings to allow or deny apps access to the file system for all users or just your account in windows 10.
  • What is the APK file? How to download and install the APK file?What is the APK file?  How to download and install the APK file?
    just like the .exe file on the windows operating system used to install software, the android operating system is similar. the apk file on the android operating system is used to install software on the system. so how to download and install the apk file on your android device, please refer to the following article of network administrator.
  • Microsoft and GitHub cooperated to bring Git virtual file system to macOS and LinuxMicrosoft and GitHub cooperated to bring Git virtual file system to macOS and Linux
    microsoft is not the only company that wants to expand the git system.
  • What is a BBS file?What is a BBS file?
    bbs stands for bulletin board system. they are used by bbs to store things like messages, descriptions, and metadata information.
  • Steps to set up SFC shortcut on Windows 11Steps to set up SFC shortcut on Windows 11
    system file checker is one of windows 11's most useful maintenance utilities. this command-line tool scans and repairs corrupted system files when you type and execute the sfc /scannow command. running an sfc scan can often fix windows errors and problems.