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
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-discuss] Setting up NFS shares with MCC -- fixing etc/fstab
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20Setting%20up%20NFS%20shares%20with%20MCC%20--%20fixing%0A%09etc/fstab&In-Reply-To=%3Cj8194m%24lsh%241%40dough.gmane.org%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="005742.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-discuss] Setting up NFS shares with MCC -- fixing etc/fstab</H1>
<B>Marc Paré</B>
<A HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20Setting%20up%20NFS%20shares%20with%20MCC%20--%20fixing%0A%09etc/fstab&In-Reply-To=%3Cj8194m%24lsh%241%40dough.gmane.org%3E"
TITLE="[Mageia-discuss] Setting up NFS shares with MCC -- fixing etc/fstab">marc at marcpare.com
</A><BR>
<I>Sun Oct 23 16:42:29 CEST 2011</I>
<P><UL>
<LI>Previous message: <A HREF="005742.html">[Mageia-discuss] FSF Campaign against Microsoft's Plan to Enforce "Secure Boot"
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#5743">[ date ]</a>
<a href="thread.html#5743">[ thread ]</a>
<a href="subject.html#5743">[ subject ]</a>
<a href="author.html#5743">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Hi Bernard
Le 2011-10-22 07:02, Rama Space Ship a écrit :
><i> Hello Marc,
</I>>><i>
</I>>>><i> If you add the <host name>/<IP address> mapping using the
</I>>>><i> MCC/Network/<Host definitions> and don't modify by hand the fstab file,
</I>>>><i> does it work or not?
</I>>>><i>
</I>>><i> Yes, I tried:
</I>>><i>
</I>>><i> IP address: 192.168.2.2
</I>>><i> Host name: MarcComputer
</I>>><i> Host Aliases: MarcComputer
</I>>><i>
</I>>><i> The only problem with this is that when the router is re-set the IP
</I>>><i> addresses may change unless you have setup static IP addresses.
</I>><i> Using the IP address in fstab has the same limitation.
</I>>><i>
</I>>><i> When the NFS used to work, you did not have to go through these steps.
</I>>><i> The process would find the NFS servers and set up the shares and fstab
</I>>><i> by itself. It no longer does that and the average user would not know
</I>>><i> to set up host definitions etc.
</I>><i> My question was not to provide a workaround, but to help identify where
</I>><i> the problem is.
</I>
Sorry if it sounded like I was picking on your statements, it was not
intended to sound like this.
><i> It seems that you have a name resolution problem, not a NFS problem. If
</I>><i> I take the fstab file you use when starting that thread:
</I>
Yup, the NFS is rock solid once it is set in fstab correctly.
><i> - the setting of NFS shares uses "linux-5" as remote hostname (question
</I>><i> to an expert: how does the tool find this name?)
</I>><i> - but "linux-5" is not found as a remote host (question to Marc: is
</I>><i> "linux-5.local" found as a remote host, e.g. can you ping linux-5.local?)
</I>><i> If your remote host is named "linux-5", "linux-5.local" should work as
</I>><i> it should be published by the ZeroConf mechanism (avahi).
</I>><i>
</I>><i> So if this works, the best workaround could be to use "linux-5.local" in
</I>><i> the fstab file as it does not depend on static IP addresses.
</I>><i>
</I>><i> The fix would be that the setting of NFS shares uses ZeroConf hostnames.
</I>><i>
</I>>><i> Somehow, the setting up of NFS shares and fstab was broken in older
</I>>><i> versions of Mdv and never fixed.
</I>><i> It was probably broken when the ZeroConf mechanism was used, as the
</I>><i> hostnames got ".local" appended.
</I>><i>
</I>><i> Regards.
</I>><i>
</I>><i> Bernard
</I>><i>
</I>><i>
</I>
Yes, all of this seems to make sense. Is there a way to test this or
should it be put to the bugzilla? Is this considered an easy fix?
Cheers,
Marc
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="005742.html">[Mageia-discuss] FSF Campaign against Microsoft's Plan to Enforce "Secure Boot"
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#5743">[ date ]</a>
<a href="thread.html#5743">[ thread ]</a>
<a href="subject.html#5743">[ subject ]</a>
<a href="author.html#5743">[ author ]</a>
</LI>
</UL>
<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-discuss">More information about the Mageia-discuss
mailing list</a><br>
</body></html>
|