Create Volume in Web Interface and CLI
You can create a new volume using either the Web Interface or the CLI. You can also create volume from a snapshot. A snapshot is a mechanism where you to create a new image from a running services which serves as a templating and backup mechanism.
Creating volume
Web Interface
Log-in to the STFC cloud (Login - OpenStack Dashboard )
In the Web Interface, Go to
Volumes -> Volumes
Click on
Create Volume
Choose a name and size (in GiB),
(Optional) you can select to create a volume from a snapshot in the
volume source
drop-down.After creation, you will see the volume in the list
Command-Line
Refer to Using the OpenStack Command Line Interface
Steps
Create simple volume
Run the following command in Terminal
openstack volume create --size <size-in-GiB> <name>
Create image from snapshot/image
Find the ID of your snapshot
$ openstack volume snapshot list
+--------------------------------------+--------------------------------------+-------------+-----------+------+
| ID | Name | Description | Status | Size |
+--------------------------------------+--------------------------------------+-------------+-----------+------+
| 76d51455-a5cd-478d-a93f-6e49b4108575 | testing-v-snapshot | None | available | 3 |
+--------------------------------------+--------------------------------------+-------------+-----------+------+
Run the following command in Terminal
openstack volume create --snapshot <snapshot-id> --size <size> <name