Fedora Linux Support Community & Resources Center
  #1  
Old 27th January 2013, 09:16 AM
kromberg Offline
Registered User
 
Join Date: Mar 2008
Posts: 135
linuxfirefox
Fedora 17: autofs and nfs broken

What ports are being used with autofs and nfs? If I have the firewall enable, autofs is not able to mount exported filesystems. With the firewall enabled, I am able to mount the filesystems manually fine. If I disable the firewall, autofs works as expected. When the firewall is enabled, I have nfs set as a trusted service. What other ports do I need to open up? With Fedora 16, things just worked.
Reply With Quote
  #2  
Old 28th January 2013, 12:28 PM
kromberg Offline
Registered User
 
Join Date: Mar 2008
Posts: 135
linuxfirefox
Re: Fedora 17: autofs and nfs broken

No one else is seeing this problem?
Reply With Quote
  #3  
Old 28th January 2013, 08:37 PM
lintek Offline
Registered User
 
Join Date: Jul 2007
Posts: 25
windows_xp_2003firefox
Re: Fedora 17: autofs and nfs broken

Can you show your auto.* mount files and your /etc/exports file? As root, execute netstat-ltp to view the listening ports. Execute rpminfo -p to view portmapper, nfs and mountd processes. And here's a good tutorial on NFS/Autofs configuration.

http://www.linuxhomenetworking.com/w...S#.UQbTRfI_fq4
Reply With Quote
  #4  
Old 29th January 2013, 12:17 PM
kromberg Offline
Registered User
 
Join Date: Mar 2008
Posts: 135
linuxfirefox
Re: Fedora 17: autofs and nfs broken

Looking more into it, it is an issue with autofs or nfs, but the firewall. With it disabled everything works as expected. The ports that system-config-firewall does not open the needed ports any more with Fedora 17. Autofs or nfs is using a new port that system-config-firewall does not open. This is happening on the server side. I can leave the client firewall enabled.
Reply With Quote
  #5  
Old 1st February 2013, 12:34 PM
danjde Offline
Registered User
 
Join Date: Jun 2010
Location: Italy
Posts: 45
linuxfirefox
Re: Fedora 17: autofs and nfs broken

well, i've the same problem with autofs and nfs (nfs4);
it seems a bug: https://bugzilla.redhat.com/show_bug.cgi?id=805252

and: http://rhn.redhat.com/errata/RHBA-2010-0265.html

Last edited by danjde; 1st February 2013 at 12:48 PM.
Reply With Quote
  #6  
Old 1st February 2013, 01:49 PM
lintek Offline
Registered User
 
Join Date: Jul 2007
Posts: 25
linuxfirefox
Re: Fedora 17: autofs and nfs broken

These are legit bugs but I thought the idea of using automounting was for an "as needed" mounting system. I mount cifs file systems also but not through the client machines fstab as stated in the bug report. I automount my remote cifs file systems through the use of the /etc/auto.* files (master and misc). Then when I want to use files from the remote file systems I cd to /misc/music (for example) and the file system is mounted and files are available. I use the option [--timeour=60] in the master file to make the remote file system umount if the file system is detected as idle or not in use.
Reply With Quote
  #7  
Old 1st February 2013, 08:43 PM
danjde Offline
Registered User
 
Join Date: Jun 2010
Location: Italy
Posts: 45
linuxfirefox
Smile Re: Fedora 17: autofs and nfs broken

someone of them use nfs4 with autofs successifull?

here my /etc/exports:
HTML Code:
/var/run/media/vage/BIG        192.168.1.34(rw,insecure,sync,fsid=0,no_root_squash)
here my /etc/auto.master (on client 192.168.1.34):
HTML Code:
/mnt/BIG	/etc/auto.net4 --timeout 60
here my /etc/auto.net4 (on client 192.168.1.34)

HTML Code:
BIG	-rw,soft,intr,rsize=8192,wsize=8192	192.168.1.35:/
192.168.1.35 is server ip address

here the "mount" output:
HTML Code:
/etc/auto.net4 on /mnt/BIG type autofs (rw,relatime,fd=7,pgrp=5704,timeout=60,minproto=5,maxproto=5,indirect)
and the "ls" command:

ls -l /mnt/BIG
.. (nothing)

many thanks!

Last edited by danjde; 1st February 2013 at 08:57 PM.
Reply With Quote
  #8  
Old 10th February 2013, 10:15 AM
danjde Offline
Registered User
 
Join Date: Jun 2010
Location: Italy
Posts: 45
linuxfirefox
Re: Fedora 17: autofs and nfs broken

Hi friends,
as a result of various difficulties encountered in configuring the service nfs4 on Fedora, I decided to make this tutorial:

http://www.cosmogonia.org/cosmogoniA...orial-NFS4.pdf

The language is Italian, made with LibreOffice Draw, if among you there were those who want to translate it I will be happy to provide the file sources.

ciao
Reply With Quote
Reply

Tags
autofs, broken, fedora, nfs

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
fedora 17 autofs not working jmbnyc Using Fedora 6 12th July 2012 02:37 AM
NIS and autofs clients not working on Fedora 9 HeberRdaCruz Servers & Networking 4 28th November 2008 01:53 PM
fedora 9 and autofs jmbnyc Installation, Upgrades and Live Media 2 27th May 2008 06:38 AM
Difference between fedora 6 and 7 for autofs with NIS and NFS config hiro-pon Using Fedora 0 5th April 2008 05:15 AM


Current GMT-time: 08:34 (Thursday, 18-12-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Locorotondo Photos - The Palm - Pinky Beach - Hosteria Dai Nanetti Photos