On 31/05/2023 at 19:50, James Addison wrote:
On Wed, 31 May 2023 at 16:38, Cyril Brulebois <k...@debian.org> wrote:
James Addison <j...@jp-hosting.net> (2023-05-31):

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).

That's the default setting. Users who want to use e2scrub can tweak it.

The volume group allocation size can be adjusted during an interactive
install session, yep - the operator is prompted to input a size, and
the default value is the full extent of the block device (my
terminology may be a bit wonky).

Bug#651280 submitter's intent was to reserve enough free space in the VG for future LV creation or growth. This has been addressed in Buster installer so I thought this very old bug should be closed.

IMO reserving free space for e2scrub is a separate topic. Periodic execution of e2scrub is disabled by default in /etc/e2scrub.conf, so it is not unreasonable to consider that users willing to enable it should be aware of its requirements. However if you consider that guided partitioning should reserve a small amount of free space for e2scrub you may file a new bug report against partman-auto-lvm.

(the 256MiB requirement appears to static, though - it's a fixed size
for exactly one snapshot, I suppose)

The snapshot size is defined in /etc/e2scrub.conf. The actual required size must be enough to hold changes to the original LV during the check.

Reply via email to