extend volume

asked 2018-12-27 04:00:36 -0500

novainfinite gravatar image

I install openstack ROCKY version.I use ceph as backend. I extend a volume by ceph resize.but when i enter to windows i can not see the extra volume and if i hard reboot the vm after that extra volume appear. the question is how to appear extra volume without hard rebooting thanks

edit retag flag offensive close merge delete


If you mean Ceph as Cinder backend, don't extend the Ceph block device, but use openstack volume set. Before microversion 3.42, that only works when the volume is not attached.

Bernd Bausch gravatar imageBernd Bausch ( 2018-12-27 04:18:18 -0500 )edit

According to the API description, volume extend notifies Nova that the volume has been extended. Manually increasing the size of the Ceph object doesn't update Nova.

Bernd Bausch gravatar imageBernd Bausch ( 2018-12-27 04:35:42 -0500 )edit

Now I have a few problems. The openstack client doesn't allow me to specify microversion 3.42. I guess this is a bug. The cinder client returns with a bogus error message. Also a bug. To extend an attached volume in Rocky, currently, I suppose you have to submit the API manually.

Bernd Bausch gravatar imageBernd Bausch ( 2018-12-27 04:37:18 -0500 )edit

the openstack volume set is not work for me and the volume stuck in queued so i extend it by ceph how to said the windows to know a bout extend volume?

novainfinite gravatar imagenovainfinite ( 2018-12-27 05:45:02 -0500 )edit

I don't know if and how you can tell Windows to recheck the size of a volume. Also, I am not sure if the hypervisor knows that the volume size has changed.

Bernd Bausch gravatar imageBernd Bausch ( 2018-12-27 05:52:35 -0500 )edit