Linux AIX间的NFS mount
1.AIX share folder, linux mount folder
AIX side:(as root)
a. check if there is /etc/exports.if no, create one.
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
Linux side:
/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
最后更新:2017-04-02 00:06:42