跳转到主内容

NFS客户端尝试使用root在非保留端口上挂载、但访问被拒绝

Views:
164
Visibility:
Public
Votes:
1
Category:
ontap-9
Specialty:
nas<a>挂载</a><a>1005304</a><a>-mount-rootonly</a><a>mount_rootonly</a><a>已拒绝</a>
Last Updated:

适用场景

  • ONTAP 9 
  • Data ONTAP 8 7-模式 
  • NFS
  • 网络地址转换(NAT)设备
  • VPN (可选)

问题描述

  • NFS客户端无法挂载此卷、并出现访问被拒绝错误

[root@linux1 ~]# mount -t nfs 10.11.12.13:/vol /mnt
mount.nfs: mount(2): Permission denied
mount.nfs: access denied by server while mounting 10.11.12.13:/vol

  • EMS日志中可能会显示以下错误:

7-模式
[mountd_main:warning]: Client [IP_address] trying to mount from a nonreserved port [port_number] as 0

ONTAP
Thu Apr 02 13:41:17 GMT [node01: kernel: Nblade.NfsMountRootOnly:notice]: mount operation by non-root user failed. Vserver ID is xx; ProgramNumber is 100005; client IP address:port is 10.10.10.1:58459; local IP address is 10.11.12.13; Procedure number is 1

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

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.