Expanding an LVM backed filesystem of an Oracle VM guest
Last updated on NOVEMBER 20, 2013
Applies to:Oracle VM - Version 2.1 to 2.2.1 [Release OVM21 to OVM221]
***Checked for relevance on 17-Jun-2012***
***Checked for relevance on 20-Nov-2013***
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.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms