You create volumes and attach them to instances to provide persistent storage.
Conditions préalables
- If you want to create a volume from an image, upload the desired image. See Importer une image.
- If you want to create an FCD-backed volume, verify that you have added at least one Cinder host using the FCD back end. Then create a volume type and set its vmware:backend_name extra spec to the name of the FCD back end. Select this volume type during the volume creation process. For information about volume types, see Créer un type de volume.
Procédure
- Connectez-vous au tableau de bord de VMware Integrated OpenStack.
- Sélectionnez votre projet dans le menu déroulant de la barre de titre.
- Select .
- Click Create Volume and enter the desired configuration.
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 menu.
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.
- Click Create Volume.
Que faire ensuite
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 Transférer un volume.
- Click Update Metadata to add, remove, or change volume metadata.
You can also select one or more unattached volumes and click Delete Volumes to remove them.