免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1343 | 回复: 0
打印 上一主题 下一主题

[高级应用] 在aix上 mount linux分区 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-08-16 17:30 |只看该作者 |倒序浏览
首先在linux上启动 nfs 服务
#/etc/rc.d/init.d/nfs start
[root@Dept4-Linux init.d]# ./nfs status
rpc.mountd (pid 31500 31450 31396 31097 31048 30999) を実行中...
nfsd (pid 30991 30990 30989 30988 30987 30986 30985 30984) を実行中...
rpc.rquotad (pid 31491 31441 31387 31088 31039 30980) を実行中...
在/etc/exports文件中添加目录路径
[root@Dept4-Linux init.d]# more /etc/exports
/share                   172.17.1.25(rw,insecure,sync,no_wdelay,no_root_squash)
在aix 上察看
# showmount -e 172.17.1.50
172.17.1.50 のエクスポート・リスト:
/share 172.17.1.50
修改aix /etc/filesystems
/share:
        dev             = /share
        vfs             = nfs
        nodename        = 172.17.1.50
        mount           = true
        options         = rw,hard,nointr,tcp,noac,vers=3,timeo=600,rsize=32768,wsize=32768
        account         = false
把 /share mount 上去
#mount /share
# df
Filesystem    512-blocks      Free %Used    Iused %Iused Mounted on
/dev/hd4         4194304   2954560   30%     3014     1% /
/dev/hd2       110886912  26356672   77%    44538     2% /usr
/dev/hd9var      2097152   2010664    5%      853     1% /var
/dev/hd3         4194304   2626568   38%     3177     2% /tmp
/dev/fwdump       262144    261448    1%        4     1% /var/adm/ras/platform
/dev/hd1        12582912   4340336   66%    20016     4% /home
/proc                  -         -    -         -     -  /proc
/dev/hd10opt     4194304   3455576   18%     7895     3% /opt
172.17.1.50:/share   40322408  18814704   54%   122570     5% /share



本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/14644/showart_156342.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP