[Bug 1935969] Re: Ubuntu 20.04.2 LTS installer crash when letting the system determine size of additional LV

Michael Hudson-Doyle 1935969 at bugs.launchpad.net
Sun Sep 26 23:22:30 UTC 2021


Thanks for the crash file and sorry for the slow response. From the
crash file:

   Volume group "ubuntu-vg" has insufficient free space (6271 extents):
6272 required.

We are only off by one! I think the lesson here is that we need to be
more careful about LV sizes, this code is basically assuming one can
take the size of the VG, divide it by two and create two LVs of that
size but that's not really true, you can only create LVs whose size is a
multiple of the extent size, which is by default 4MiB (and subiquity
does not allow controlling this).

** Changed in: subiquity (Ubuntu)
       Status: New => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to subiquity in Ubuntu.
https://bugs.launchpad.net/bugs/1935969

Title:
  Ubuntu 20.04.2 LTS installer crash when letting the system determine
  size of additional LV

Status in subiquity package in Ubuntu:
  Triaged

Bug description:
  Tested on VMware ESXi 6.5/6.7

  Trying to install a VM using the graphical installer and using i.e. a
  60GB disk, letting the system autoprovision the required partitions
  naturally creates a VG on the entire disk, and an LV of roughly 50% of
  the VG size. If you then create a secondary LV on the same VG and do
  not fill in the size of the LV, the system should claim all remaining
  space. However, this causes the installer to crash, not instantly, but
  a few seconds after having confirmed the partition layout (when you
  are on the user creation part of the install).

  Lowering the size of the additional LV by as little as ~500MB solves
  the issue and the installer runs just fine through everything.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1935969/+subscriptions




More information about the foundations-bugs mailing list