1

Instance using local disk, the configure file: nova-compute/nova.conf

[libvirt]
images_type = qcow2

execute openstack server resize works well.

but when using raw

[libvirt]
images_type = raw

the instance console get:

enter image description here

Is there any method to resize the raw format local disk instance successful ? THX

4

1 回答 1

0

在我的测试中,有一种愚蠢的方法,但它有效:

  • 1,openstack server stop original_instanceopenstack server remove port original_instance original_port
  • 2、openstack image create用原始实例的raw格式的磁盘文件(下图中名为disk_img的图片)。
  • 3、openstack server create new_instance --image **disk_img**original_portand new_flavor(磁盘容量不能小于原来的)。
于 2021-08-11T09:07:03.510 回答