[Openstack] question on volume resize
john.griffith at solidfire.com
Thu Sep 5 22:36:17 UTC 2013
On Thu, Sep 5, 2013 at 3:36 PM, John-Paul Robinson <jpr at uab.edu> wrote:
> I'm trying to get some clarity on volume resize capabilities in OS.
> As I understand it, this will be a Cinder feature in Havana.
> Also, it appears that the nova-volume API in Essex through the Cinder
> API in Grizzly are based on the same v1.0 of the block storage API.
> That is, the features are consistent across these OS releases, but they
> don't have support for volume resize.
> In our Essex OpenStack deploy we are using Ceph RBD as our block
> backend. Ceph supports volume resizing:
> I've successfully created a 1GB volume using nova volume commands and
> then resized (grown) that volume via the Ceph backend to 2GB.
> Unfortunately, Nova-volume doesn't recognize the added 1GB of space and
> still reports the volume as 1GB in size.
> In the scenario we are developing, we'd like to instantiate and track
> volumes via nova-volume so we can benefit from the OS accounting API's
> to track storage usage over time. We'd also like to be able to grow
> these volumes in place to add space for a user's block device and grow
> the file system in that container to consume the newly added space.
> Is there a way to update the recognized size of the volume in OS?
Currently the only solution for what you describe would be to update the
size in the db directly. That being said you would be much better off
writing your own custom patch/extension to do this for you in side of
OpenStack to avoid some of the impedance mismatches that you're likely to
> I would expect this to be a hack/work-around to tide us over until we
> can move to Havana some time early 2014.
> Any thoughts on how kludgey this would be and the likelihoods for
> running afoul of maintaining a sane OS environment?
> Mailing list:
> Post to : openstack at lists.openstack.org
> Unsubscribe :
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Openstack