How To Shrink A Linux LVM Root File System

(Doc ID 1591334.1)

Last updated on DECEMBER 22, 2017

Applies to:

Linux OS - Version Oracle Linux 5.5 and later
Information in this document applies to any platform.


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.


Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms