You create volumes and attach them to instances to provide persistent storage.

Prerequisites

If you want to create a volume from an image, upload the desired image. See Working with Images.

Procedure

  1. Log in to the VMware Integrated OpenStack dashboard.
  2. Select your project from the drop-down menu in the title bar.
  3. Select Project > Compute > Volumes and click Create Volume.
  4. Configure the volume.

    Option

    Description

    Volume Name

    Enter a name for the new volume.

    Description

    Enter a description for the volume.

    Volume Source

    Select No source, empty volume, Snapshot, Image, or Volume.

    If you select Snapshot, Image, or Volume, specify the desired object from the next drop-down list.

    Type

    If you selected No source, empty volume or Image as the volume source, select a volume type for the volume.

    For volumes whose source is a volume snapshot or another volume, the volume type is inherited from the source.

    Size (GiB)

    Enter the size of the volume in gibibytes.

    Availability Zone

    If you selected No source, empty volume or Image as the volume source, specify the availability zone in which to create the volume.

    For volumes whose source is a volume snapshot or another volume, the availability zone is inherited from the source.

  5. Click Create Volume.

What to do next

In the Actions column to the right of the volume, you can perform the following actions:

  • Click Edit Volume to modify the name and description of the volume and whether it is bootable.

  • Click Extend Volume to increase the size of an unattached volume.

  • Click Launch as Instance to create an instance using an unattached volume.

  • Click Manage Attachments to attach the volume to or detach the volume from an instance.

  • Click Create Snapshot to take a snapshot of the volume.

    Note:

    Creating a snapshot of a volume attached to an instance can result in a corrupted snapshot. If possible, detach the volume before creating the snapshot.

  • Click Change Volume Type to modify the volume type and migration policy.

  • Click Upload to Image to upload the volume to Glance as an image.

  • Click Create Transfer to assign ownership of an unattached volume to a different project. For details, see Transfer a Volume.

  • Click Delete Volume to delete an unattached volume.

  • Click Update Metadata to add, remove, or change volume metadata.