1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-dev] Any progress on the NFS mount problem? - One step further
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Any%20progress%20on%20the%20NFS%20mount%20problem%3F%20-%20One%20step%0A%20further&In-Reply-To=%3C5069B63A.1080903%40kde.org%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="019081.html">
<LINK REL="Next" HREF="019098.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] Any progress on the NFS mount problem? - One step further</H1>
<B>Anne Wilson</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Any%20progress%20on%20the%20NFS%20mount%20problem%3F%20-%20One%20step%0A%20further&In-Reply-To=%3C5069B63A.1080903%40kde.org%3E"
TITLE="[Mageia-dev] Any progress on the NFS mount problem? - One step further">annew at kde.org
</A><BR>
<I>Mon Oct 1 17:26:50 CEST 2012</I>
<P><UL>
<LI>Previous message: <A HREF="019081.html">[Mageia-dev] Any progress on the NFS mount problem? - One step further
</A></li>
<LI>Next message: <A HREF="019098.html">[Mageia-dev] Any progress on the NFS mount problem? - One step further
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#19092">[ date ]</a>
<a href="thread.html#19092">[ thread ]</a>
<a href="subject.html#19092">[ subject ]</a>
<a href="author.html#19092">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Monday 01 Oct 2012 13:18:36 Guillaume Rousse wrote:
><i> Le 22/09/2012 21:16, Anne Wilson a écrit :
</I>>><i> udp 0 0 *:nfs *:*
</I>>><i>
</I>>><i> unfsd
</I>><i>
</I>><i> Ouch... You're running an obsolete alternative nfs server. You
</I>><i> should uninstall the unfs3 package, and this package should get
</I>><i> removed
</I>from
><i> the distribution.
</I>><i>
</I>><i> To summarize, here are the mandatory steps: - check you have
</I>><i> nfs-utils-clients installed on clients - check you have
</I>><i> nfs-utils-clients and nfs-utils installed on server - check
</I>><i> rpcbind, and nfs-common services are running on clients - check
</I>><i> rpcbind, nfs-common and nfs-server services are running on
</I>the
><i> server
</I>><i>
</I>Not sure of the command-line for checking things that don't respond to
"service whatever status", but MCC says all those services are running
on the server. However -
><i> Once done, check with rpcinfo -s <address> what is actually running
</I>><i>
</I>on
><i> each host.
</I>><i>
</I>That looks worrying!
[<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">root at borg2</A> ~]# rpcinfo -s 192.168.0.40 ##The nfs server
program version(s) netid(s) service owner
100000 2,3,4 local,udp,tcp portmapper
superuser
100024 1 tcp,udp status
superuser
100021 4,3,1 tcp,udp nlockmgr
superuser
[<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">root at borg2</A> ~]#
[<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">root at borg2</A> ~]# rpcinfo -s 192.168.0.20
program version(s) netid(s) service owner
100000 2,3,4 local,udp,tcp,udp6,tcp6 portmapper
superuser
100024 1 tcp6,udp6,tcp,udp status
superuser
100021 4,3,1 tcp6,udp6,tcp,udp nlockmgr
superuser
100003 4,3,2 udp6,tcp6,udp,tcp nfs
superuser
100227 3,2 udp6,tcp6,udp,tcp nfs_acl
superuser
100005 3,2,1 tcp6,udp6,tcp,udp mountd
superuser
I did try an experimental export on the laptop (.20) but it looks as
though there are real problems on the server. I wonder whether auto-
orphans is responsible for this, as it was when I lost my X-server. I
don't normally use it, but did, immediately after the big update
following my holiday.
><i> Now, to ensure usage of NFSv4 instead of obsolete NFSv3: - check
</I>><i> every host is configured to run rpc.idmapd, meaning NEED_IDMAPD=yes
</I>><i> in /etc/sysconfig/nfs-common
</I>
Done
><i> - check your server export a root filesystem, using fsid=0 options
</I>><i> in its /etc/exports configuration file
</I>
Added that - how do I tell it to ignore the old exports and act on
those in /etc/exports? I can't find my notes about that.
><i> - drop all your legacy nfs options, such as wsize and rsize from
</I>><i> your mount options
</I>><i>
</I>Done - the lines now match the working QNAS mounts, eg
192.168.0.40:/home /mnt/borg2/home nfs user,timeo-14 0 0
><i> Last, you'd better use autofs to mount those filesystems on
</I>><i> demand, rather than hardcoding them in /etc/fstab, which avoid to
</I>><i> relies on server availability during the boot.
</I>
Replace nfs with autofs in those lines?
Thanks for working with me on this
Anne
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - <A HREF="http://enigmail.mozdev.org/">http://enigmail.mozdev.org/</A>
iEYEARECAAYFAlBptjIACgkQj93fyh4cnBdLZQCfUioJUoxcXxE7eV1zX28JWI1z
JwgAniQi41H7o6wiNroq77dvYcEERLjk
=FMcO
-----END PGP SIGNATURE-----
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="019081.html">[Mageia-dev] Any progress on the NFS mount problem? - One step further
</A></li>
<LI>Next message: <A HREF="019098.html">[Mageia-dev] Any progress on the NFS mount problem? - One step further
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#19092">[ date ]</a>
<a href="thread.html#19092">[ thread ]</a>
<a href="subject.html#19092">[ subject ]</a>
<a href="author.html#19092">[ author ]</a>
</LI>
</UL>
<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
mailing list</a><br>
</body></html>
|