summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-discuss/20111023/005743.html
blob: cdf9f1a7957a59fbf74b78a89fb15e8b021e4393 (plain)
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&#233;</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	&quot;Secure Boot&quot;
</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 &#233;crit :
&gt;<i> Hello Marc,
</I>&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> If you add the &lt;host name&gt;/&lt;IP address&gt; mapping using the
</I>&gt;&gt;&gt;<i> MCC/Network/&lt;Host definitions&gt; and don't modify by hand the fstab file,
</I>&gt;&gt;&gt;<i> does it work or not?
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;<i> Yes, I tried:
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> IP address: 192.168.2.2
</I>&gt;&gt;<i> Host name: MarcComputer
</I>&gt;&gt;<i> Host Aliases: MarcComputer
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> The only problem with this is that when the router is re-set the IP
</I>&gt;&gt;<i> addresses may change unless you have setup static IP addresses.
</I>&gt;<i> Using the IP address in fstab has the same limitation.
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> When the NFS used to work, you did not have to go through these steps.
</I>&gt;&gt;<i> The process would find the NFS servers and set up the shares and fstab
</I>&gt;&gt;<i> by itself. It no longer does that and the average user would not know
</I>&gt;&gt;<i> to set up host definitions etc.
</I>&gt;<i> My question was not to provide a workaround, but to help identify where
</I>&gt;<i> the problem is.
</I>
Sorry if it sounded like I was picking on your statements, it was not 
intended to sound like this.

&gt;<i> It seems that you have a name resolution problem, not a NFS problem. If
</I>&gt;<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.

&gt;<i> - the setting of NFS shares uses &quot;linux-5&quot; as remote hostname (question
</I>&gt;<i> to an expert: how does the tool find this name?)
</I>&gt;<i> - but &quot;linux-5&quot; is not found as a remote host (question to Marc: is
</I>&gt;<i> &quot;linux-5.local&quot; found as a remote host, e.g. can you ping linux-5.local?)
</I>&gt;<i> If your remote host is named &quot;linux-5&quot;, &quot;linux-5.local&quot; should work as
</I>&gt;<i> it should be published by the ZeroConf mechanism (avahi).
</I>&gt;<i>
</I>&gt;<i> So if this works, the best workaround could be to use &quot;linux-5.local&quot; in
</I>&gt;<i> the fstab file as it does not depend on static IP addresses.
</I>&gt;<i>
</I>&gt;<i> The fix would be that the setting of NFS shares uses ZeroConf hostnames.
</I>&gt;<i>
</I>&gt;&gt;<i> Somehow, the setting up of NFS shares and fstab was broken in older
</I>&gt;&gt;<i> versions of Mdv and never fixed.
</I>&gt;<i> It was probably broken when the ZeroConf mechanism was used, as the
</I>&gt;<i> hostnames got &quot;.local&quot; appended.
</I>&gt;<i>
</I>&gt;<i> Regards.
</I>&gt;<i>
</I>&gt;<i> Bernard
</I>&gt;<i>
</I>&gt;<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	&quot;Secure Boot&quot;
</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>