Public bug reported: Hi,
I just installed a notebook, nvme SSD 512GB, with Ubuntu 24.04, choosing the option to use the full disk, encrypted, with LVM. It correctly created a LUKS partition with an LVM volume group in it, but just a single logical volume occupying the complete remaining space in the vg, i.e. 473.9 GB. This is not just useless, because one wouldn't need LVM just for having a single logical volumen occupying the full space, it is also wrong, because the subiquity documentation at https://github.com/canonical/subiquity/blob/main/doc/reference/autoinstall-reference.rst#sizing-policy says Sizing-policy The lvm layout, by default, attempts to leave room for snapshots and further expansion. A sizing-policy key may be supplied to control this behaviour. type: string (enumeration) default: scaled Supported values are: scaled: Adjust space allocated to the root logical volume (LV) based on space available to the volume group (VG). all: Allocate all remaining VG space to the root LV. The scaling system uses the following rules: Less than 10 GiB: use all remaining space for the root file system Between 10--20 GiB: 10 GiB root file system Between 20--200 GiB: use half of the remaining space for the root file system Greater than 200 GiB: 100 GiB root file system and I can remember that this was the case with older ubuntu versions, i.e. the root lv was about 100G ** Affects: ubuntu Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2064679 Title: Ubuntu Desktop 24.04 installation: wrong lvm sizing To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/2064679/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
