On Sat, Nov 21, 2015 at 12:26:20PM +0200, Fathi Boudra wrote: > Subject: resize2fs: Invalid argument While checking for on-line resizing > support > Package: e2fsprogs > Version: 1.43~WIP-2015-05-18-1 > Severity: normal > > Dear Maintainer, > > Using latest resize2fs 1.43-WIP (18-May-2015), but same behavior is > observed on Jessie package. > > I've run a session (see attachment) on a board with 8G eMMC: > 1. resizing partition works fine, it expands as expected > 2. resizing the filesystem fails > > resize2fs: Invalid argument While checking for on-line resizing support > resize2fs: Invalid argument While trying to add group #25
What architecture and kernel version were you using this on? I'm not sure how you got the first error message since the code looks like this: if ((errno != ENOTTY) && (errno != EINVAL)) { if (errno == EPERM) com_err(program_name, 0, _("Permission denied to resize filesystem")); else com_err(program_name, errno, _("While checking for on-line resizing " "support")); exit(1); } So if errno is EINVAL, it shouldn't have gotten here. The only thing I can think of is if you are using a 32-bit binary on a 64-bit kernel, or some such, and there was more than one error code that would result in "Invalid argument" getting printed. - Ted