openstack创建卷类型

创建卷类型,并且设置volume_backend_name属性

openstack volume type create SATA-public --property volume_backend_name='rbd-1'
+-------------+--------------------------------------+
| Field       | Value                                |
+-------------+--------------------------------------+
| description | None                                 |
| id          | 4e43676b-4aa0-4274-b0d0-585a78e9c0a9 |
| is_public   | True                                 |
| name        | SATA-public                          |
| properties  | volume_backend_name='rbd-1'          |
+-------------+--------------------------------------+

查询卷类型

openstack volume type list
+--------------------------------------+-------------+-----------+
| ID                                   | Name        | Is Public |
+--------------------------------------+-------------+-----------+
| 4e43676b-4aa0-4274-b0d0-585a78e9c0a9 | SATA-public | True      |
| 3ce5b39f-d5ba-4b99-a130-d2994e16f800 | __DEFAULT__ | True      |
+--------------------------------------+-------------+-----------+

查看卷类型详情

openstack volume type show 4e43676b-4aa0-4274-b0d0-585a78e9c0a9
+--------------------+--------------------------------------+
| Field              | Value                                |
+--------------------+--------------------------------------+
| access_project_ids | None                                 |
| description        | None                                 |
| id                 | 4e43676b-4aa0-4274-b0d0-585a78e9c0a9 |
| is_public          | True                                 |
| name               | SATA-public                          |
| properties         | volume_backend_name='rbd-1'          |
| qos_specs_id       | None                                 |
+--------------------+--------------------------------------+

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值