From: Ben Greear Subject: Error mounting FC8 NFS server with 2.6.31-rc3 NFSv4 client. Date: Mon, 20 Jul 2009 14:43:25 -0700 Message-ID: <4A64E4FD.9080902@candelatech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed To: linux-nfs@vger.kernel.org Return-path: Received: from mail.candelatech.com ([208.74.158.172]:44481 "EHLO ns3.lanforge.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754173AbZGTWsB (ORCPT ); Mon, 20 Jul 2009 18:48:01 -0400 Received: from [192.168.100.195] (firewall.candelatech.com [70.89.124.249]) (authenticated bits=0) by ns3.lanforge.com (8.14.2/8.14.2) with ESMTP id n6KLhPx5012196 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 20 Jul 2009 14:43:26 -0700 Sender: linux-nfs-owner@vger.kernel.org List-ID: 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 Candela Technologies Inc http://www.candelatech.com