Skip to main content

NetApp_Insight_2020.png 

NetApp Knowledgebase

7MTT Precheck 10112 - How qtree client access through a parent volume differs in Data ONTAP 7-Mode and clustered Data ONTAP

Views:
48
Visibility:
Public
Votes:
0
Category:
7-mode-transition-tool
Specialty:
nfs
Last Updated:

Applies to

  • 7-Mode Transition Tool
  • Data ONTAP 7-Mode
  • Clustered Data ONTAP

Description

This article describes the procedure for qtree client access through a parent volume differs in Data ONTAP 7-Mode and clustered Data ONTAP.

In the Data ONTAP 7-Mode storage system, when an NFS client accesses a qtree through the mount point of its parent volume, the qtree export rules are ignored and the export rules of its parent volume are in effect. However, in clustered Data ONTAP, qtree export rules are always enforced whether NFS client mounts to the qtree directly or it accesses the qtree through the mount point of its parent volume.

Data ONTAP 7-Mode behavior:

  • Data ONTAP 7-Mode supports export paths such as /vol/vol_name/qtree_name/directory_below_qtree_level
  • Data ONTAP 7-Mode supports export paths such as /vol/vol_name/directory_at_qtree_level
  • Data ONTAP 7-Mode enforces export rules at the qtree level separately from export rules at the volume level.
  • If a host mounts the volume path, then the export rules on the volume are enforced on the client.
  • If a host mounts the qtree path, then the export rules on the qtree are enforced on the client.

Clustered Data ONTAP behavior (8.2.1+)
In clustered Data ONTAP, NFS clients that have access to a qtree through the parent volume mount point will also enforce the qtree level export rule, unlike in Data ONTAP 7-Mode.

Example:
In the Data ONTAP 7-Mode storage system, when an NFS client accesses a qtree through the mount point of its parent volume, the qtree export rules are ignored and the export rules of its parent volume are in effect. However, in clustered Data ONTAP, qtree export rules are always enforced whether the NFS client mounts to the qtree directly or it accesses the qtree through the mount point of its parent volume.

The following is an example of an export rule on the Data ONTAP 7-Mode storage system (192.168.26.18):

/vol/volstd10/qtree1 -sec=sys,ro=192.168.10.10,nosuid
/vol/volstd10 -sec=sys,rw=192.168.10.10,nosuid

On the Data ONTAP 7-Mode storage system, the NFS client 192.168.10.10 only has read-only access to the qtree. However, when the client accesses the qtree through the mount point of its parent volume, the client can write to the qtree because the client has read/write access to the volume.

[root@192.168.10.10]# mount 192.168.26.18:/vol/volstd10
transition_volume
[root@192.168.10.10]# cd transition_volume/qtree1
[root@192.168.10.10]# ls transition_volume/qtree1
[root@192.168.10.10]# mkdir new_folder
[root@192.168.10.10]# ls
new_folder
[root@192.168.10.10]#

In clustered Data ONTAP, the NFS client 192.168.10.10 only has read-only access to the qtree qtree1 when the client accesses the qtree directly or through the mount point of the qtree's parent volume.

 

CUSTOMER EXCLUSIVE CONTENT

Registered NetApp customers get unlimited access to our dynamic Knowledge Base.

New authoritative content is published and updated each day by our team of experts.

Current Customer or Partner?

Sign In for unlimited access

New to NetApp?

Learn more about our award-winning Support