[Bug 1947311] Re: Unexpected partition growth on first boot on impish for raspberry pi
Noah
1947311 at bugs.launchpad.net
Thu Feb 17 04:09:56 UTC 2022
Thanks for looking into this!
I was hoping to create an IoT package that was agnostic of which device
I deploy it on to, and cloud-init is great for this because it gives me
a universal API for provisioning that's supposed to work across all
ubuntu flavors and even other distros...
So for example, what might one day deployed to a Raspberry Pi, might be
tomorrow deployed to an Intel board, or a RiskV board... My user-data
script would pull in Docker and Docker would take care of the platform
agnostic fetching of images.. (eg, ARM or Intel)
With this in mind it would be great to fix cloud-init...
I've been going round in circles trying to find the package list where
cloud-initramfs-growroot has been added to... I tried looking in
https://github.com/snapcore/pi-gadget but I think that's only for
ubuntu-core and not the preinstalled server images..
Does anyone have ideas?
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-image in Ubuntu.
https://bugs.launchpad.net/bugs/1947311
Title:
Unexpected partition growth on first boot on impish for raspberry pi
Status in cloud-init package in Ubuntu:
Incomplete
Status in linux-raspi package in Ubuntu:
Invalid
Status in ubuntu-image package in Ubuntu:
New
Bug description:
Hi,
On Raspberry Pi since Impish, the partition always grows even if I set
the following in user-data of cloud-init.
growpart:
mode: off
devices: ['/']
I have tested this on 21.04, and it works, but is broken on 21.10.
(partition always grows)
I've also tested this in KVM on amd64, and it works (partition does
NOT grow).
This is a problem for me because I am using runcmd in cloud init to
migrate my drive to LVM/LUKS, and the partitioning step fails because
the drive is already full.
Cheers,
Noah
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1947311/+subscriptions
More information about the foundations-bugs
mailing list