[Openstack] initramfs-growroot or LVM

Pádraig Brady P at draigBrady.com
Fri Feb 8 10:53:57 UTC 2013


On 02/08/2013 08:55 AM, Davide Guerri wrote:
> Hi all,
> I'm preparing some cloud images for the major Linux distributions and I'd like they to grow their root fs on boot (to use all the available space).
>
> Ubuntu cloud images (http://cloud-images.ubuntu.com) use initramfs-growroot but installing it (and maintaining it across kernel upgrade) could be tricky -at least for me- on redhat derived like centos or fedora.

Note cloud-utils (including growroot) is currently in review for Red Hat flavored distros:
https://bugzilla.redhat.com/show_bug.cgi?id=907756

> So my question is: what are pros and cons of using an ext3/4 root-fs and initramfs-growroot, or LVM (with a custom script that runs on first boot)?

LVM might be a bit heavy weight for this?

cheers,
Pádraig.




More information about the Openstack mailing list