Skip to main content
NetApp Knowledge Base

What would be the impact of enabling NFS mount-rootonly?

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

Applies to

  • ONTAP 9
  • NFS

Answer

Enabling NFS mount-rootonly means that the NFS server will allow clients to mount only the top-level (root) export. In other words, only exports defined as the “root” of the file system are accepted for NFS mounts. This prevents clients from directly mounting subdirectories of an exported file system.

Enabling the "mount-rootonly" option on an NFS server restricts incoming mount requests to only those originating from a privileged port (typically below 1024), effectively preventing non-root processes or malicious applications from attempting to mount the NFS share, thus enhancing security by limiting the potential source of mount requests.

There is no impact unless clients are configured to source ports from 1025 or greater for mount calls; in this case, the clientes will not be able to be mounted.

 

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.