How to Resize ext4 Partitions and Filesystems in Linux

Written By
T
TecMint
Jul 31, 2026

resize2fs is the tool that lets an ext4 filesystem use the extra space you’ve added to a partition. Without it, the partition may be larger, but the filesystem still sees the old size, so your available disk space won’t increase.
A common situation is extending a partition with fdisk or parted, then running df -h and noticing that the size hasn’t changed. That’s because only the partition was expanded, but the filesystem itself still needs to be resized. resize2fs takes care of that by expanding the ext4 filesystem to fill the newly available space.

In this guide, we’ll explain what resize2fs does, how to expand an ext4 filesystem after resizing a partition, and how to verify the change in Linux.

T

TecMint

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.