← Back to team overview

cloud-init-dev team mailing list archive

growpart fails on Fedora

 

All,

I have an issue with the growpart/growroot scripts on Fedora 20. The problem is that after growroot resized the root partition (in initramfs), systemd automatically re-mounts it and then growroot croaks because it can't remount root (again). This makes me wonder why we're running growoot after root has been mounted (and right before we pivot to the real root) and not before? I'm sure there must be a reason...

Also, Fedora is using the cloud-initramfs-tools growroot package in their (non-cloud) ARM images to resize root on first boot. With newer kernels and an updated partx we don't have to do this in the initramfs anymore and I believe Scott moved the functionality into cloud-init. I'm wondering if we should split it out completely into a new, separate package, that simply resizes the root partition and the filesystem. Basically decoupling it from the cloud stuff for use cases as mentioned above.

Thoughts?

...Juerg



Follow ups