Creating a Volume
Volumes are block storage devices that you attach to instances to enable persistent storage. You can attach a volume to a running instance or detach a volume and attach it to another instance at any time. You can also create a snapshot from or delete a volume.
To create a volume, navigate to the Volumes & Snapshots tab. Select + NEW VOLUME.
Volume Source options include:
- None (empty volume): Creates an empty volume. An empty volume does not contain a file system or a partition table.
- Snapshot: If you choose this option, a new field for Use snapshot as a source displays. You can select the snapshot from the list.
- Another Volume: If you choose this option, a new field for Use volume as a source displays. You can select the volume from the list. Options to use a snapshot or a volume as the source for a volume are displayed only if there are existing snapshots or volumes.
- Image: If you choose this option, a new field for Use image as a source displays. You can select the image from the list.
NOTE: vSphere templates may not be used to create a new Cinder Volume
For this example, we choose None.
The basic configuration dialog allows you to enter basic values for your new volume. We’ll create a 5GB volume named “sample-volume” for this exercise.
Adding metadata to your volume is optional. In our example, we’ll leave it blank.
Select CREATE and you will see the status of the volume creation on the Volumes & Snapshots overview.