Difference between revisions of "How To Resize An Image In OpenNebula"

From CipherSpace Client Wiki
Jump to navigation Jump to search
Line 18: Line 18:
#:While OpenNebula is saving the image, it will be in "LOCKED" state. This image cannot be used until the state changes to "READY".
#:While OpenNebula is saving the image, it will be in "LOCKED" state. This image cannot be used until the state changes to "READY".
#:[[File:list_resized.png|thumb|none|upright=2.5]]
#:[[File:list_resized.png|thumb|none|upright=2.5]]
#:[[File:disk_info_resized.png|thumb|none|upright=2.5]]
#:[[File:disk_info_resized.png|thumb|none|upright=1]]

Revision as of 10:12, 21 April 2017

  1. Open OpenNebula Sunstone and login.
  2. Go to “Storage” in the left menu and click on “Images” in the drop down menu.
    Img menu.png
  3. Click on the image you want to resize, and make sure is not persistent in "Info" tab.
    Img information.png
  4. Instantiate a Virtual Machine attaching your image as Storage Disk (See How modify a VM Template).
  5. A flyout will appear. In the right side, under "Disks", you can resize the image. Once done, click Instantiate button.
    Disk resize.png
  6. As soon as the VM is running, Power it Off.
  7. Click on your VM and Go to "Storage" tab.
    Storage tab resize.png
  8. Click "Save As" Action next to the disk image information.Specify an Image name and click "Save As".
    Saveas disk resize.png
  9. Go to “Storage” in the left menu and click on “Images” in the drop down menu. You should see the new image with a resized disk.
    While OpenNebula is saving the image, it will be in "LOCKED" state. This image cannot be used until the state changes to "READY".
    List resized.png
    Disk info resized.png