+1 for pointing out the correct solution about this problem!

Just to write down for future reference that after installing dracut-modules-growroot

I had to rebuild the initramfs using dracut --force in order for it to work.

Best regards,

George


Thanks gustavo,its working now :)

On Thu, Jan 15, 2015 at 4:38 PM, gustavo panizzo (gfa)
<[email protected]> wrote:


On 01/15/2015 07:05 PM, mad Engineer wrote:

Thanks gustavo,
                         i have epel configured,through which i
installed cloud-utils and utils-growpart but not able to find
"dracut-modules-growroot " is it part of some other rpm?

no

$ yum info dracut-modules-growroot

Installed Packages
Name        : dracut-modules-growroot
Arch        : noarch
Version     : 0.20
Release     : 2.el6
Size        : 43 k
Repo        : installed
From repo   : epel
Summary     : Automatically resize the root partition on first boot
URL         :

https://launchpad.net/ubuntu/saucy/+source/cloud-initramfs-tools/0.20ubuntu1/+files/cloud-initramfs-tools_0.20ubuntu1.tar.gz
License     : GPLv3
Description : This dracut module will re-write the partition table of a disk
so that the
: root partition has as much space as possible, bumping it up to
the edge of the
            : disk, or the edge of the next partition.

sorry i can't help you more, i'm not a rpm guy but i assure you that's what
you need



On Thu, Jan 15, 2015 at 4:04 PM, gustavo panizzo (gfa) <[email protected]>
wrote:



On 01/15/2015 06:28 PM, mad Engineer wrote:


i have
cloud-utils.x86_64
cloud-init.x86_64
cloud-utils-growpart.x86_64 installed
i think the other is for debian distros as i can not find in yum
repos.I am using centos6.6.

One strange thing is if i restart instance after creating,its
working,But not during the first boot.


yeah, you need dracut-modules-growroot

it comes from epel repo


after install (in your golde image), rebuild your /boot/initramfs
mkinitrd
is your friend ,not as good friend as update-initramfs but still a
friend.


the old kernel that comes with centos 6 is to blame


--
1AE0 322E B8F7 4717 BDEA BF1D 44BB 1BA7 9F6C 6333


--
1AE0 322E B8F7 4717 BDEA BF1D 44BB 1BA7 9F6C 6333

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : [email protected]
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : [email protected]
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to