My Oracle Support Banner

How To Shrink A Linux LVM Root File System (Doc ID 1591334.1)

Last updated on MAY 17, 2020

Applies to:

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

Goal

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.

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


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