 |
 |
 |
 |
| Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc. |

27th January 2013, 08:16 AM
|
|
Registered User
|
|
Join Date: Mar 2008
Posts: 130

|
|
|
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.
|

28th January 2013, 11:28 AM
|
|
Registered User
|
|
Join Date: Mar 2008
Posts: 130

|
|
|
Re: Fedora 17: autofs and nfs broken
No one else is seeing this problem?
|

28th January 2013, 07:37 PM
|
 |
Registered User
|
|
Join Date: Jul 2007
Posts: 22

|
|
|
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
|

29th January 2013, 11:17 AM
|
|
Registered User
|
|
Join Date: Mar 2008
Posts: 130

|
|
|
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.
|

1st February 2013, 11:34 AM
|
 |
Registered User
|
|
Join Date: Jun 2010
Location: Italy
Posts: 45

|
|
|
Re: Fedora 17: autofs and nfs broken
Last edited by danjde; 1st February 2013 at 11:48 AM.
|

1st February 2013, 12:49 PM
|
 |
Registered User
|
|
Join Date: Jul 2007
Posts: 22

|
|
|
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.
|

1st February 2013, 07:43 PM
|
 |
Registered User
|
|
Join Date: Jun 2010
Location: Italy
Posts: 45

|
|
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 07:57 PM.
|

10th February 2013, 09:15 AM
|
 |
Registered User
|
|
Join Date: Jun 2010
Location: Italy
Posts: 45

|
|
|
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
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 16:03 (Wednesday, 22-05-2013)
|
|
 |
 |
 |
 |
|
|