2007-04-16 20:36:34

by Terry Spaulding

[permalink] [raw]
Subject: setting up NFS and autofs to use specific ports for nfs, lockd, mountd, etc .....


Can anyone provide me the steps necessary to set the NFS server and NFS
clients to use specific ports for nfs(nfsd) , lockd, mountd. I am trying to
setup my server and client to have these ports set at boot time. This is so
I can request the specific ports to be open thru the Firewalls for the
servers and the clients.

Any assistance or direction to doc would be greatly appreciated.

My servers are both SLES8 and SLES9 SP3. Clients are all SLES9 SP3.

My SLES9 Server (kernel 2.6.5-7.276-s390x #1 SMP Mon Jul 24 10:45:31 UTC
2006 s390x s390x s390x GNU/Linux) :
# rpcinfo -p
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100227 3 udp 2049 nfs_acl
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100227 3 tcp 2049 nfs_acl
100024 1 udp 32773 status
100021 1 udp 32773 nlockmgr
100021 3 udp 32773 nlockmgr
100021 4 udp 32773 nlockmgr
100024 1 tcp 32843 status
100021 1 tcp 32843 nlockmgr
100021 3 tcp 32843 nlockmgr
100021 4 tcp 32843 nlockmgr
100005 1 udp 630 mountd
100005 1 tcp 631 mountd
100005 2 udp 630 mountd
100005 2 tcp 631 mountd
100005 3 udp 630 mountd
100005 3 tcp 631 mountd

My SLES8 server (kernel 2.4.21-251-default #1 SMP Sun Sep 26 14:07:15 UTC
2004 s390 unknown) :
# rpcinfo -p
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100021 1 udp 1024 nlockmgr
100021 3 udp 1024 nlockmgr
100021 4 udp 1024 nlockmgr
100021 1 tcp 1967 nlockmgr
100021 3 tcp 1967 nlockmgr
100021 4 tcp 1967 nlockmgr
100005 1 udp 1027 mountd
100005 1 tcp 1968 mountd
100005 2 udp 1027 mountd
100005 2 tcp 1968 mountd
100005 3 udp 1027 mountd
100005 3 tcp 1968 mountd

TIA ....................

Regards,
Terry L. Spaulding
IBM
[email protected]

"The third-rate mind is only happy when it is thinking with the majority.
The second-rate mind is only happy when it is thinking with the minority.
The first-rate mind is only happy when it is thinking." -- A.A. Milne
(1882-1956)


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs