[Bug 2086560] [NEW] lvm2 missing lvresize_fs_helper
Dan Christian
2086560 at bugs.launchpad.net
Sun Nov 3 13:54:14 UTC 2024
Public bug reported:
Ubuntu 24.10 running live from USB
I'm trying to resize some partitions so I can upgrade (because /boot needs more room)
lvresize fails with:
/usr/libexec/lvresize_fs_helper: execvp failed: No such file or directory
This appears to be that lvm2 bug 124 has not been fixed in the shipped
version. https://github.com/lvmteam/lvm2/issues/124
Log:
root at kubuntu:/home/kubuntu# lvresize --verbose --resizefs -L 922G /dev/kubuntu-vg/root
File system ext4 found on kubuntu-vg/root.
File system size (922.58 GiB) is larger than the requested size (922.00 GiB).
File system reduce is required using resize2fs.
File system fsck will be run before reduce.
Reducing file system ext4 to 922.00 GiB (989989961728 bytes) on kubuntu-vg/root...
Executing: /usr/libexec/lvresize_fs_helper --fsreduce --fstype ext4 --lvpath /dev/kubuntu-vg/root --newsizebytes 989989961728 -
-fsck
/usr/libexec/lvresize_fs_helper: execvp failed: No such file or directory
/usr/libexec/lvresize_fs_helper failed: 2
Failed to reduce file system with lvresize_fs_helper.
root at kubuntu:/home/kubuntu# lvresize --version
LVM version: 2.03.22(2) (2023-08-02)
Library version: 1.02.196 (2023-08-02)
Driver version: 4.48.0
Configuration: ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man
--infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=
${prefix}/lib/x86_64-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking --prefix=/usr --exec-pr
efix=/usr --with-usrlibdir=/usr/lib/x86_64-linux-gnu --with-optimisation=-O2 --with-cache=internal --with-device-uid=0 --with-dev
ice-gid=6 --with-device-mode=0660 --with-default-pid-dir=/run --with-default-run-dir=/run/lvm --with-default-locking-dir=/run/loc
k/lvm --with-thin=internal --with-thin-check=/usr/sbin/thin_check --with-thin-dump=/usr/sbin/thin_dump --with-thin-repair=/usr/sb
in/thin_repair --enable-applib --enable-blkid_wiping --enable-cmdlib --enable-dmeventd --enable-editline --enable-lvmlockd-dlm --
enable-lvmlockd-sanlock --enable-lvmpolld --enable-notify-dbus --enable-pkgconfig --enable-udev_rules --enable-udev_sync --enable
-write_install --disable-readline
root at kubuntu:/home/kubuntu# uname -a
Linux kubuntu 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 13:41:20 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
root at kubuntu:/home/kubuntu# cat /etc/issue
Ubuntu 24.10 \n \l
** Affects: lvm2 (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to lvm2 in Ubuntu.
https://bugs.launchpad.net/bugs/2086560
Title:
lvm2 missing lvresize_fs_helper
Status in lvm2 package in Ubuntu:
New
Bug description:
Ubuntu 24.10 running live from USB
I'm trying to resize some partitions so I can upgrade (because /boot needs more room)
lvresize fails with:
/usr/libexec/lvresize_fs_helper: execvp failed: No such file or directory
This appears to be that lvm2 bug 124 has not been fixed in the shipped
version. https://github.com/lvmteam/lvm2/issues/124
Log:
root at kubuntu:/home/kubuntu# lvresize --verbose --resizefs -L 922G /dev/kubuntu-vg/root
File system ext4 found on kubuntu-vg/root.
File system size (922.58 GiB) is larger than the requested size (922.00 GiB).
File system reduce is required using resize2fs.
File system fsck will be run before reduce.
Reducing file system ext4 to 922.00 GiB (989989961728 bytes) on kubuntu-vg/root...
Executing: /usr/libexec/lvresize_fs_helper --fsreduce --fstype ext4 --lvpath /dev/kubuntu-vg/root --newsizebytes 989989961728 -
-fsck
/usr/libexec/lvresize_fs_helper: execvp failed: No such file or directory
/usr/libexec/lvresize_fs_helper failed: 2
Failed to reduce file system with lvresize_fs_helper.
root at kubuntu:/home/kubuntu# lvresize --version
LVM version: 2.03.22(2) (2023-08-02)
Library version: 1.02.196 (2023-08-02)
Driver version: 4.48.0
Configuration: ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man
--infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=
${prefix}/lib/x86_64-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking --prefix=/usr --exec-pr
efix=/usr --with-usrlibdir=/usr/lib/x86_64-linux-gnu --with-optimisation=-O2 --with-cache=internal --with-device-uid=0 --with-dev
ice-gid=6 --with-device-mode=0660 --with-default-pid-dir=/run --with-default-run-dir=/run/lvm --with-default-locking-dir=/run/loc
k/lvm --with-thin=internal --with-thin-check=/usr/sbin/thin_check --with-thin-dump=/usr/sbin/thin_dump --with-thin-repair=/usr/sb
in/thin_repair --enable-applib --enable-blkid_wiping --enable-cmdlib --enable-dmeventd --enable-editline --enable-lvmlockd-dlm --
enable-lvmlockd-sanlock --enable-lvmpolld --enable-notify-dbus --enable-pkgconfig --enable-udev_rules --enable-udev_sync --enable
-write_install --disable-readline
root at kubuntu:/home/kubuntu# uname -a
Linux kubuntu 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 13:41:20 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
root at kubuntu:/home/kubuntu# cat /etc/issue
Ubuntu 24.10 \n \l
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/2086560/+subscriptions
More information about the foundations-bugs
mailing list