Gentoo Archives: gentoo-user

From: Alexander Puchmayr <alexander.puchmayr@×××××××.at>
To: gentoo-user@l.g.o
Subject: [gentoo-user] mount.nfs stale nfs handle
Date: Sun, 29 Jun 2014 19:34:21
Message-Id: 1841482.BSKeBvufbb@zeus
1 Hi there,
2
3 After upgrading my server to latest stable release of gentoo, none of my
4 clients is able to mount any nfs share from the server anymore.
5
6 Symptoms:
7 $ mount -v -t nfs poseidon:/datadisk/ /mnt/gentoo/
8 mount.nfs: timeout set for Sun Jun 29 19:33:40 2014
9 mount.nfs: trying text-based options
10 'vers=4,addr=192.168.1.6,clientaddr=192.168.1.2'
11 mount.nfs: mount(2): Protocol not supported
12 mount.nfs: trying text-based options 'addr=192.168.1.6'
13 mount.nfs: prog 100003, trying vers=3, prot=6
14 mount.nfs: trying 192.168.1.6 prog 100003 vers 3 prot TCP port 2049
15 mount.nfs: prog 100005, trying vers=3, prot=17
16 mount.nfs: trying 192.168.1.6 prog 100005 vers 3 prot UDP port 60058
17 mount.nfs: mount(2): Stale NFS file handle
18 mount.nfs: trying text-based options
19 'vers=4,addr=192.168.1.6,clientaddr=192.168.1.2'
20 mount.nfs: mount(2): Protocol not supported
21 mount.nfs: trying text-based options 'addr=192.168.1.6'
22 mount.nfs: prog 100003, trying vers=3, prot=6
23 mount.nfs: trying 192.168.1.6 prog 100003 vers 3 prot TCP port 2049
24 mount.nfs: prog 100005, trying vers=3, prot=17
25 mount.nfs: trying 192.168.1.6 prog 100005 vers 3 prot UDP port 60058
26 mount.nfs: mount(2): Stale NFS file handle
27 [...]
28 mount.nfs: Connection timed out
29 $
30
31 [Poseidon is my server at 192.168.1.6, the client is at 192.168.1.2]
32
33 Server disk to be exported is a ~9TB raid array with XFS.
34
35 I'm using nfs3 with ACL and no idmapd; nfs4+ is not compiled into kernel
36 (neither on client nor on server); Why it is trying nfs4 first as seen in the
37 log above I don't know. nfs-utils has been compiled with USE=-nfsv4
38
39 Server has kernel version 3.12.21-gentoo-r1and net-fs/nfs-utils-1.2.9
40 installed. As both clients and server are not accessable from outside, no
41 firewalls are installed.
42
43 What I checked:
44 /etc/exports:
45 /datadisk 192.168.1.0/24(rw,async,subtree_check)
46
47 portmapper, nfs-services are running normal, as far I can see.
48
49 Does anyone have any suggestion?
50
51 Thanks,
52 Alex

Replies

Subject Author
Re: [gentoo-user] mount.nfs stale nfs handle Neil Bothwick <neil@××××××××××.uk>
Re: [gentoo-user] mount.nfs stale nfs handle Joost Roeleveld <joost@××××××××.org>
Re: [gentoo-user] mount.nfs stale nfs handle [SOLVED] Alexander Puchmayr <alexander.puchmayr@×××××××.at>