From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 4272213877A for ; Sun, 29 Jun 2014 19:34:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8B434E0B1E; Sun, 29 Jun 2014 19:34:12 +0000 (UTC) Received: from mail.linznet.at (mail.linznet.at [80.66.32.32]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3859BE0AB0 for ; Sun, 29 Jun 2014 19:34:10 +0000 (UTC) Received: (qmail 8259 invoked from network); 29 Jun 2014 19:34:06 -0000 Received: from unknown (HELO puchmayr.linznet.at) (91.142.26.35) by mail.linznet.at with ESMTPS (DHE-RSA-AES256-SHA encrypted); 29 Jun 2014 19:34:06 -0000 Received: (qmail 10013 invoked by uid 210); 29 Jun 2014 19:34:07 -0000 Received: from zeus.local by persephone (envelope-from , uid 201) with qmail-scanner-2.05st (clamdscan: 0.97.3/14948. spamassassin: 3.3.2. perlscan: 2.05st. Clear:RC:1(192.168.1.2):. Processed in 0.104225 secs); 29 Jun 2014 19:34:07 -0000 Received: from zeus.local (HELO zeus.localnet) (192.168.1.2) by smtp.local with SMTP; 29 Jun 2014 19:34:07 -0000 From: Alexander Puchmayr To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] mount.nfs stale nfs handle Date: Sun, 29 Jun 2014 21:34:07 +0200 Message-ID: <1841482.BSKeBvufbb@zeus> User-Agent: KMail/4.11.5 (Linux/3.12.21-gentoo-r1; KDE/4.11.5; x86_64; ; ) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Archives-Salt: adb2867b-2490-46c6-9fbc-27d5d43fb969 X-Archives-Hash: d3838ac0617697e73c423cd53cd5dbc3 Hi there, After upgrading my server to latest stable release of gentoo, none of my clients is able to mount any nfs share from the server anymore. Symptoms: $ mount -v -t nfs poseidon:/datadisk/ /mnt/gentoo/ mount.nfs: timeout set for Sun Jun 29 19:33:40 2014 mount.nfs: trying text-based options 'vers=4,addr=192.168.1.6,clientaddr=192.168.1.2' mount.nfs: mount(2): Protocol not supported mount.nfs: trying text-based options 'addr=192.168.1.6' mount.nfs: prog 100003, trying vers=3, prot=6 mount.nfs: trying 192.168.1.6 prog 100003 vers 3 prot TCP port 2049 mount.nfs: prog 100005, trying vers=3, prot=17 mount.nfs: trying 192.168.1.6 prog 100005 vers 3 prot UDP port 60058 mount.nfs: mount(2): Stale NFS file handle mount.nfs: trying text-based options 'vers=4,addr=192.168.1.6,clientaddr=192.168.1.2' mount.nfs: mount(2): Protocol not supported mount.nfs: trying text-based options 'addr=192.168.1.6' mount.nfs: prog 100003, trying vers=3, prot=6 mount.nfs: trying 192.168.1.6 prog 100003 vers 3 prot TCP port 2049 mount.nfs: prog 100005, trying vers=3, prot=17 mount.nfs: trying 192.168.1.6 prog 100005 vers 3 prot UDP port 60058 mount.nfs: mount(2): Stale NFS file handle [...] mount.nfs: Connection timed out $ [Poseidon is my server at 192.168.1.6, the client is at 192.168.1.2] Server disk to be exported is a ~9TB raid array with XFS. I'm using nfs3 with ACL and no idmapd; nfs4+ is not compiled into kernel (neither on client nor on server); Why it is trying nfs4 first as seen in the log above I don't know. nfs-utils has been compiled with USE=-nfsv4 Server has kernel version 3.12.21-gentoo-r1and net-fs/nfs-utils-1.2.9 installed. As both clients and server are not accessable from outside, no firewalls are installed. What I checked: /etc/exports: /datadisk 192.168.1.0/24(rw,async,subtree_check) portmapper, nfs-services are running normal, as far I can see. Does anyone have any suggestion? Thanks, Alex