Package: lvm2
Version: 2.03.22-1
Severity: normal
X-Debbugs-Cc: evgeni.dimit...@gmail.com

Dear Maintainer,

Using lvresize/lvextend/lvreduce with --resizefs (-r) produces the following 
error message:

root@debian:~# lvresize --resizefs -L+1G debian-vg/home
  Size of logical volume debian-vg/home changed from <42.76 GiB (10946 extents) 
to <43.76 GiB (11202 extents).
  File system ext4 found on debian-vg/home mounted at /home.
  Extending file system ext4 to <43.76 GiB (46984593408 bytes) on 
debian-vg/home...
  /usr/libexec/lvresize_fs_helper: execvp failed: No such file or directory
  Failed to extend file system with lvresize_fs_helper.
  File system extend error.
  Logical volume debian-vg/home successfully resized.

At that point the logical volume is extended to the requested size but the 
filesystem is not.

A somewhat non-obvious way to work-around this is to use --fs resize_fsadm 
instead of --resizefs.

More information upstream: 
https://github.com/lvmteam/lvm2/commit/264827cb98458f7100456eeebf7fdde8dcbc0ad4


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.7.7-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8), LANGUAGE not set
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.196-1
ii  dmsetup                   2:1.02.196-1
ii  libaio1                   0.3.113-5
ii  libblkid1                 2.39.3-10
ii  libc6                     2.37-15.1
ii  libdevmapper-event1.02.1  2:1.02.196-1
ii  libedit2                  3.1-20230828-1
ii  libselinux1               3.5-2
ii  libsystemd0               255.4-1
ii  libudev1                  255.4-1

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

lvm2 suggests no packages.

-- no debconf information

Reply via email to