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:
Adding a new volume (either a virtual disk image file or LUN) to the guest configuration file (vm.cfg) on the Oracle VM Server
Configuring the new device as an LVM Physical Volume (PV) on the running guest
Adding the new PV to the existing Volume Group (VG) and Logical Volume (LV)
Extending the existing filesystem to utilize the additional space
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!