[Bug 2027857] Re: package initramfs-tools 0.142ubuntu2 failed to install/upgrade due to boot zpool space consumption (snapshots)
Benjamin Drung
2027857 at bugs.launchpad.net
Mon Jul 17 09:47:51 UTC 2023
Thank you for taking the time to report this bug and helping to make
Ubuntu better. Your df log says:
Filesystem 1K-blocks Used Available Use% Mounted on
rpool/ROOT/ubuntu_jrhcdu 52991360 13630720 39360640 26% /
bpool/BOOT/ubuntu_jrhcdu 594304 594048 256 100% /boot
That are only 580 MiB for the /boot partition.
I did a test installation of ubuntu-22.04.2-desktop-amd64.iso in a VM
with a 20 GiB disk. I left everything as default except selecting to use
ZFS. That resulted in:
Filesystem 1K-blocks Used Available Use% Mounted on
rpool/ROOT/ubuntu_0uy6cf 15004928 4374912 10630016 30% /
bpool/BOOT/ubuntu_0uy6cf 851200 285184 566016 34% /boot
So 831 MiB is still less than 1 GiB. Re-assigning to the installer.
** Package changed: initramfs-tools (Ubuntu) => ubiquity (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/2027857
Title:
package initramfs-tools 0.142ubuntu2 failed to install/upgrade due to
boot zpool space consumption (snapshots)
Status in ubiquity package in Ubuntu:
New
Bug description:
Using ZFS on Ubuntu, configured with the default options for bpool in
the installer for (I think 22.04) the kernel upgrade process often
seems to fail building initrd due to running out of space. This is due
to zfs snapshots.
I'm not sure this is a bug in itself, however I think it is a problem
that the process fails quite regularly with this configuration which
does seem like something that could be handled better to avoid this
situation.
I do think the installer should create a larger bpool and I would do
that manually if I re-installed. Only allocating ~2G given the size of
modern drives seems much too small to me.
No LSB modules are available.
Description: Ubuntu 23.04
Release: 23.04
initramfs-tools:
Installed: 0.142ubuntu2
Candidate: 0.142ubuntu2
Version table:
*** 0.142ubuntu2 500
500 http://gb.archive.ubuntu.com/ubuntu lunar/main amd64 Packages
500 http://gb.archive.ubuntu.com/ubuntu lunar/main i386 Packages
100 /var/lib/dpkg/status
ProblemType: Package
DistroRelease: Ubuntu 23.04
Package: initramfs-tools 0.142ubuntu2
ProcVersionSignature: Ubuntu 6.2.0-24.24-generic 6.2.12
Uname: Linux 6.2.0-24-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.26.1-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: pass
Date: Sat Jul 15 15:20:21 2023
ErrorMessage: installed initramfs-tools package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2022-12-23 (204 days ago)
InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
PackageArchitecture: all
Python3Details: /usr/bin/python3.11, Python 3.11.2, python3-minimal, 3.11.2-1
PythonDetails: N/A
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageVersions:
dpkg 1.21.21ubuntu1
apt 2.6.0
SourcePackage: initramfs-tools
Title: package initramfs-tools 0.142ubuntu2 failed to install/upgrade: installed initramfs-tools package post-installation script subprocess returned error exit status 1
UpgradeStatus: Upgraded to lunar on 2023-06-24 (21 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/2027857/+subscriptions
More information about the foundations-bugs
mailing list