2008-08-26 21:12:20

by Scott Atchley

[permalink] [raw]
Subject: Unusual FSINFO

Hi all,

I am working on a new RPC XPRT for Myrinet Express (MX). I am unable
to complete a mount request. It fails for one of two causes.

1. Client's request fails with ESTALE

This happens when the server tries to authenticate the client's UNIX
credentials. The first svc_athenticate(1) succeeds, and the second
reports:

svc: svc_authenticate (1)
RPC: Want update, refage=120, age=0
svc: calling dispatcher
nfsd_dispatch: vers 3 proc 19
nfsd: FSINFO(3) 12: 00000001 0000fd00 00380001 00000000 00000000
00000000
nfsd: fh_verify(12: 00000001 0000fd00 00380001 00000000 00000000
00000000)
RPC: Want update, refage=120, age=0
found domain -test-client-
found fsidtype 0
found fsid length 8
Path seems to be <>
revisit queued

The only place I can find -test-client- in in exportfs.c. I am at a
loss as to how it ends up here.

2. Client's request fails with EACCESS

I believe this is actually a RPC_AUTH_BADCRED issue on the server that
is returned to the client, which converts it to EACCESS in client.c.

I am still trying to diagnose both cases and I would entertain any
suggestions. ;-)

Thanks,

Scott


--
Scott Atchley
Myricom Inc.
http://www.myri.com




2008-09-04 11:47:07

by Scott Atchley

[permalink] [raw]
Subject: Re: Unusual FSINFO

Argh, I had deleted svc_xprt_set_remote() assuming it was useful for
xprtsock only. I did not realize that svcauth_unix.c would want the
peer's IP address. :-P

Scott

On Aug 26, 2008, at 5:12 PM, Scott Atchley wrote:

> Hi all,
>
> I am working on a new RPC XPRT for Myrinet Express (MX). I am unable
> to complete a mount request. It fails for one of two causes.
>
> 1. Client's request fails with ESTALE
>
> This happens when the server tries to authenticate the client's UNIX
> credentials. The first svc_athenticate(1) succeeds, and the second
> reports:
>
> found domain -test-client-
> found fsidtype 0
> found fsid length 8
> Path seems to be <>
> revisit queued