NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

Network and Storage Protocols

How to export a NFS share with these options - *(rw,sync,anonuid=1111,anongid=1111,all_squash)

saravanan_hp
6,040 Views

I need to export a NFS share with these options - *(rw,sync,anonuid=1111,anongid=1111,all_squash) in a VNX. Please guide me. I am using ONTAP 8.3.2 Cluster

1 REPLY 1

GidonMarcus
5,939 Views

Hi

 

i strongly suggest you review this configuration against best practices and relevant product user guide. as this current config will allow anyone in any subnet read-write to the mount without any authentication. 

https://www.netapp.com/us/media/tr-4067.pdf - Netapp best practices for NFS on Cdot

 

 

but. as you requested. this is that: (assuming you created and mounted the volume. and that the SVM configured with NFS enabled)

 

export-policy create -vserver <SVM name> -policyname policy1

export-policy rule create -rwrule none -rorule none -superuser none -policyname Policy1 -vserver <SVM name> -clientmatch * -anon 1111

volume modify -vserver <SVM name> -volume <Vol name> -policy policy1

 

Gidi

Gidi Marcus (Linkedin) - Storage and Microsoft technologies consultant - Hydro IT LTD - UK
Public