All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Sandeen <sandeen@sandeen.net>
To: Richard Ems <Richard.Ems@cape-horn-eng.com>
Cc: xfs@oss.sgi.com
Subject: Re: xfs_growfs: XFS_IOC_FSGROWFSDATA xfsctl failed: Invalid argument
Date: Sat, 23 May 2009 10:50:24 -0500	[thread overview]
Message-ID: <4A181B40.9080608@sandeen.net> (raw)
In-Reply-To: <4A180FCD.9080905@cape-horn-eng.com>

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?

> 
> 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@xxxxxxxxxxx <sandeen@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@xxxxxxxxxxx>
>     Reviewed-by: Christoph Hellwig <hch@xxxxxx>
>     Signed-off-by: Lachlan McIlroy <lachlan@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...


> 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.

-Eric

> Or am I hitting another error?
> 
> Thanks, Richard
> 
> 

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

  reply	other threads:[~2009-05-23 15:50 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-23 15:01 xfs_growfs: XFS_IOC_FSGROWFSDATA xfsctl failed: Invalid argument Richard Ems
2009-05-23 15:50 ` Eric Sandeen [this message]
2009-05-23 16:07   ` richard.ems
2009-05-23 17:35     ` Eric Sandeen
2009-05-23 17:45       ` richard.ems
2009-05-23 18:47         ` Eric Sandeen
2009-05-23 19:25           ` Eric Sandeen
2009-05-25  9:54             ` Richard Ems
2009-06-01 14:32             ` Richard Ems

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A181B40.9080608@sandeen.net \
    --to=sandeen@sandeen.net \
    --cc=Richard.Ems@cape-horn-eng.com \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.