AIX下mount一个NFS文件系统

在服务器端
1,启动portmap和nfs守护进程
---startsrc -s portmap
---startsrc -g nfs
2,mount /cdrom
3,将/cdrom加入Export List中
---smitty mknfsexp
---Enter the PATHNAME of the directory to export (for example, /cdrom).
---Change the MODE of export directory to read-only.
---Enter the HOSTS & NETGROUPS allowed client access.
---Enter HOSTS allowed root access.
---回车执行
4,showmount -e观测
在客户端
1,启动portmap和nfs守护进程
---startsrc -s portmap
---startsrc -g nfs
2,mkdir /cdrom
3,Enter smitty mknfsmnt.
Enter the PATHNAME of the mount point (for example, /cdrom).
Enter the PATHNAME of the remote directory (for example, /cdrom).
Enter the HOST where the remote directory resides.
Change the MODE for this NFS file system to read-only.
回车执行

猜你喜欢

转载自cunningfox.iteye.com/blog/1484282