summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-discuss/20111019/005697.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-discuss/20111019/005697.html')
-rw-r--r--zarb-ml/mageia-discuss/20111019/005697.html184
1 files changed, 184 insertions, 0 deletions
diff --git a/zarb-ml/mageia-discuss/20111019/005697.html b/zarb-ml/mageia-discuss/20111019/005697.html
new file mode 100644
index 000000000..2f8b02666
--- /dev/null
+++ b/zarb-ml/mageia-discuss/20111019/005697.html
@@ -0,0 +1,184 @@
+<!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=%3C4E9EF165.8000803%40free.fr%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="005696.html">
+ <LINK REL="Next" HREF="005698.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-discuss] Setting up NFS shares with MCC -- fixing etc/fstab</H1>
+ <B>Rama Space Ship</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=%3C4E9EF165.8000803%40free.fr%3E"
+ TITLE="[Mageia-discuss] Setting up NFS shares with MCC -- fixing etc/fstab">ramaspaceship at free.fr
+ </A><BR>
+ <I>Wed Oct 19 17:48:53 CEST 2011</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="005696.html">[Mageia-discuss] Setting up NFS shares with MCC -- fixing etc/fstab
+</A></li>
+ <LI>Next message: <A HREF="005698.html">[Mageia-discuss] Setting up NFS shares with MCC -- fixing etc/fstab
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#5697">[ date ]</a>
+ <a href="thread.html#5697">[ thread ]</a>
+ <a href="subject.html#5697">[ subject ]</a>
+ <a href="author.html#5697">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>Salut Marc,
+&gt;<i> I was just reviewing my old Mandriva posts and here is a problem with
+</I>&gt;<i> setting up NFS shares that still exists in Mageia.
+</I>&gt;<i>
+</I>&gt;<i> It would be nice if someone else could confirm and really nice if this
+</I>&gt;<i> were fixed in Mageia. It would be a lot easier for newbies to set up
+</I>&gt;<i> shares on their home machines.
+</I>&gt;<i>
+</I>&gt;<i> ==============
+</I>&gt;<i>
+</I>&gt;<i> (below copied from Mandriva post
+</I>&gt;<i> [<A HREF="http://forum.mandriva.com/en/viewtopic.php?t=113793&amp;highlight=">http://forum.mandriva.com/en/viewtopic.php?t=113793&amp;highlight=</A>]
+</I>&gt;<i>
+</I>&gt;<i> ==============
+</I>&gt;<i>
+</I>&gt;<i> I thought I would update this thread as it still applies to Mdv 2010.1
+</I>&gt;<i>
+</I>&gt;<i> I had hoped that the Mandriva team would have fixed this to make it
+</I>&gt;<i> more &quot;user friendly&quot; but here is the work-around but with more
+</I>&gt;<i> details. (I submitted and updated the bugzilla here:
+</I>&gt;<i> <A HREF="https://qa.mandriva.com/show_bug.cgi?id=52252">https://qa.mandriva.com/show_bug.cgi?id=52252</A>
+</I>&gt;<i>
+</I>&gt;<i> -------------------------
+</I>&gt;<i>
+</I>&gt;<i> I use one of my computers to serve up my mp3's to the rest of the
+</I>&gt;<i> house computers. When I do a fresh install of Mandriva and then use
+</I>&gt;<i> MCC (Mandriva Control Centre) to find/mount the NFS shares it always
+</I>&gt;<i> fails to complete the mount procedure. I then choose the &quot;End&quot; or
+</I>&gt;<i> &quot;Complete&quot; button (sorry my systems are in French -&gt; &quot;Termin&#233;&quot;), MCC
+</I>&gt;<i> writes the information to etc/fstab (however the shares still do not
+</I>&gt;<i> work).
+</I>&gt;<i>
+</I>&gt;<i> I then boot up Konsole and do the following:
+</I>&gt;<i>
+</I>&gt;<i> $su -
+</I>&gt;<i> $ (admin password)
+</I>&gt;<i> #cd ..
+</I>&gt;<i> #cd etc
+</I>&gt;<i> #kwrite fstab
+</I>&gt;<i>
+</I>&gt;<i> Once in the fstab file, I find my shares and change the computer name
+</I>&gt;<i> to its ip address (you find the computer ip address by hovering your
+</I>&gt;<i> mouse cursor over the right-hand bottom taskbar computer connections
+</I>&gt;<i> icon), save the file and then the shares are properly mounted. You can
+</I>&gt;<i> then find them in the mnt/ folders.
+</I>&gt;<i>
+</I>&gt;<i> Here is an example:
+</I>&gt;<i>
+</I>&gt;<i> ORIGINAL
+</I>&gt;<i> -----------------------------------------
+</I>&gt;<i>
+</I>&gt;<i> # Entry for /dev/sda1 :
+</I>&gt;<i> UUID=ceeb52d2-58e3-41d8-98ad-77bae3ac28bb / ext4 acl,noatime 1 1
+</I>&gt;<i> # Entry for /dev/sda6 :
+</I>&gt;<i> UUID=1ebcfab9-214a-4134-bbba-799f35396e5e /home ext4 acl,noatime 1 2
+</I>&gt;<i> /dev/cdrom /media/cdrom auto
+</I>&gt;<i> umask=0,users,iocharset=utf8,noauto,ro,exec 0 0
+</I>&gt;<i> linux-5:/home/marc/Documents/Marc/Famille/Photos /mnt/Photos nfs
+</I>&gt;<i> rsize=8192,wsize=8192,nosuid,soft 0 0
+</I>&gt;<i> linux-5:/home/marc/Telechargements /mnt/Telechargements nfs
+</I>&gt;<i> rsize=8192,wsize=8192,nosuid,soft 0 0
+</I>&gt;<i> linux-5:/home/marc/mp3 /mnt/mp3 nfs rsize=8192,wsize=8192,nosuid,soft 0 0
+</I>&gt;<i> none /proc proc defaults 0 0
+</I>&gt;<i> # Entry for /dev/sda5 :
+</I>&gt;<i> UUID=fe7e9195-d632-4a07-9e42-74ee3e7bccca swap swap defaults 0 0
+</I>&gt;<i>
+</I>&gt;<i> -----------------------------------------
+</I>&gt;<i>
+</I>&gt;<i> MODIFIED (I substituted &quot;linux-5&quot; with the computer ip address)
+</I>&gt;<i> -----------------------------------------
+</I>&gt;<i>
+</I>&gt;<i> # Entry for /dev/sda1 :
+</I>&gt;<i> UUID=ceeb52d2-58e3-41d8-98ad-77bae3ac28bb / ext4 acl,noatime 1 1
+</I>&gt;<i> # Entry for /dev/sda6 :
+</I>&gt;<i> UUID=1ebcfab9-214a-4134-bbba-799f35396e5e /home ext4 acl,noatime 1 2
+</I>&gt;<i> /dev/cdrom /media/cdrom auto
+</I>&gt;<i> umask=0,users,iocharset=utf8,noauto,ro,exec 0 0
+</I>&gt;<i> 192.168.2.4:/home/marc/Documents/Marc/Famille/Photos /mnt/Photos nfs
+</I>&gt;<i> rsize=8192,wsize=8192,nosuid,soft 0 0
+</I>&gt;<i> 192.168.2.4:/home/marc/Telechargements /mnt/Telechargements nfs
+</I>&gt;<i> rsize=8192,wsize=8192,nosuid,soft 0 0
+</I>&gt;<i> 192.168.2.4:/home/marc/mp3 /mnt/mp3 nfs
+</I>&gt;<i> rsize=8192,wsize=8192,nosuid,soft 0 0
+</I>&gt;<i> none /proc proc defaults 0 0
+</I>&gt;<i> # Entry for /dev/sda5 :
+</I>&gt;<i> UUID=fe7e9195-d632-4a07-9e42-74ee3e7bccca swap swap defaults 0 0
+</I>&gt;<i>
+</I>&gt;<i> -----------------------------------------
+</I>&gt;<i>
+</I>&gt;<i> I use my shares to serve up my mp3 collection to the other 4 Mandriva
+</I>&gt;<i> boxes in the house as well as family photos.
+</I>&gt;<i>
+</I>&gt;<i> This has been a recurring problem for the last 2-3 versions of Mandriva.
+</I>I don't have a solution for your problem, but a way to avoid it,
+together with getting the service you require.
+
+For sharing partitions, I use the automounter (autofs). I uncomment the
+&quot;/net -hosts&quot; in /etc/autofs/auto.master.
+Assume that you also do that and have the line &quot;192.168.2.4 linux-5&quot; in
+/etc/hosts.
+Then to access a remote file on linux-5, you just have to do something like:
+&quot;ls /net/linux-5/home/marc/Documents/Marc/Famille/Photos&quot; to get it
+mounted and accessible.
+In fact, any access to a file or directory named like this causes the
+mount to occur.
+You can also have links to such names to make your access simpler.
+For example (avoid the use /mnt for such things, it's confusing with
+system mounts):
+ln -s /net/linux-5/home/marc/Documents/Marc/Famille/Photos /Shares/Photos
+Accessing /Shares/Photos causes the remote mount to occur.
+
+The advantage of using the automounter is mainly that mounts are only
+done when required, and disappear when no longer in use. This highly
+reduces the risk of having stale NFS handles. As it is used by many
+people, it also works ;-)
+
+Automounting work also with local partitions, I use it also for the
+local Windows ones to avoid to have them mounted when they are not used,
+while having a transparent mount when I need to access them.
+
+Hope this helps.
+
+Bernard
+
+
+</PRE>
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="005696.html">[Mageia-discuss] Setting up NFS shares with MCC -- fixing etc/fstab
+</A></li>
+ <LI>Next message: <A HREF="005698.html">[Mageia-discuss] Setting up NFS shares with MCC -- fixing etc/fstab
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#5697">[ date ]</a>
+ <a href="thread.html#5697">[ thread ]</a>
+ <a href="subject.html#5697">[ subject ]</a>
+ <a href="author.html#5697">[ 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>