My Oracle Support Banner

Oracle Linux: How To Shrink a Linux LVM Root File System (Doc ID 1591334.1)

Last updated on APRIL 12, 2023

Applies to:

Linux OS - Version Oracle Linux 5.0 and later
Oracle Cloud Infrastructure - Version N/A and later
Linux x86
Linux x86-64


During system installation, one may allocate an over-generous amount of disk space to the root partition and may later wish to reclaim any unused space. The following document describes how to reduce the space allocated to an root file system on a Linux Volume Manager (LVM) logical volume.

Note this procedure applies only if the root file system (which holds the / directory) is provisioned as an EXT2/3/4 file system on an LVM device. It is possible to reduce the allocation of other non-EXT2/3/4 file systems, but each file system type requires its own process and is not described here.


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

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