[openstack-dev] [nova] Do any hyperviors allow disk reduction as part of resize ?

Day, Phil philip.day at hp.com
Wed Jun 18 11:51:58 UTC 2014


> -----Original Message-----
> From: Richard W.M. Jones [mailto:rjones at redhat.com]
> Sent: 18 June 2014 12:32
> To: OpenStack Development Mailing List (not for usage questions)
> Subject: Re: [openstack-dev] [nova] Do any hyperviors allow disk reduction
> as part of resize ?
> 
> On Wed, Jun 18, 2014 at 11:05:01AM +0000, Day, Phil wrote:
> > > -----Original Message-----
> > > From: Russell Bryant [mailto:rbryant at redhat.com]
> > > Sent: 17 June 2014 15:57
> > > To: OpenStack Development Mailing List (not for usage questions)
> > > Subject: Re: [openstack-dev] [nova] Do any hyperviors allow disk
> > > reduction as part of resize ?
> > >
> > > On 06/17/2014 10:43 AM, Richard W.M. Jones wrote:
> > > > On Fri, Jun 13, 2014 at 06:12:16AM -0400, Aryeh Friedman wrote:
> > > >> Theoretically impossible to reduce disk unless you have some
> > > >> really nasty guest additions.
> > > >
> > > > True for live resizing.
> > > >
> > > > For "dead" resizing, libguestfs + virt-resize can do it.  Although
> > > > I wouldn't necessarily recommend it.  In almost all cases where
> > > > someone wants to shrink a disk, IMHO it is better to sparsify it instead
> (ie.
> > > > virt-sparsify).
> > >
> > > FWIW, the resize operation in OpenStack is a dead one.
> > >
> > Dead as in "not supported in V3" ?
> 
> "dead" as in not live resizing, ie. it happens only on offline disk images.
> 
> Rich.
> 
Ah, thanks.  I was thinking of "dead" as in "it is an ex-operation, it has ceased to be, ..." ;-)

There seems to be a consensus towards this being treated as an error - so I'll raise a spec.




More information about the OpenStack-dev mailing list