User Tools

Site Tools


aix:aix_nfsv4

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
aix:aix_nfsv4 [2023/10/10 14:00]
manu [Performance]
aix:aix_nfsv4 [2024/02/26 09:43] (current)
manu
Line 187: Line 187:
 Best proctice for AIX LPAR: Best proctice for AIX LPAR:
   * Processing Units: **1.0**   * Processing Units: **1.0**
 +  * network options
 +<cli prompt='#'>​
 +# no -p -o tcp_sendspace=524288
 +# no -p -o tcp_recvspace=524288
 +</​cli>​
 +  ​
   * nfs options   * nfs options
 <cli prompt='#'>​ <cli prompt='#'>​
Line 218: Line 224:
 mtu_bypass ​   on              Enable/​Disable largesend for virtual Ethernet True mtu_bypass ​   on              Enable/​Disable largesend for virtual Ethernet True
 state         ​up ​             Current Interface Status ​                     True state         ​up ​             Current Interface Status ​                     True
-</​cli> ​     +</​cli>​ 
 + 
 +For info, largesend 'll send packet 64k, that 'll be split on VIOS side (hypervisor),​ when analyse packet, checksum for 64k return FFFF bad checksum, it normal. 
 + 
 +Example of mount options: 
 +  # mount -o bg,​hard,​intr,​rsize=131072,​wsize=131072,​timeo=1200,​vers=4,​sec=sys nfssrv:/​nfspath /mnt 
 + 
 +===== NFS ERROR ===== 
 + 
 +  * **Mount error** 
 +<​code>​ 
 +NFS lookup failed for server : rpc error 7 (RPC: 1832-010 Authentication error) errno 5 
 +</​code>​ 
 + 
 +Try: 
 +<cli prompt='#'>​ 
 +# nfso -p -o portcheck=1 
 +# nfso -p -o nfs_use_reserved_ports=1 
 +</​cli>​ 
 + 
 +  * **Set range ports for NFS** 
 + 
 +Normally, The usage of NFS ports will be dynamically in AIX.... If you would like to set the port ranges,  
 + 
 +The NFS_PORT_RANGE environment variable can be used to limit the source port of network calls the client makes to the server. If used, this environment variable should be added to the **/​etc/​environment** file. The format of the environment variable is as follows: 
 +  NFS_PORT_RANGE=udp[4000-5000]:​tcp[7000-8000] 
aix/aix_nfsv4.1696939216.txt.gz · Last modified: 2023/10/10 14:00 by manu