After setting files with the extension vmx as FPolicy exclusions the vmx files cannot be deleted
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
