跳转到主内容

存储系统使用哪些网络文件系统(NFS) TCP和NFS UDP端口?

Views:
290
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas
Last Updated:

执行  

适用场景

  • ONTAP 9
  • Data ONTAP 7-模式
  • NFS v3

问题解答

  • 存储控制器使用的默认端口如下:

ONTAP 9:
111   TCP/UDP portmapper
2049  TCP/UDP nfsd
635   TCP/UDP mountd
4045  TCP/UDP nlockmgr
4046  TCP/UDP status
4049  TCP/UDP rquotad


Data ONTAP 7-模式:
111   TCP/UDP portmapper
2049  TCP/UDP nfsd
4046  TCP/UDP mountd
4045  TCP/UDP nlockmgr
4047  TCP/UDP status
4049  TCP/UDP rquotad

 
  • 可以修改这些默认端口、因此要检查存储控制器上当前配置的端口、请使用以下命令:


Data ONTAP 7-模式:

7dot> options rpc
rpc.mountd.tcp.port          4046
rpc.mountd.udp.port          4046
rpc.nlm.tcp.port             4045
rpc.nlm.udp.port             4045
rpc.nsm.tcp.port             4047
rpc.nsm.udp.port             4047
rpc.pcnfsd.tcp.port          4048
rpc.pcnfsd.udp.port          4048
rpc.rquotad.udp.port         4049

ONTAP 9:
cDot::*> nfs show -vserver NFSsvm -fields rquotad-port ,nlm-port ,nsm-port ,mountd-port
vserver mountd-port nlm-port nsm-port rquotad-port
------- ----------- -------- -------- ------------

NFSsvm   635         4045     4046     4049

cDot::*>

  • 或者、使用以下命令显示节点上正在侦听的端口

cdot::>network connection listening show -node <node name>
Vserver Name     Interface Name:Local Port              Protocol/Service
---------------- -------------------------------------  -----------------------
Node: node 1
Cluster          node1_clus1:7700                     TCP/ctlopcp
vs01            VS01_lif01:40001                      TCP/cifs-msrpc
VS01            VS01_lif01:135                        TCP/cifs-msrpc
VS01            VS01_lif01:4049                       UDP/unknown

 

  • 也可以使用以下命令从大多数UNIX客户端查看这些端口列表: rpcinfo -p <storage-controller-IP>
     
ONTAP 9:
   program vers proto   port  service
    100000    2   udp    111  portmapper
    100000    2   tcp    111  portmapper
    100000    3   udp    111  portmapper
    100000    3   tcp    111  portmapper
    100000    4   udp    111  portmapper
    100000    4   tcp    111  portmapper
    100003    3   udp   2049  nfs
    100003    3   tcp   2049  nfs
    100003    4   tcp   2049  nfs
    100005    1   udp    635  mountd
    100005    2   udp    635  mountd
    100005    3   udp    635  mountd
    100005    1   tcp    635  mountd
    100005    2   tcp    635  mountd
    100005    3   tcp    635  mountd
    100021    4   udp   4045  nlockmgr
    100021    4   tcp   4045  nlockmgr
    100024    1   udp   4046  status
    100024    1   tcp   4046  status


Data ONTAP 7-模式:
   program vers proto   port  service
    100011    1   udp   4049  rquotad
    100024    1   tcp   4047  status
    100024    1   udp   4047  status
    100021    4   tcp   4045  nlockmgr
    100021    3   tcp   4045  nlockmgr
    100021    1   tcp   4045  nlockmgr
    100021    4   udp   4045  nlockmgr
    100021    3   udp   4045  nlockmgr
    100021    1   udp   4045  nlockmgr
    100005    3   tcp   4046  mountd
    100003    3   tcp   2049  nfs
    100005    2   tcp   4046  mountd
    100005    1   tcp   4046  mountd
    100003    2   tcp   2049  nfs
    100005    3   udp   4046  mountd
    100003    3   udp   2049  nfs
    100005    2   udp   4046  mountd
    100005    1   udp   4046  mountd
    100003    2   udp   2049  nfs
    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper

追加信息

其他信息文本

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.