如何通过 CLI 创建 Cinder 云硬盘?

来源:-

刻骨铭心_

2016-06-23 11:28

 NOVA 也有创建的,不知道用哪个。

写回答 关注

1回答

  • XhstormR
    2016-06-23 11:28:56
    已采纳
    cinder create --display-name 'user for db' --volume-type CEPH-SATA 20
    +--------------------------------+--------------------------------------+|            Property            |                Value                 |
    +--------------------------------+--------------------------------------+|          attachments           |                  []                  |
    |       availability_zone        |                 nova                 |
    |            bootable            |                false                 |
    |           created_at           |      2016-03-14T09:24:52.000000      |
    |      display_description       |                 None                 |
    |          display_name          |             user for db              |
    |           encrypted            |                False                 |
    |               id               | d1e1194f-d33b-4169-9ce2-6644fa111d89 |
    |            metadata            |       {u'readonly': u'False'}        |
    |     os-vol-host-attr:host      | hh-yun-cinder.vclound.com@CEPH_SATA  |
    | os-vol-mig-status-attr:migstat |                 None                 |
    | os-vol-mig-status-attr:name_id |                 None                 |
    |  os-vol-tenant-attr:tenant_id  |   bb0b51d166254dc99bc7462c0ac002ff   |
    |              size              |                  20                  |
    |          snapshot_id           |                 None                 |
    |          source_volid          |                 None                 |
    |             status             |              available               |
    |            user_id             |   226e71f1c1aa4bae85485d1d17b6f0ae   ||          volume_type           |              CEPH-SATA               |
    +--------------------------------+--------------------------------------+

    最好使用 Cinder 的,望采纳。

OpenStack基础

OpenStack基础教程,介绍了OpenStack的一些基本概念,基本组件

50618 学习 · 57 问题

查看课程

相似问题