Package: lvm2
Version: 2.03.16-2
Severity: normal
Tags: d-i patch

Dear Maintainer,

Whilst attempting to resize some LVM on LUKS partitions using
lvreduce/lvextend from the current Debian 11 installer in rescue mode,
I received the following error when using the `-r` option to resize the
underlying filesystem:

# lvreduce -L -10G -r -v /dev/foo/home
    Finding volume group foo
    Executing: fsadm check /dev/foo/home (null)
  fsadm: execlp failed: No such file or directory

The same error was received when running lvextend to grow LVs into the
freed space.

lvresize, lvreduce, and lvextend all support the `-r` option to resize
the underlying filesystem when resizing the logical volume. With fsadm
missing from the Debian installer, this will fail.

Merge request here: https://salsa.debian.org/lvm-team/lvm2/-/merge_requests/5

Thanks!

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (700, 'testing'), (600, 'unstable'), (400, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.0.0-6-amd64 (SMP w/24 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages lvm2 depends on:
ii  dmeventd                   2:1.02.185-2
ii  dmsetup                    2:1.02.185-2
ii  libaio1                    0.3.113-3
ii  libblkid1                  2.38.1-4
ii  libc6                      2.36-8
ii  libdevmapper-event1.02.1   2:1.02.185-2
ii  libedit2                   3.1-20221030-2
ii  libselinux1                3.4-1+b4
ii  libsystemd0                252.4-1
ii  libudev1                   252.4-1
ii  lsb-base                   11.5
ii  sysvinit-utils [lsb-base]  3.06-2

Versions of packages lvm2 recommends:
pn  thin-provisioning-tools  <none>

lvm2 suggests no packages.

-- no debconf information

Reply via email to