Chinaunix首页 | 论坛 | 博客
  • 博客访问: 815819
  • 博文数量: 101
  • 博客积分: 1311
  • 博客等级: 中尉
  • 技术积分: 1191
  • 用 户 组: 普通用户
  • 注册时间: 2009-07-25 12:15
文章分类

全部博文(101)

文章存档

2012年(101)

分类: LINUX

2012-06-12 22:17:38

  1. 服务器IP : 10.1.112.218 需要开启的服务:nfs (command: service nfs start)
  2. 客户端IP : 10.1.112.219 需要开启的服务:portmap (command: service portmap start)
  3. 服务端启动nfs之前需要完成以下配置。

服务端配置:

在/etc/exports文件输入以下内容

/backup 10.1.112.219(rw)

保存退出.

启动nfs 服务.

[root@health /]# service nfs restart

Shutting down NFS mountd: [ OK ]

Shutting down NFS daemon: [ OK ]

Shutting down NFS quotas: [ OK ]

Shutting down NFS services: [ OK ]

Starting NFS services: [ OK ]

Starting NFS quotas: [ OK ]

Starting NFS daemon: [ OK ]

Starting NFS mountd: [ OK ]

客户端配置:

启动portmap服务:

[root@bjhealth vmimages]# service portmap start

Starting portmap: [ OK ]

[root@bjhealth vmimages]# mount 10.1.112.218:/backup temp

[root@bjhealth vmimages]# cd temp

[root@bjhealth temp]# ls

export health.dmp health.log log lost+found package struct sync

注意:在客户端mount之前,portmap服务必须打开。

阅读(2044) | 评论(0) | 转发(1) |
给主人留下些什么吧!~~