-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jan Engelhardt wrote:
On Dec 27 2006 15:40, Kenneth Schneider wrote:
grep nfs /etc/services reveals:
nfs 2049/tcp # Network File System - Sun Microsystems nfs 2049/udp # Network File System - Sun Microsystems
so you need to open port 2049 both tcp and udp
Plus portmap (111) mountd (dynamic, only with repeated effort made static) and whatnot. It's what makes NFS suck.
Right, you have to open
- - portmap (111)
- - nfs (2049)
- - some port where you want to run mountd on [1]
[1] you must also configure mountd (on the NFS server) to always use the
same port -- that can be achieved by setting
MOUNTD_PORT="2222"
(or whatever port) in /etc/sysconfig/nfs
(and rcnfsserver restart after changing that file)
On the client side, tell the NFS mount to use that port, by setting the
"mountport=...." option in /etc/fstab, e.g.
nfsserver:/some/export/dir /some/local/mountpoint nfs \
tcp,mountport=2222,rsize=8192,wsize=8192,retry=10,bg,soft 0 0
cheers
- --
-o) Pascal Bleser http://linux01.gwdg.de/~pbleser/
/\\