Troubleshooting
Problem
Some NFS servers can require nfsd to run on a port other than 2049.
Symptom
By default, AIX NFS clients connect to nfsd port 2049.
Cause
Configure the NFS client to connect to nfsd on a port other than 2049.
Environment
AIX
Diagnosing The Problem
Steps to configure NFS client to use a different port.
Resolving The Problem
1) To mount from the AIX command line and connect to nfsd port 2048 on NFS server tcp489.
EXAMPLE:
# mount -o port=2048 <nfs server>:<exported filesystem> <nfs mount point>
-
# smitty mknfsmnt
* Pathname of mount point [/mnt4]
* Pathname of remote directory [/datafs4]
* Host where remote directory resides [tcp489]
Mount type name []
* Security method [sys]
* Mount now, add entry to /etc/filesystems or both? filesystems
* /etc/filesystems entry will mount the directory yes on system restart.
* Mode for this NFS file system read-write
* Attempt mount in foreground or background background
Number of times to attempt mount []
Buffer size for read []
Buffer size for writes []
NFS timeout. In tenths of a second []
NFS version for this NFS filesystem any
Transport protocol to use any
Internet port number for server [2048]
<...>
<enter>
-
3) Or, the command line option to update /etc/filesystems is as follows:
-
4) Check /etc/filesystems
dev = "/datafs4"
vfs = nfs
nodename = tcp489
mount = true
options = bg,hard,intr,port=2048,sec=sys
account = false
| SUPPORT |
|---|
|
If more assistance is required follow the step-by-step instructions to contact IBM to open a case for software under warranty or with an active and valid support contract. b. Capture any logs or data relevant to the situation. c. Contact IBM to open a case: -For electronic support, visit the IBM Support Community: d. Provide a good description of your issue and reference to this technote e. Upload all of the details and data to your case -You can attach files to your case in the IBM Support Community http://www.ibm.com/support/docview.wss?uid=ibm10733581 f. Click here to submit feedback for this document. |
Related Information
Was this topic helpful?
Document Information
Modified date:
29 December 2023
UID
ibm17006715