Grow the root partition on boot

Peter Robinson pbrobinson at gmail.com
Fri Jan 4 15:26:00 UTC 2013


On Fri, Jan 4, 2013 at 9:22 AM, Juerg Haefliger <juergh at gmail.com> wrote:
> On Sun, Dec 23, 2012 at 1:21 PM, Matthew Miller
> <mattdm at fedoraproject.org> wrote:
>> On Sat, Dec 22, 2012 at 08:16:39PM +0100, Juerg Haefliger wrote:
>>> > On Fri, Dec 21, 2012 at 10:25:07AM +0100, Juerg Haefliger wrote:
>>> >> I have a need for the growroot feature that comes with cloud-utils and
>>> >> cloud-initramfs-tools. I've noticed that these packages don't exist in
>>> >> Fedora/EPEL and was wondering if there are any specific reasons for
>>> >> that?
>>> > The cloud-init package in F18 includes this. I'm not sure about EPEL.
>>> I'm not seeing it in F18's cloud-init
>>> (cloud-init-0.7.1-2.fc18.noarch). Maybe I didn't make myself clear
>>> enough and we're talking about different things. What I'm looking for
>>> is the initramfs script that enlarges the root partition to the
>>> maximum possible size during first boot so that cloud-init can later
>>> grow the root filesystem.
>>
>> Ah -- no, I think we may just be missing that. On the road now -- will look
>> later when I have better internet.
>
> FYI, I started to build a package. Hope it will be useful :-)

We have a package that does this that we built for ARM images to do
exactly the same thing on varying sized SD cards etc. It's called
rootfs-resize and patches are welcome if it doesn't quite meet your
needs.

Peter


More information about the cloud mailing list