https://www.sebastien-han.fr/blog/2013/04/25/ceph-and-cinder-multi-backend/
# vim /etc/cinder/cinder.conf
[DEFAULT]
.....
enabled_backends = ceph-ssd
[ceph-ssd]
.....
volume_backend_name=ceph_ssd
# cinder type-create ssd
+--------------------------------------+------+-------------+-----------+
| ID | Name | Description | Is_Public |
+--------------------------------------+------+-------------+-----------+
| c8008dd1-89f4-4771-809c-2d01db77d7bf | ssd | - | True |
+--------------------------------------+------+-------------+-----------+
# cinder type-key ssd set volume_backend_name=ceph_ssd
# cinder extra-specs-list
+--------------------------------------+------+-------------------------------------+
| ID | Name | extra_specs |
+--------------------------------------+------+-------------------------------------+
| c8008dd1-89f4-4771-809c-2d01db77d7bf | ssd | {'volume_backend_name': 'ceph_ssd'} |
+--------------------------------------+------+-------------------------------------+
# cinder create --display-name="Volumes_01" 50 --volume-type ssd
+------------------------------+--------------------------------------+
| Property | Value |
+------------------------------+--------------------------------------+
| attachments | [] |
| availability_zone | nova |
| bootable | false |
| consistencygroup_id | None |
| created_at | 2016-11-28T05:50:47.000000 |
| description | None |
| encrypted | False |
| id | deb58261-a02e-4734-81f5-66113840979a |
| metadata | {} |
| multiattach | False |
| name | Volumes_01 |
| os-vol-tenant-attr:tenant_id | 22e36611b69e412ab6a49e4c453336f3 |
| replication_status | disabled |
| size | 50 |
| snapshot_id | None |
| source_volid | None |
| status | creating |
| updated_at | None |
| user_id | b9cb3442c99a4d9fb37d821f378f9329 |
| volume_type | ssd |
+------------------------------+--------------------------------------+