root filesystem resizeing at boot time

seth vidal skvidal at fedoraproject.org
Fri May 3 14:20:10 UTC 2013


On Fri, 3 May 2013 09:24:09 -0400 (EDT)
Attila Fazekas <afazekas at redhat.com> wrote:

> Hi All,
> 
> Openstack is able to boot the same image with different disk sizes.
> The instance's disk size is depends on the selected flavor type.
> With the default flavor types you can have 20Gib(m1.small), 40Gib
> (m1.medium), 80Gib (m1.large), 160 GiB (m1.xlarge) Disk sizes.
> 
> I am looking for an OpenStack friendly Fedora image which is able to
> utilize all space on the first disk(vda), without any additional
> manual steps. The file system should be ready for use before I login
> to the instance.
> 
> According to this presentation
> http://www.slideshare.net/openstack/os-summit-portlandimages, the
> best time for resizing the file systems is at the initrd time.
> 
> All Fedora jeos images I tried so far just uses maximum 10 GiB even
> on a 160 GiB disk after the first boot. I would like to use the same
> image for all disk sizes.
> 
> Do you know about a working auto-resize capable Fedora Image ?
> 

There is a package called cloud-utils-initramfs which does this in the
initramfs.
https://bugzilla.redhat.com/show_bug.cgi?id=916087

it should be trickling in and I hope will be into the imgs soon.

does this help?

-sv




More information about the cloud mailing list