Source port on AIX for NAS is same?


Thread Tools Search this Thread
# 1  
Old 05-18-2018
Source port on AIX for NAS is same?

In AIX servers, for mounting NAS mount points only 1021 1022 1023 are used as source ports on more than 300 servers while destination port on storage end is 2049, is there any settings on servers where these ports are defined for mounting NAS mount points? Any body faced this scenario?

# 2  
Old 05-18-2018
Do you mean NAS? Or did you mean NFS?
This User Gave Thanks to hicksd8 For This Post:
anil1000 (05-20-2018)
# 3  
Old 05-20-2018
Yes, NAS
# 4  
Old 05-20-2018
Hmmmm....ok......can you elaborate on why you are asking this question please.

Are you trying to make a NAS accessible from a large number of servers concurrently? What problems are you facing?

Certainly mountd and lockd can be configured to use a different port but now I'm not sure that is relevant to your question.

IBM How to force mountd/lockd to use a specific port. - United States
# 5  
Old 05-21-2018
"services" is only about the destination port.
Tweaking the source port range and others But this is Linux.
In AIX might be hard coded. Some parameters are changeable with the no command.
A list of these:
no -a

This post (in this forum!) suggests the nfso command.

Last edited by MadeInGermany; 05-21-2018 at 03:54 AM..
# 6  
Old 05-29-2018
In AIX system, we face NAS issue on system.

root]df -gt
/var /data <- NAS  mount point

Not working:-
NFS is trying to mount using

in AIX , if we type "nfso -a"
we see some parameters, in which there is one which states that
nfs_use_reserved ports= 1 (use ports less than 1024)
nfs_use_reserved ports= 0(use ports more than 1024)

however keeping "0" value here does resolve the NAS issue of mounting but it is not safe as per SCD to allow NAS coomunication to happen between aix client and storage on random ports.

but when we keep 1 we face the issue as it only takes 1021 1022 1023 ports as source port for mounting.

so my question is , can we specified that only 3000 to 3020 ports be used for NAS mount points?

# 7  
Old 05-30-2018
According to this link you can add a line to /etc/environment

that will be inherited in a new login shell.
(I am not sure how/if this will spread to a "NFS mount at boot".)
I do not understand why you bother with the source ports; it does not matter at all, and usually a firewall does not have rules about source ports.

Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
How to release port on AIX? Mcipamo UNIX for Advanced & Expert Users 5 11-29-2018 03:56 PM
AIX Frame: NIC port down gps1976 AIX 1 01-22-2015 08:35 AM
XVFB Source package for AIX prathap.g AIX 3 07-16-2014 03:47 AM
Help with AIX port limit Lucas_0418 UNIX for Advanced & Expert Users 2 03-24-2014 11:11 PM
Changing source port number of a TCP client packet anuragrai134 Programming 0 03-24-2010 01:42 AM
Who's using my port in AIX tenderfoot AIX 1 03-05-2010 06:08 AM
How to compile a package in AIX when we download its source? johnveslin AIX 2 03-01-2010 06:58 PM
Compiling samba from source in AIX 5.3 raidzero AIX 4 01-18-2010 12:51 PM
AIX(VIO/LPAR) with Free NAS ISCSI solution kabir AIX 4 12-08-2009 10:09 AM
Serial port in AIX pchangba AIX 1 07-15-2009 07:04 AM
how to port a package to huge source code having its own make and compilers Gopi Krishna P UNIX for Advanced & Expert Users 1 05-29-2009 12:16 PM
Source code for serial port smartgupta Programming 0 12-16-2008 09:51 AM
How to open a port in AIX sanju_d1231 AIX 2 05-07-2008 05:38 AM
Good source of AIX Specific Scripting? dbridle AIX 3 03-15-2006 10:48 AM