Configuring volume types
Volume types in Cinder are a label or identifier that is selected during volume creation. Typically, volume types correspond with some attribute of the volumes, for example, SSD
, High IOPS
, and Encrypted
. We will use this with the next recipe to define further features of our Cinder service.
Getting ready
To create a volume type, you will need the following:
An
openrc
file with appropriate credentials for the environment (you must be an administrator)The
openstack
command-line clientThe name of the volume type to create. For our example, we will create the
"High IOPS"
volume type as a contrived example type that would refer to a block storage device dedicated to High IOPS.
How to do it…
We will use the openstack volume type
command to operate on Cinder volume types. To create a volume type, use the following steps:
First, list the existing volume types:
openstack volume type list
This will bring back an output like the following. Here we have the default set when we installed...