It looks like this issue is fixed on Ubuntu 20.04 but a similar issue persists if `lvresize --resizefs` is called within a init-premount script (even though lvresize and fsadm copied via coy_exec). ``` /sbin/fsadm: execvp failed: No such file or directory Filesystem check failed.
exit code 5. ``` -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to lvm2 in Ubuntu. https://bugs.launchpad.net/bugs/174032 Title: lvresize fails attempting to call fsadm with --resizefs parameter Status in lvm2 package in Ubuntu: Confirmed Bug description: Binary package hint: lvm2 System information: uname -a Linux tardbook 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686 GNU/Linux (Ubuntu Gutsy with all updates.) Package version: dpkg -l | grep lvm ii lvm2 2.02.26-1ubuntu4 The Linux Logical Volume Manager To reproduce the error: lvresize --verbose --resizefs --size +1036 /dev/usb_vg/testvol1 Finding volume group usb_vg Executing: fsadm check /dev/usb_vg/testvol1 (null) fsadm: execlp failed: No such file or directory fsadm failed: 2 Workaround: Remove the --resizefs parameter and as a second step use resize2fs or ext2prepare and ext2fsresize to modify the file system. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/174032/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp