antonio
2024-04-10 06:10:01 UTC
Reply
PermalinkVersion: 2.03.22-1+b1
Severity: normal
X-Debbugs-Cc: ***@gmail.com
Dear Maintainer,
when I resize a logical volume I get this error:
$ lvreduce --resizefs --size -5G /dev/system/test
File system ext4 found on system/test.
File system size (80,00 GiB) is larger than the requested size (76,00 GiB).
File system reduce is required using resize2fs.
File system fsck will be run before reduce.
Reducing file system ext4 to 76,00 GiB (81604378624 bytes) on system/test...
/usr/libexec/lvresize_fs_helper: execvp failed: File o directory non
esistente
Failed to reduce file system with lvresize_fs_helper.
this issue is noted here:
https://github.com/lvmteam/lvm2/issues/124
https://github.com/lvmteam/lvm2/blob/main/scripts/lvresize_fs_helper.sh
because file missing:
/usr/libexec/lvresize_fs_helper
I solved it by downloading the file:
sudo wget
https://raw.githubusercontent.com/lvmteam/lvm2/main/scripts/lvresize_fs_helper.sh
-O /usr/libexec/lvresize_fs_helper
sudo chmod +x /usr/libexec/lvresize_fs_helper
can you include this file in the package?
Thanks,
Antonio
-- System Information:
Debian Release: trixie/sid
APT prefers unstable
APT policy: (700, 'unstable'), (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable'), (100, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 6.8.4-2-liquorix-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE=it
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages lvm2 depends on:
ii dmeventd 2:1.02.196-1+b1
ii dmsetup 2:1.02.196-1+b1
ii libaio1t64 0.3.113-8
ii libblkid1 2.40-5
ii libc6 2.37-16
ii libdevmapper-event1.02.1 2:1.02.196-1+b1
ii libedit2 3.1-20230828-1
ii libselinux1 3.5-2+b2
ii libsystemd0 255.4-1+b1
ii libudev1 255.4-1+b1
Versions of packages lvm2 recommends:
ii thin-provisioning-tools 0.9.0-2
lvm2 suggests no packages.
-- debconf information excluded