Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with lvresize: /usr/libexec/lvresize_fs_helper: execvp failed: No such file or directory #124

Closed
franalbani opened this issue Aug 11, 2023 · 2 comments

Comments

@franalbani
Copy link

franalbani commented Aug 11, 2023

I'm on Arch Linux, and since some recent update (maybe ) I'm unable to shrink a volume because /usr/libexec/lvresize_fs_helper is missing.

$ lvresize -L -1G --resizefs /dev/volgroup/vol
  File system ext4 found on volgroup/vol.
  File system size (14.00 GiB) is larger than the requested size (13.00 GiB).
  File system reduce is required using resize2fs.
  File system fsck will be run before reduce.
  Reducing file system ext4 to 13.00 GiB (13958643712 bytes) on volgroup/vol...
  /usr/libexec/lvresize_fs_helper: execvp failed: No such file or directory
  Failed to reduce file system with lvresize_fs_helper.

Arch Linux does not use /usr/libexec so this may be a packaging problem, but I can't find lvresize_fs_helper anywhere

$ find / -iname "*lvresize_fs_helper*" | wc -l
0

Rolling back to the previous version (2.03.21-1) solved the problem.

I've also opened https://bugs.archlinux.org/task/79352 just in case.

@eworm-de
Copy link
Contributor

A make install_lvm2 does not include make install_libexec. I think it should, so opened #125.

Still unsure why this pops up with 2.03.22-1, but was fine in 2.03.21-1. Neither of both includes lvresize_fs_helper.

@zkabelac
Copy link
Contributor

Resolved with your patch, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants