阅读783 返回首页    go 阿里云 go 技术社区[云栖]


Linux AIX间的NFS mount

When linux share folder with windows, we use smb(samba) on linux for win OS to use, use mount on linux to use win OS' folder.
When linux share folder with unix, we use nfs between linux and unix.

NFS, Net File System.NFS permit a OS to share folder and file on net.Using NFS,user and program can visit files on web side just like local ones.

Record here for check.

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

  上一篇:go DB2常用命令 转
  下一篇:go WML开发介绍