How To Do a Online Resize of a LVM Volume Filesystem in Oracle Linux
Last updated on OCTOBER 16, 2017
Applies to:Linux OS - Version Oracle Linux 7.3 with Unbreakable Enterprise Kerne [4.1.12] and later
Information in this document applies to any platform.
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.
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