xfs_growfs: XFS_IOC_FSGROWFSDATA xfsctl failed: Invalid argument
richard.ems at cape-horn-eng.com
richard.ems at cape-horn-eng.com
Sat May 23 11:07:21 CDT 2009
Quoting Eric Sandeen <sandeen at sandeen.net>:
> Richard Ems wrote:
>> Hi list,
>>
>> I'm getting the error "xfs_growfs: XFS_IOC_FSGROWFSDATA xfsctl failed:
>> Invalid argument" while trying to grow an XFS partition.
>>
>> This is on openSUSE 11.1 64 bit, with xfsprogs-2.10.2-3.1 from
>> http://download.opensuse.org/repositories/filesystems/openSUSE_11.1/x86_64/xfsprogs-2.10.2-3.1.x86_64.rpm
>
> The compat handlers should only matter if you're using 32 bit userspace
> with a 64 bit kernel...
>
> Are you certain that your xfsprogs userspace is 64-bit?
Yes.
c3m:~ # type -a xfs_growfs
xfs_growfs is /usr/sbin/xfs_growfs
c3m:~ # file /usr/sbin/xfs_growfs
/usr/sbin/xfs_growfs: ELF 64-bit LSB executable, x86-64, version 1
(SYSV), for GNU/Linux 2.6.4, dynamically linked (uses shared libs),
not stripped
>
>>
>> This error is the same or looks similar to the one reported some months
>> ago at http://oss.sgi.com/archives/xfs/2009-02/msg00028.html .
>>
>> There is apparently a fix for it, see
>> http://oss.sgi.com/archives/xfs/2008-12/msg01794.html :
>>
>> *********************************************************
>> commit 471d59103167c84f17b9bcfee22ed10b44ff206e
>> Author: sandeen at xxxxxxxxxxx <sandeen at xxxxxxxxxxx>
>> Date: Tue Nov 25 21:20:10 2008 -0600
>>
>> [XFS] Add compat handlers for data & rt growfs ioctls
>>
>> The args for XFS_IOC_FSGROWFSDATA and XFS_IOC_FSGROWFSRTA
>> have padding on the end on intel, so add arg copyin functions,
>> and then just call the growfs ioctl helpers.
>>
>> Signed-off-by: Eric Sandeen <sandeen at xxxxxxxxxxx>
>> Reviewed-by: Christoph Hellwig <hch at xxxxxx>
>> Signed-off-by: Lachlan McIlroy <lachlan at xxxxxxx>
>> *********************************************************
>>
>> I tried different 2.6.27 versions, one 2.6.29 and one 2.6.30-rc6
>> version, all gave the same error, check
>> https://bugzilla.novell.com/show_bug.cgi?id=506361 for the different
>> kernel versions and errors.
>
> I don't see in that bug where you tested .29 or .30, or what the results
> were...
Sorry, I wrote a 2nd comment into bugzilla but forgot to submit it 8( .
Now it's there, please check again (
https://bugzilla.novell.com/show_bug.cgi?id=506361#c1 ) .
>
>
>> Is this fix still not included in Linus / openSUSE trees?
>
> As for Linus' tree, AFAIK everything works; I can't speak to what SuSE has.
So the Vanilla kernel I tried should have this fix included, is it
then a new bug?
Thanks, Richard
--
Richard Ems mail: Richard.Ems at Cape-Horn-Eng.com
Cape Horn Engineering S.L.
C/ Dr. J.J. Dómine 1, 5º piso
46011 Valencia
Tel : +34 96 3242923 / Fax 924
http://www.cape-horn-eng.com
More information about the xfs
mailing list