Linux HDD Partitioning: Best Filesystem Type for Capacity Flexibility

Which Filesystem Type to Choose for a Linux HDD Partition

Question

A customer has a Linux desktop and is installing a 3TB HDD.

The customer wants to use only half of its capacity right now, but would like to be able to increase the size of the partition at a later date.

Which of the following filesystem types would the customer's drive require?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

B.

The correct answer is B. Ext4.

Explanation:

When creating a partition on a hard drive, one needs to format it with a filesystem type that allows for resizing of the partition later on.

Out of the four options provided, only Ext4, the default filesystem used in most modern Linux distributions, supports online resizing, which means that the partition can be resized without the need to unmount or format the drive.

NTFS is a filesystem used by Windows operating systems and although it does support resizing, it requires the use of third-party tools to do so.

HFS is a filesystem used by Mac OS X and is not compatible with Linux.

FAT32 is an older filesystem that is limited to 2TB partition sizes, and requires significant maintenance and optimization on larger partitions, making it unsuitable for use with a 3TB drive.

Therefore, the best option for a Linux desktop with a 3TB hard drive that requires the ability to increase the size of the partition at a later date would be to use Ext4.