Unexpected partition growth on first boot on impish for raspberry pi
Bug #1947311 reported by
Noah
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
linux-raspi (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
ubuntu-image (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
ubuntu-meta (Ubuntu) |
Fix Released
|
Undecided
|
Dave Jones |
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
Related branches
~waveform/ubuntu-seeds:fix-growpart-platform
Merged
into
~ubuntu-core-dev/ubuntu-seeds/+git/platform:jammy
at
revision bc294406d470483e99bc6f3f5cf1c674b1ad38a7
- Łukasz Zemczak: Approve
-
Diff: 12 lines (+0/-1)1 file modifiedraspi-common (+0/-1)
~waveform/ubuntu-seeds:fix-growpart-ubuntu
Merged
into
~ubuntu-core-dev/ubuntu-seeds/+git/ubuntu:jammy
at
revision 07837c4d0a5700218de9eab5786b7c0af4b0cda5
- Łukasz Zemczak: Approve
-
Diff: 30 lines (+8/-0)2 files modifieddesktop-raspi (+4/-0)
server-raspi (+4/-0)
summary: |
- Cloud init ignores growpart off on impish for raspberry pi + Unexpected partition growth on impish for raspberry pi |
summary: |
- Unexpected partition growth on impish for raspberry pi + Unexpected partition growth on first boot on impish for raspberry pi |
Changed in cloud-init (Ubuntu): | |
status: | New → Incomplete |
tags: | added: fr-2147 |
Changed in ubuntu-meta (Ubuntu): | |
status: | New → Fix Committed |
Changed in ubuntu-meta (Ubuntu): | |
status: | Fix Committed → Fix Released |
Changed in ubuntu-image (Ubuntu): | |
status: | New → Invalid |
To post a comment you must log in.
Thank you for filing a bug and making cloud-init and Ubuntu better. Can you run `sudo cloud-init collect-logs` and attach that tarfile to this bug for ease of triage? Note that cloud-init collect-logs potentially grabs user-data. If you have sensitive credentials defined in your user-data, please check and redact as necessary.