My Oracle Support Banner

Oracle Linux: How to do a Online Resize of a LVM Volume Filesystem (Doc ID 2272697.1)

Last updated on MARCH 25, 2024

Applies to:

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


This document helps in a scenario which there is a single virtual/SAN disk that is going to increase to add more space to LVM.

It describes methods that are safe, without reboot and no need for inactive or unmount logical volume LV.

There are 2 methods, one for each previous virtual/SAN disk state, with and without partitioned.

The word safe is used because both a more tolerant to human mistakes. Other methods that implies modifying with fdisk the existing disk partition and reload it with partx kpartx and partprobe, need some attention from user, that in case of mistake could corrupt the filesystem.

You can use online resize if the filesystem allows it, like EXT3/EXT4. Assuming capable of that there will be no need for reboot, inactive or unmount logical volume LV.


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
 Disk NOT partitioned
 Disk partitioned
 Resizing the Volume

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