A volume is a detachable block storage device, similar to a USB hard drive. You can attach a volume to only one instance. Use the openstack
client commands or the Web Interface to create and manage volumes.
Creating volume
Web Interface
...
Log-in to the STFC cloud (https://openstack.stfc.ac.uk/)
...
In the Web Interface, Go to Volumes -> Volumes
...
Click on Create Volume
...
Choose a name and size (in GiB)
...
After creation, you will see the volume in the list
Command-Line
Refer to Using OpenStack Command-line Interface
Steps
Create simple volume
Run the following command in a OpenStack
Code Block | ||
---|---|---|
| ||
openstack volume create --size <size-in-GiB> <name> |
You can also snapshot a volume to act as a backup or template for creating new volumes.