ONTAP Discussions
ONTAP Discussions
New to Ontap. I have Trident and NetApp configured. I have an SVM with an export policy that looks like
svm_nfs_prod prod_root 1 any 10.X.A.0/24 any
svm_nfs_prod prod_root 2 any 10.X.B.0/24 any
svm_nfs_prod prod_root 3 any 10.X.C.0/24 any
svm_nfs_prod prod_root 4 any 10.X.D.0/24 any
svm_nfs_prod prod_root 5 any 10.X.E.0/24 any
svm_nfs_prod prod_root 6 any 10.X.F.0/24 any
I want to set no_root_squash but cannot find a KB article that works. The following link says "How to confiugure" but it does not say how to configure. Instead it includes details of how to show existing export policy rules.
Can anyone point me to a one line command that will set no_squash_root for my svm_nfs_prod and for the six networks in the existing policy?
Thanks
Hello,
The kb listed above provide you different example based on what you have your ro and rw set to. You can check the below documentation for more details regarding each parameter under the export-policy rule create:
Thanks
Yes. Thanks. I have had a read of that article.
Thanks. Still not obvious what command is needed to prevent files being created with owner nobody.
Are you using nfs 3 or 4?
nfs 4