读书人

AIX停mount一个NFS文件系统

发布时间: 2012-06-27 14:20:09 作者: rapoo

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.
回车执行

读书人网 >网络基础

热点推荐