This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
aix:aix_nfsv4 [2023/10/10 14:10] manu |
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 221: | Line 227: | ||
| 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. | 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 ===== | ===== NFS ERROR ===== | ||
| Line 231: | Line 240: | ||
| Try: | Try: | ||
| <cli prompt='#'> | <cli prompt='#'> | ||
| - | # nfso -p -o portcheck=0 | + | # nfso -p -o portcheck=1 |
| - | # nfso -p -o nfs_use_reserved_ports=0 | + | # nfso -p -o nfs_use_reserved_ports=1 |
| </cli> | </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] | ||