[Openstack] Root disk resize down

Remo Mattei Remo at Italy1.com
Wed Feb 10 01:23:23 UTC 2016


Resize down on drives is a nono! CPU and ram that can be done 

My 2 cents. 

Remo 

Inviato da iPhone

> Il giorno 09 feb 2016, alle ore 16:09, Chris Buccella <chris.buccella at verilume.com> ha scritto:
> 
> I don't think it's possible, or at least I haven't been able to resize down for disk. 
> 
> It isn't the size of the image that matters, but the virtual size of the disk. If the flavor's disk is 10GB, and the image is 2GB, cloud-init will try to expand the file system to the full 10GB on boot. That would prevent resizing down to a flavor with a smaller disk size, even if you only have a couple gigs of data on the disk.
> 
> I think the ceph driver disallows resizing down out of an abundance of caution; it's too likely that data could be lost.
> 
> 
> -Chris
> 
>> On Tue, Feb 9, 2016 at 6:00 AM, Mārtiņš Jakubovičs <martins-lists at hostnet.lv> wrote:
>> Hello,
>> 
>> I can't find documentation about this.
>> Is it possible to resize instance down when use CEPH as storage?
>> Right now I try to resize down and I receive error:
>> 
>> Flavor's disk is too small for requested image. Flavor disk is 42949672960 bytes, image is 21474836480 bytes.
>> 
>> OS Liberty,
>> Ubuntu 14.04 x64,
>> CEPH 0.94.5
>> 
>> _______________________________________________
>> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>> Post to     : openstack at lists.openstack.org
>> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> 
> !DSPAM:1,56ba829b256051035217590!
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> 
> 
> !DSPAM:1,56ba829b256051035217590!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160209/3e155a08/attachment.html>


More information about the Openstack mailing list