1.AIX share folder, linux mount folder
AIX side:(as root)
a. check if there is /etc/exports.if no, create one.
b. start nfs service, cmd: smit -> 。。。-> nfs -> Configure NFS on This System -> Start NFS
c. set export, cmd: smit -> 。。。-> nfs ->Add a Directory to Exports List -> PATHNAME of directory to export; it will modify /etc/exports, you can also use exportfs to export or modify /etc/exports directly;
d. showmount -e IP / hostname to ensure if exports works well on localhost.
f. add aim IP and host name in /etc/hhosts
Linux part:
a. service portmap start, service nfs start
b. mount IP:/folder folder
2.AIX mount folder,linux share folder
Linux side:
a. vi /etc/exports, add folder to share and aim IP, such as:
/media 1.2.3.4[rw,sync,insecure,no_root_squash] 5.6.7.8[rw,sync,insecure,no_root_squash]
then 1.2.3.4 and 5.6.7.8 can use this folder
b. service portmap start, service nfs start
c. showmount -e IP/hostname
AIX side:(as root)
a. nfso -p -o nfs_use_reserved_ports=1
b. mount IP:/folder folder