前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >NFS 配置2

NFS 配置2

作者头像
franket
发布2022-07-09 23:26:45
4680
发布2022-07-09 23:26:45
举报
文章被收录于专栏:技术杂记

成功启动后111端口是监听状态

代码语言:javascript
复制
[root@test ~]# netstat -an | grep 111
tcp        0      0 0.0.0.0:111                 0.0.0.0:*                   LISTEN      
tcp        0      0 :::111                      :::*                        LISTEN      
udp        0      0 0.0.0.0:111                 0.0.0.0:*                               
udp        0      0 :::111                      :::*                                    
[root@test ~]# 

Tip: NFS的启动信息默认会写到 /var/log/messages

NFS的服务会打开很多端口(并且其中一些端口是随机的)

代码语言:javascript
复制
[root@test data]# netstat -tulnp | grep -E '(rpc|nfs)'
tcp        0      0 0.0.0.0:34146               0.0.0.0:*                   LISTEN      37900/rpc.mountd    
tcp        0      0 0.0.0.0:44934               0.0.0.0:*                   LISTEN      37900/rpc.mountd    
tcp        0      0 0.0.0.0:56230               0.0.0.0:*                   LISTEN      2360/rpc.statd      
tcp        0      0 0.0.0.0:875                 0.0.0.0:*                   LISTEN      37895/rpc.rquotad   
tcp        0      0 0.0.0.0:111                 0.0.0.0:*                   LISTEN      2338/rpcbind        
tcp        0      0 0.0.0.0:48980               0.0.0.0:*                   LISTEN      37900/rpc.mountd    
tcp        0      0 :::51424                    :::*                        LISTEN      37900/rpc.mountd    
tcp        0      0 :::35175                    :::*                        LISTEN      37900/rpc.mountd    
tcp        0      0 :::111                      :::*                        LISTEN      2338/rpcbind        
tcp        0      0 :::45202                    :::*                        LISTEN      2360/rpc.statd      
tcp        0      0 :::41402                    :::*                        LISTEN      37900/rpc.mountd    
udp        0      0 0.0.0.0:34189               0.0.0.0:*                               37900/rpc.mountd    
udp        0      0 0.0.0.0:60207               0.0.0.0:*                               37900/rpc.mountd    
udp        0      0 0.0.0.0:817                 0.0.0.0:*                               2338/rpcbind        
udp        0      0 0.0.0.0:48316               0.0.0.0:*                               2360/rpc.statd      
udp        0      0 0.0.0.0:54461               0.0.0.0:*                               37900/rpc.mountd    
udp        0      0 127.0.0.1:840               0.0.0.0:*                               2360/rpc.statd      
udp        0      0 0.0.0.0:875                 0.0.0.0:*                               37895/rpc.rquotad   
udp        0      0 0.0.0.0:111                 0.0.0.0:*                               2338/rpcbind        
udp        0      0 :::54948                    :::*                                    37900/rpc.mountd    
udp        0      0 :::817                      :::*                                    2338/rpcbind        
udp        0      0 :::43853                    :::*                                    37900/rpc.mountd    
udp        0      0 :::52049                    :::*                                    37900/rpc.mountd    
udp        0      0 :::111                      :::*                                    2338/rpcbind        
udp        0      0 :::36981                    :::*                                    2360/rpc.statd      
[root@test data]# 

本文系转载,前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文系转载前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档