Re: Error writing to nfs4 with 3.11-rc1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2013-07-17 at 21:35 +0200, Andre Heider wrote:
> On Wed, Jul 17, 2013 at 9:10 PM, Chuck Lever <chuck.lever@xxxxxxxxxx> wrote:
> >
> > On Jul 17, 2013, at 2:55 PM, Andre Heider <a.heider@xxxxxxxxx> wrote:
> >
> >> Hi,
> >>
> >> I'm having problems using 3.11-rc1 as nfs4 client (with a FreeBSD 9.1
> >> server) using sec=sys.
> >>
> >> With the same server+client setup, just booting different kernels:
> >> 3.9.10 works without issues
> >> 3.10.1 works too, but introduced "RPC: AUTH_GSS upcall timed out." in
> >> dmesg (iirc I don't need gss with sec=sys)
> >
> > Not a requirement, but running gssd should make that message go away.  The client is attempting to use krb5i to manage its lease on the server, and falling back to AUTH_UNIX when it sees gssd is not running.
> >
> >> 3.11-rc1 reading from the server still works, writing fails
> >>
> >> Even a simple touch on the share fails with:
> >> touch: cannot touch ‘/mnt/andre/test’: Input/output error
> >
> > A network capture is a reasonable place to start.
> >
> >   # tcpdump -s0 -w /tmp/raw
> >
> > Then try your touch test again.  Stop the tcpdump.  You can post a compressed version of the raw dump here if it's short.
> 
> Attached two dumps, one from 3.10 (works) and one from 3.11 (doesn't work).

The FreeBSD server is returning NFS4ERR_ATTRNOTSUPP to the OPEN, despite
the fact that we're requesting the same attributes in both cases. I'll
bet it is the fact that we send a bitmap of 3 words instead of 2.

This is a problem: the Linux client clearly has the spec on its side,
and the FreeBSD server is wrong to reject a 3 word bitmap, as long as
we're not requesting any actual attributes that it doesn't support.
According to the spec, we could send a bitmap of any length we like.

On the other hand, we have a situation where something used to work, and
now doesn't. Please check out the 2 patches I just sent out, and see if
they help.


-- 
Trond Myklebust
Linux NFS client maintainer

NetApp
Trond.Myklebust@xxxxxxxxxx
www.netapp.com
��.n��������+%������w��{.n�����{��w���jg��������ݢj����G�������j:+v���w�m������w�������h�����٥





[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux