[Bug 1947311] Re: Unexpected partition growth on first boot on impish for raspberry pi

Scott Moser 1947311 at bugs.launchpad.net
Wed Feb 16 16:01:31 UTC 2022


> I thought cloud-initramfs-growroot was solely used with old kernels that can't resize mounted
> filesystems but I could be wrong. Wondering though why we install that package all of a sudden.

that is another option, to remove cloud-initramfs-growroot from the image/initrd.
The problem with that is that you're then relying on cloud-init to grow the rootfs, and if you
disable cloud-init you don't get the grow.

I'm not exactly sure what the purpose of these images is.

-- 
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