Bug#651280: don't allocate all available disk space in standard LVM partioning scheme
Package: debian-installer
Followup-For: Bug #651280
X-Debbugs-Cc: debian-boot@lists.debian.org, skirpichev@gmail.com
Control: severity -1 serious
After the changes made to address bug #924301 (mountpoints for ext[n]
filesystems that have insufficient free blocks are not automatically checked
for faults), I think that this bug could be considered more serious.
The disk space required for e2scrub[1] snapshots is 256MiB and the default
allocation for LVM (encrypted or unecrypted) in the bookworm RC4 installer
is 100% (same as originally reported here in Y2011).
One-of-two potentially-relevant looking source code areas is https://sources.debian.org/src/partman-auto-lvm/91/lib/auto-lvm.sh/
And the second-of-the-two is https://sources.debian.org/src/partman-partitioning/147/lib/resize.sh/?hl=144#L135
[1] - https://manpages.debian.org/bullseye/e2fsprogs/e2scrub.8.en.html
Reply to: