How to Increase the File-Based Disk Size Attached to domU Running on Oracle VM (Doc ID 1639357.1)

Last updated on AUGUST 06, 2016

Applies to:

Oracle VM - Version 3.0.3 and later
Information in this document applies to any platform.

Symptoms

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 )

Cause

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