[Gluster-devel] gluster doesn't like Oracle's FSINFO RPC call

Niels de Vos ndevos at redhat.com
Tue Apr 16 06:43:56 UTC 2013


On Mon, Apr 15, 2013 at 03:27:51PM -0400, Michael Brown wrote:
> On 13-04-15 02:23 PM, Michael Brown wrote:
> > At this point, I'm going to explore modifying the nfs3 file handle
> > glusterd is passing out to be 36 bytes long. Yeah, ugly and we shouldn't
> > have to do it, but it'll (hopefully) make it work.
> This did the trick! Obviously it isn't ideal since the sole purpose of
> doing this is to support a broken client, but this makes it work.

That was exactly the next thing I was going to suggest :) I think the 
fhandle can be different sizes though, but if it is always round-up to 
have only full blocks of 4 bytes, it should work just fine.

Could you pass the patch that you've used? I'll review and verify it 
a little too.

However, you should open a service request at Oracle to let them know 
that their DNFS client should encode the fhandle in correct XDR (with 
roundup bytes to make full 4 byte blocks).

Cheers,
Niels




More information about the Gluster-devel mailing list