My Oracle Support Banner

Expanding an LVM backed filesystem of an Oracle VM guest (Doc ID 1262343.1)

Last updated on JULY 17, 2023

Applies to:

Oracle VM - Version 2.1 to 2.2.1 [Release OVM21 to OVM221]
Oracle Cloud Infrastructure - Version N/A and later
Linux x86
Linux x86-64
*** ***

Goal

The following provides a step-by-step procedure for adding additional space to an existing, LVM-backed filesystem of an Oracle VM guest Virtual Machine (VM).

The process involves:

The new device can be either a dedicated or shared virtual disk image file created via Oracle VM Manager or created manually on the Oracle VM Server. The new device may also be a physical device, whether local or SAN-based (LUN). Once the device is created and made available to the guest, subsequent steps to be performed on the guest are the same regardless of device type. The procedure may be used with both Oracle VM and EL5 Xen guest deployments.

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
 1. Create and attach a new storage device to the guest VM
 2. Identify the new device and existing filesystem size
 3. Partition the newly created device
 4. Create a Physical Volume on the new device partition
 5. Review existing Logical Volumes
 6. Add new Physical Volume to the existing Volume Group
 7. Verify increased available space within the Volume Group
 8. Extend the Logical Volume
 9. Resize the root filesystem
References

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