---
title: "AIX下mount一个NFS文件系统"
author: "CunningFox"
date: "2012-04-12T12:51:32Z"
tags: []
categories: ["操作系统"]
slug: "aix-mount-nfs"
draft: false
lastmod: "2012-04-12T12:51:32Z"
id: 1484282
url: "https://cunningfox.iteye.com/blog/1484282"
---

在服务器端
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.
回车执行