yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #92021
[Bug 1732064] Re: growpart + resizefs doesn't support non-root partions
Tracked in Github Issues as https://github.com/canonical/cloud-
init/issues/3056
** Bug watch added: github.com/canonical/cloud-init/issues #3056
https://github.com/canonical/cloud-init/issues/3056
** Changed in: cloud-init
Status: Confirmed => Expired
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1732064
Title:
growpart + resizefs doesn't support non-root partions
Status in cloud-init:
Expired
Bug description:
Image is ubuntu 16.04, cloud-init version is 0.7.9 and platform is
openstack
The volume has three partitions
/dev/vda1 ---- /
/dev/vda2 ---- swap
/dev/vda3 ---- /var
I'm using cloud-init growpart config as follows:
growpart:
mode: auto
devices: ["/var"]
ignore_growroot_disabled:true
after boot,
check the partition with fdisk -l /dev/vda3 shows the part is extended as expected,
but the df -lh shows that the fs size is still old size and not extended.
after manually execute resize2fs /dev/vda3, the output of df matched
with fdisk。
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1732064/+subscriptions
References