My Oracle Support Banner

How to resize an EXT3/EXT4 filesystem on Oracle Linux (Doc ID 445215.1)

Last updated on AUGUST 04, 2018

Applies to:

Linux OS - Version 2.4 to 2.6
Oracle VM - Version 3.3.4 to 3.3.4 [Release OVM33]
Linux x86
Linux x86-64
Linux Itanium
Linux Kernel - Version: 2.4 to 3.8


Goal

The purpose of this article is to describe how to resize (extend & reduce) an EXT3/4 filesystem on Oracle Linux.
The described procedures were performed using EXT3/4 filesystems on Oracle Linux 5/6 and equally apply to other releases.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
 1. Feasibility of filesystem resize (extend)
 2. Backup all data on filesystem to be resized
 3. Resize (extend) of non-root filesystem on non-LVM device
 3.1 Unmount filesystem to be resized
 3.2 Perform a filesystem check
 3.3 Resize (extend) the partition
 3.4 Verify partition resize
 3.5 Resize (extend) the filesystem
 3.6 Perform a filesystem check
 3.7 Mount the resized filesystem
 3.8 Verify filesystem resize
 4. Resize (reduce) of non-root EXT3/4 filesystem on non-LVM device
 4.1 Unmount the filesystem to be resized
 4.2 Perform a filesystem check
 4.3 Resize (reduce) the filesystem
 4.4 Perform a filesystem check
 4.5 Resize (reduce) the partition
 4.6 Verify partition resize
 4.7 Perform a filesystem check
 4.8 Mount the resized filesystem
 4.9 Verify filesystem resize
 5. Resize (extend) of non-root EXT3/4 filesystem on LVM device
 5.1 Unmount the filesystem
 5.2 Perform a filesystem check
 
5.3 Resize (extend) the Logical Volume
 5.4 Verify Logical Volume resize
 
5.5 Perform a filesystem check
 5.6 Resize (extend) the filesystem
 5.7 Mount the resized filesystem
 5.8 Verify filesystem resize
 6. Add a new Physical Volume to an existing Volume Group
 6.1 Create new Physical Volume
 6.2 Add the Physical Volume to the Volume Group
 6.3 Verify Volume Group resize
 7. Resize (extend) an existing Physical Volume
 7.1 Resize (extend) the Physical Volume
 7.2 Verify Physical Volume resize
 7.3 Verify Volume Group resize
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.