Source port on AIX for NAS is same?


Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
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?

Thanks
# 2  
Do you mean NAS? Or did you mean NFS?
This User Gave Thanks to hicksd8 For This Post:
# 4  
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  
"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:
Code:
no -a

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

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

Working:-
Code:
root]df -gt
/ 
/boot
/var
10.208.108.9:/data /data <- NAS  mount point


Not working:-
Code:
/
/boot
/var
NFS is trying to mount using 10.208.108.9

in AIX , if we type "nfso -a"
we see some parameters, in which there is one which states that
Code:
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?

Thanks
# 7  
According to this link you can add a line to /etc/environment
Code:
NFS_PORT_RANGE=udp[4000-5000]:tcp[7000-8000]

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.
Login or Register to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Changing source port number of a TCP client packet
anuragrai134
Hi all, I need to change the source port number of an outgoing TCP packet. First I have to bind the socket to a particular port(suppose 9001) but when I send the TCP packet I want to change the source port number lets say to 9002 still letting the socket to be bound to the same old port (9001)....... Programming
0
Programming
AIX(VIO/LPAR) with Free NAS ISCSI solution
kabir
Hi, I was looking on Google for AIX-VIO/LPAR with ISCSI solution and found following really nice tutorial about how to setup ISCSI with free NAS. 1) Build Your Own Open Source NAS Device Using FreeNAS | Train Signal Training - Free Computer Training Videos 2) Build Your Own Open Source...... AIX
4
AIX
how to port a package to huge source code having its own make and compilers
Gopi Krishna P
In general for intalling a package like we do ./configure, make , make install But if we want to integrate the package with a huge source base what are the things to be taken care could some one have a light on purpose of ./configure , make and make install along with above question. I...... UNIX for Advanced & Expert Users
1
UNIX for Advanced & Expert Users
Source code for serial port
smartgupta
Hi, I am working with sun Solaris 5.9 and in my application,I have to communicate with Serial port(i.e /dev/term/a). So I need source code to by which I can do the following things-- 1)check the port is available or not.If it dosn't find the port,it should throw the error message(i.e. port not...... Programming
0
Programming