Lets look at an example of the Volume types script we mentioned:
Assuming you have the following two backends configured in your cinder.conf file:
You can now run the 'create_volume_types.sh' script, to automatically create volume types to point to these backends.
After running this script, you can see your automatically created Volume types by running:
This is it!, your volume types are set and you can now use them when creating volumes:
#cinder create --volume-type IBM-XIV_hostdev31f.xiv.ibm.com_vwc_iscsi --display-name vol_hostdev31f 5
For further details, the software and related documentation can be downloaded from IBM Fix Central