博客首页 注册 建议与交流 排行榜 加入友情链接
推荐 投诉 搜索: 帮助

ly44770

arm+linux学习中
   ly44770.cublog.cn
关于作者  
姓名:ly44770
职业:嵌入式
年龄:*
位置:北京
个性介绍:arm+linux学习中

我的分类  




irix系统nfs配置
Setting Up the NFS Server
 
1./etc/chkconfig nfs on
 
2.Edit the /etc/exports file.
 
  Edit the /etc/exports file to include the file systems you want to export and their export options.This example shows one possible entry for the /etc/exports file:
  /usr/demos -ro,access=client1:client2:client3
 
Then change /usr/demos mode by type the command:
chmod 777 /usr/demos
  I think this is must,or you could not mount them.
 
  In this example, the file system /usr/demos are exported with read-only access to three clients: client1, client2, and client3. Domain information can be included in the client names, for example client1.eng.sgi.com.
3.Run the exportfs command.
 
   Once the /etc/exports file is complete, you must run the exportfs command to make the file systems accessible to clients. You should run exportfs anytime you change the /etc/exports file. Type this command:
     /usr/etc/exportfs -av
 
  In this example, the ­a option exports all file systems listed in the /etc/exports file, and the ­v option causes exportfs to report its progress. Error messages reported by exportfs usually indicate a problem with the /etc/exports file.

4.Use exportfs to verify your exports.

Type the exportfs command with no parameters to display a list of the exported file system(s) and their export options, as shown in this example:

/usr/etc/exportfs 
/usr/demos -ro,access=client1:client2:client3
OK,that's all.Enjoy it.:-)

 发表于: 2008-05-09,修改于: 2008-05-09 19:52 已浏览284次,有评论0条 推荐 投诉

  网友评论

  发表评论



Copyright © 2001-2006 ChinaUnix.net All Rights Reserved

感谢所有关心和支持过ChinaUnix的朋友们
页面生成时间:0.09419

京ICP证041476号