How to Increase the File-Based Disk Size Attached to domU Running on Oracle VM
(Doc ID 1639357.1)
Last updated on OCTOBER 25, 2020
Applies to:Linux OS - Version Oracle Linux 6.0 to Oracle Linux 6.0 [Release OL6]
Oracle VM - Version 3.0.3 and later
Oracle Cloud Infrastructure - Version N/A and later
This documents describes the steps and results involved in how to increase the size of an image disk attached to a guest machine (domU) running in an Oracle VM environment.
Every action related to enviroment or setup modification should be executed via Oracle VM Manager User Interface (UI) only.
Please note that there are two clauses in the action followed:
1. The image disk can be expanded if the disk does not have a partition table.
2. If the disk has a partition table, then only the last partition table can be expanded. (It is an expected behavior as partition table follows a straight procedure in storing boundaries x-to-y)
For example if there are partitions 1-8 on a disk, by deleting 7,8 and recreating 7 with twice the initial size, one is actually destroying the data that was initially on partition 8. So this kind of expansion is not recommended.
On the other hand, extending partition number 8 will not cause any data loss.
The above is also applicable for physical disk. It is the behavior for linux kernel ( any flavour build )
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