root filesystem resizeing at boot time

Attila Fazekas afazekas at redhat.com
Fri May 3 13:24:09 UTC 2013


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 ?

Best Regards,
Attila


More information about the cloud mailing list