lvresize fails attempting to call fsadm with --resizefs parameter
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lvm2 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
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_
Finding volume group usb_vg
Executing: fsadm check /dev/usb_
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.
On Tue, Dec 04, 2007 at 10:46:22PM -0000, R. Denison wrote: vg/testvol1
> lvresize --verbose --resizefs --size +1036 /dev/usb_
It's a long story, but --resizefs is still not yet supported upstream.
The good news is that someone sent me a reasonable-looking patch today
and there's a good chance this will be available upstream in the next
week or so.
Alasdair
--
<email address hidden>