To add a new disk to a VM, first log in to the OpenNebula UI at https://cloud.togglebox.com
Once logged in, follow the steps below to attach a new disk.
Create disk image
- Navigate to Storage -> Images
-
You will see a list of all currently available images.
Click + then Create.
- Name -- unique name to identify the image.
- Description -- Optional description.
- Type -- Generic storage datablock.
- Datastore -- Same location where the VM you are attaching the image to is located.
- This image is persistent -- YES.
- Image location -- You can choose to upload a pre-made image or download via URL. In this example we want an empty image and will select "Empty disk image" and specify a size.
- Advanced Options -- Do not set any options.
-
Click Create
The new Image will now show in your image list.
Attach disk image to VM
- Navigate to Instances → VMs → Select the VM → Storage tab
- Click Attach disk
Notice: We highly recommend against Volatile disks as snapshots cannot be made and they cannot be cloned.
- Select the image you created and click "Attach"
- The new disk will be hotplugged into your VM. No reboot is required.
- Login to your VM and partition/format the new disk.