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

Richard W.M. Jones rjones at redhat.com
Wed Jun 18 11:32:17 UTC 2014


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.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html



More information about the OpenStack-dev mailing list