public inbox for linux-nfs@vger.kernel.org
 help / color / mirror / Atom feed
* Error mounting FC8 NFS server with 2.6.31-rc3 NFSv4 client.
@ 2009-07-20 21:43 Ben Greear
  2009-07-20 23:02 ` Ben Greear
  0 siblings, 1 reply; 26+ messages in thread
From: Ben Greear @ 2009-07-20 21:43 UTC (permalink / raw)
  To: linux-nfs

I tried mounting an NFS server running FC8 (2.6.26.8-57.fc8 kernel)
using a Fedora 11 system running an un-patched 2.6.31-rc3 64-bit kernel.

I am not sure at all that the FC8 system is set up to handle NFSv4 properly, but
I was expecting some sort of useful error if that was the case.

Instead, I get this continually spewing to /var/log/messages:

Error: state manager failed on NFSv4 server 192.168.100.6 with error 2
Error: state manager failed on NFSv4 server 192.168.100.6 with error 2
Error: state manager failed on NFSv4 server 192.168.100.6 with error 2
Error: state manager failed on NFSv4 server 192.168.100.6 with error 2
...

On the file-server, I see this:
Jul 19 04:47:59 fs2 kernel: nfs4_cb: server 192.168.100.196 not responding, timed out
Jul 19 04:49:29 fs2 kernel: nfs4_cb: server 192.168.100.196 not responding, timed out
Jul 19 04:49:29 fs2 ntpd[2585]: kernel time sync status change 0001
Jul 19 04:50:59 fs2 kernel: nfs4_cb: server 192.168.100.196 not responding, timed out


I added some debug patches (on top of my other patches, including those to nfs)
and got some debug info:

It seems that nfs4_init_clientid is returning -2, and establish_clid is returning
-2.  This causes reclaim lease logic to fail, and that causes state manager to print
out the error repeatedly.  -2 means ENOENT.


As far as I can tell, the mount never completes, staying in D state and filling up
logs (I deleted a 16GB /var/log/messages file a few minutes ago!)

The mount command I'm trying is:
mount -t nfs4 192.168.100.6:/export/tmp /mnt/lf/nfs4-0


My kernel config is found here:
http://www.candelatech.com/oss/i7_config.txt


Thanks,
Ben


-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com


^ permalink raw reply	[flat|nested] 26+ messages in thread
[parent not found: <4A64EB1F.4000602@candelatech.com>]

end of thread, other threads:[~2009-07-22 22:26 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-20 21:43 Error mounting FC8 NFS server with 2.6.31-rc3 NFSv4 client Ben Greear
2009-07-20 23:02 ` Ben Greear
     [not found] <4A64EB1F.4000602@candelatech.com>
2009-07-21 12:15 ` Trond Myklebust
     [not found]   ` <1248178527.5222.0.camel-rJ7iovZKK19ZJLDQqaL3InhyD016LWXt@public.gmane.org>
2009-07-21 16:49     ` Ben Greear
2009-07-21 17:12       ` Trond Myklebust
     [not found]         ` <1248196339.21343.8.camel-rJ7iovZKK19ZJLDQqaL3InhyD016LWXt@public.gmane.org>
2009-07-21 17:36           ` Ben Greear
2009-07-21 17:59             ` Trond Myklebust
     [not found]               ` <1248199140.21343.17.camel-rJ7iovZKK19ZJLDQqaL3InhyD016LWXt@public.gmane.org>
2009-07-21 18:01                 ` Ben Greear
2009-07-21 18:28                   ` Trond Myklebust
     [not found]                     ` <1248200897.21343.19.camel-rJ7iovZKK19ZJLDQqaL3InhyD016LWXt@public.gmane.org>
2009-07-21 18:32                       ` Ben Greear
2009-07-21 18:54                         ` Trond Myklebust
     [not found]                           ` <1248202462.21343.21.camel-rJ7iovZKK19ZJLDQqaL3InhyD016LWXt@public.gmane.org>
2009-07-21 19:57                             ` Frans Pop
2009-07-21 21:17                         ` Trond Myklebust
     [not found]                           ` <1248211050.21343.38.camel-rJ7iovZKK19ZJLDQqaL3InhyD016LWXt@public.gmane.org>
2009-07-21 21:48                             ` Trond Myklebust
     [not found]                               ` <1248212939.5034.1.camel-rJ7iovZKK19ZJLDQqaL3InhyD016LWXt@public.gmane.org>
2009-07-21 21:50                                 ` Ben Greear
2009-07-22 19:49                             ` Andy Adamson
2009-07-22 20:20                               ` Trond Myklebust
     [not found]                                 ` <1248294013.5234.35.camel-rJ7iovZKK19ZJLDQqaL3InhyD016LWXt@public.gmane.org>
2009-07-22 21:32                                   ` Andy Adamson
2009-07-22 21:47                                     ` Trond Myklebust
     [not found]                                       ` <1248299236.9202.3.camel-rJ7iovZKK19ZJLDQqaL3InhyD016LWXt@public.gmane.org>
2009-07-22 22:03                                         ` Andy Adamson
2009-07-22 22:17                                           ` Trond Myklebust
     [not found]                                             ` <1248301062.9202.11.camel-rJ7iovZKK19ZJLDQqaL3InhyD016LWXt@public.gmane.org>
2009-07-22 22:26                                               ` Andy Adamson
2009-07-21 19:23                       ` Frans Pop
     [not found]                         ` <200907212123.08790.elendil-EIBgga6/0yRmR6Xm/wNWPw@public.gmane.org>
2009-07-21 19:54                           ` Trond Myklebust
2009-07-21 20:24                             ` Frans Pop
2009-07-21 17:49       ` Frans Pop

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox