Oracle VM (OVM) (MOSC)

MOSC Banner

How to extend the image file on Oracle VM

edited Sep 7, 2011 3:57AM in Oracle VM (OVM) (MOSC) 7 comments
In addition to add additional disk image or physical disk to a virtual machine, you can extend the image file(system.img) directly below: #dd if=/dev/zero bs=1M count=1000 >> System.img

will add 1G space to the disk image.

Remind that it's using '>>' to add 1G at the end of image file. Please have a backup of the image file (System.img) before any manually operation on it.

Reboot the guest, using "fdisk -l" you can see the added space. Need to partition&format it to use.

Cheers,
Terry

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center