Skip to main content
NetApp Knowledge Base

After setting files with the extension vmx as FPolicy exclusions the vmx files cannot be deleted

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

Applies to

  • ONTAP 9
  • Fpolicy

Issue

  • After configuring Fpolicy using the following command, the file beside  .vmx can't be written which is expected behavior.
  • But after writing to .vmx file, the file can't be deleted. 

vserver fpolicy policy event modify -vserver SVM01 -event-name event -volume-operation false -protocol nfsv3 -file-operations create,rename,delete
vserver fpolicy policy create -vserver SVM01 -policy-name policy01 -events event -engine native -is-mandatory true
vserver fpolicy policy scope modify -vserver SVM01 -policy-name policy01 -volumes-to-include vol00,vol01,vol02 -file-extensions-to-include * -file-extensions-to-exclude vmx
vserver fpolicy enable -vserver SVM01 -fpolicy-name policy01 -sequence-number 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.