Grow the root partition on boot

Nux! nux at li.nux.ro
Sat Dec 22 19:20:53 UTC 2012


On 22.12.2012 19:16, Juerg Haefliger wrote:
> On Fri, Dec 21, 2012 at 2:05 PM, Matthew Miller
> <mattdm at fedoraproject.org> 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.
>
> ...Juerg

Juerg,

I don't believe cloud-init supports this. How I work around it is run 
fdisk from initrd and expand the partition and fs.

-- 
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


More information about the cloud mailing list