diff options
Diffstat (limited to 'zarb-ml/mageia-discuss/20111019/005697.html')
-rw-r--r-- | zarb-ml/mageia-discuss/20111019/005697.html | 184 |
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, +><i> I was just reviewing my old Mandriva posts and here is a problem with +</I>><i> setting up NFS shares that still exists in Mageia. +</I>><i> +</I>><i> It would be nice if someone else could confirm and really nice if this +</I>><i> were fixed in Mageia. It would be a lot easier for newbies to set up +</I>><i> shares on their home machines. +</I>><i> +</I>><i> ============== +</I>><i> +</I>><i> (below copied from Mandriva post +</I>><i> [<A HREF="http://forum.mandriva.com/en/viewtopic.php?t=113793&highlight=">http://forum.mandriva.com/en/viewtopic.php?t=113793&highlight=</A>] +</I>><i> +</I>><i> ============== +</I>><i> +</I>><i> I thought I would update this thread as it still applies to Mdv 2010.1 +</I>><i> +</I>><i> I had hoped that the Mandriva team would have fixed this to make it +</I>><i> more "user friendly" but here is the work-around but with more +</I>><i> details. (I submitted and updated the bugzilla here: +</I>><i> <A HREF="https://qa.mandriva.com/show_bug.cgi?id=52252">https://qa.mandriva.com/show_bug.cgi?id=52252</A> +</I>><i> +</I>><i> ------------------------- +</I>><i> +</I>><i> I use one of my computers to serve up my mp3's to the rest of the +</I>><i> house computers. When I do a fresh install of Mandriva and then use +</I>><i> MCC (Mandriva Control Centre) to find/mount the NFS shares it always +</I>><i> fails to complete the mount procedure. I then choose the "End" or +</I>><i> "Complete" button (sorry my systems are in French -> "Terminé"), MCC +</I>><i> writes the information to etc/fstab (however the shares still do not +</I>><i> work). +</I>><i> +</I>><i> I then boot up Konsole and do the following: +</I>><i> +</I>><i> $su - +</I>><i> $ (admin password) +</I>><i> #cd .. +</I>><i> #cd etc +</I>><i> #kwrite fstab +</I>><i> +</I>><i> Once in the fstab file, I find my shares and change the computer name +</I>><i> to its ip address (you find the computer ip address by hovering your +</I>><i> mouse cursor over the right-hand bottom taskbar computer connections +</I>><i> icon), save the file and then the shares are properly mounted. You can +</I>><i> then find them in the mnt/ folders. +</I>><i> +</I>><i> Here is an example: +</I>><i> +</I>><i> ORIGINAL +</I>><i> ----------------------------------------- +</I>><i> +</I>><i> # Entry for /dev/sda1 : +</I>><i> UUID=ceeb52d2-58e3-41d8-98ad-77bae3ac28bb / ext4 acl,noatime 1 1 +</I>><i> # Entry for /dev/sda6 : +</I>><i> UUID=1ebcfab9-214a-4134-bbba-799f35396e5e /home ext4 acl,noatime 1 2 +</I>><i> /dev/cdrom /media/cdrom auto +</I>><i> umask=0,users,iocharset=utf8,noauto,ro,exec 0 0 +</I>><i> linux-5:/home/marc/Documents/Marc/Famille/Photos /mnt/Photos nfs +</I>><i> rsize=8192,wsize=8192,nosuid,soft 0 0 +</I>><i> linux-5:/home/marc/Telechargements /mnt/Telechargements nfs +</I>><i> rsize=8192,wsize=8192,nosuid,soft 0 0 +</I>><i> linux-5:/home/marc/mp3 /mnt/mp3 nfs rsize=8192,wsize=8192,nosuid,soft 0 0 +</I>><i> none /proc proc defaults 0 0 +</I>><i> # Entry for /dev/sda5 : +</I>><i> UUID=fe7e9195-d632-4a07-9e42-74ee3e7bccca swap swap defaults 0 0 +</I>><i> +</I>><i> ----------------------------------------- +</I>><i> +</I>><i> MODIFIED (I substituted "linux-5" with the computer ip address) +</I>><i> ----------------------------------------- +</I>><i> +</I>><i> # Entry for /dev/sda1 : +</I>><i> UUID=ceeb52d2-58e3-41d8-98ad-77bae3ac28bb / ext4 acl,noatime 1 1 +</I>><i> # Entry for /dev/sda6 : +</I>><i> UUID=1ebcfab9-214a-4134-bbba-799f35396e5e /home ext4 acl,noatime 1 2 +</I>><i> /dev/cdrom /media/cdrom auto +</I>><i> umask=0,users,iocharset=utf8,noauto,ro,exec 0 0 +</I>><i> 192.168.2.4:/home/marc/Documents/Marc/Famille/Photos /mnt/Photos nfs +</I>><i> rsize=8192,wsize=8192,nosuid,soft 0 0 +</I>><i> 192.168.2.4:/home/marc/Telechargements /mnt/Telechargements nfs +</I>><i> rsize=8192,wsize=8192,nosuid,soft 0 0 +</I>><i> 192.168.2.4:/home/marc/mp3 /mnt/mp3 nfs +</I>><i> rsize=8192,wsize=8192,nosuid,soft 0 0 +</I>><i> none /proc proc defaults 0 0 +</I>><i> # Entry for /dev/sda5 : +</I>><i> UUID=fe7e9195-d632-4a07-9e42-74ee3e7bccca swap swap defaults 0 0 +</I>><i> +</I>><i> ----------------------------------------- +</I>><i> +</I>><i> I use my shares to serve up my mp3 collection to the other 4 Mandriva +</I>><i> boxes in the house as well as family photos. +</I>><i> +</I>><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 +"/net -hosts" in /etc/autofs/auto.master. +Assume that you also do that and have the line "192.168.2.4 linux-5" in +/etc/hosts. +Then to access a remote file on linux-5, you just have to do something like: +"ls /net/linux-5/home/marc/Documents/Marc/Famille/Photos" 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> |