solaris 11NFS共享配置



share -F nfs -o rw=188.188.3.230:188.188.2.61:188.188.3.240 /opt/test/

share -F (共享协议‘NFS’) -o rw(读写) =IP:IP(允许的客户端) 共享路径

root@Sol_ORA:/opt/test# netstat -an|grep 2049
      *.2049                              Idle
      *.2049                              Idle
      *.2049                                                        Idle       
      *.2049               *.*                0      0 1049200      0 LISTEN
      *.2049               *.*                0      0 1048952      0 LISTEN
188.188.1.176.2049   188.188.3.240.899    64000      0 1049800      0 ESTABLISHED
      *.2049                            *.*                             0      0 1049200      0 LISTEN


用linux挂载

[root@Cwg 桌面]# mount -t nfs 188.188.1.176:/opt/test test
[root@Cwg 桌面]#
[root@Cwg 桌面]#
[root@Cwg 桌面]# mount|grep nfs
188.188.1.176:/opt/test on /root/桌面/test type nfs (rw,vers=4,addr=188.188.1.176,clientaddr=188.188.3.240)

[root@Cwg test]# ll
总用量 2
-rw-r--r--. 1 root root 4 9月  30 2013 aaa
-rw-r--r--. 1 root root 4 9月  30 2013 bbb


#############################

迷途小运维原创

作者:john

转载请注明出处

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值