openstack cinder default volume
Cinder中多个volume 驱动时,调整cinder默认调动类型:(CentOS7)# cinder type-list
+--------------------------------------+------+
| ID | Name |
+--------------------------------------+------+
| 585a2694-94da-438c-ad07-b1ba9d256ddd | rbd |
| c2400021-3bd4-4fdc-b7ba-5eba502d7467 | eqlx |
+--------------------------------------+------+
(通过cinder type-list查看cinder驱动类型)
# vim /etc/cinder/cinder.conf
#default_volume_type=
default_volume_type=eqlx
(调整default_volume中类型type-list中看到的)
#sytemctl restart openstack-cinder-api
#sytemctl restart openstack-cinder-scheduler
#sytemctl restart openstack-cinder-volume
测试方式:
1) 通过openstack huore 云硬盘 创建云硬盘不指定类型时,默认类型已经变为eqlx
2) 通过huore 界面启动云主机,启动类型为新建卷方式也能实现
版权声明:本文为博主原创文章,未经博主允许不得转载。
页:
[1]