OpenStack命令创建一个指定的卷

2020-06-13 12:32:23 浏览数 (1)

查看卷类型列表

[root@controller ~]# openstack volume type list

ID

Name

Is Public

0fed6ef3-4b9b-4519-bdb0-36fecb7c5b94

hdd

True

05c4ce95-8e73-4ccf-8025-304b738d1098

ssd

True

创建一个卷名叫 wocaoa的卷 大小为:100G 类型为:SSD

[root@controller ~]# openstack volume create wocaoa --size 100 --type ssd

Field

Value

attachments

[]

availability_zone

nova

bootable

false

consistencygroup_id

None

created_at

2019-05-16T06:32:49.000000

description

None

encrypted

False

id

ea56aea4-cbfa-4866-8081-d75f4c90b632

migration_status

None

multiattach

False

name

wocaoa

properties

replication_status

None

size

100

snapshot_id

None

source_volid

None

status

creating

type

ssd

updated_at

None

user_id

06a72bdd76d247fca8328ee17360449e

0 人点赞