文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>network protocoal configuration for nfs server

network protocoal configuration for nfs server

时间:2009-04-21  来源:nighteblis

nfs server 配置允许的网络协议。 nfs4 必须需要tcp 协议   default to nfs2, nfs3, nfs4, both network protocol udp/tcp are supported by them.
see more details by "man rpc.nfsd"   simplely, first , find below line in this file "/etc/init.d/nfs":   daemon rpc.nfsd $RPCNFSDARGS $RPCNFSDCOUNT   Then , to support tcp only, change it as below and restart nfs service.   daemon rpc.nfsd -U $RPCNFSDARGS $RPCNFSDCOUNT  (#comment: -u means no udp protocol)   to support udp only  , change it as below and restart nfs service.   daemon rpc.nfsd -T $RPCNFSDARGS $RPCNFSDCOUNT  (#comment: -u means no tcp protocol)     Then to look up the what protocol are supported.   # rpcinfo | grep nfs     program vers proto   port

    100003    2   udp   2049  nfs
    100003    3   udp   2049  nfs
    100003    4   udp   2049  nfs
    100003    2   tcp   2049  nfs
    100003    3   tcp   2049  nfs
    100003    4   tcp   2049  nfs
We can see that from output , we got nfs2,nfs3,nfs4 in this nfs server. and support the tcp udp protocol.     Note:   nfs require the tcp protocol. so we can't use the only -T parameter in starting nfs4.  
相关阅读 更多 +
排行榜 更多 +
兔子跳一跳游戏

兔子跳一跳游戏

休闲益智 下载
球球跳跃游戏

球球跳跃游戏

休闲益智 下载
森林之灵游戏

森林之灵游戏

休闲益智 下载