Network Storage Protocols Discussions

Missing FPolicy requests when basic attributes of a file are modified

MohitD

Hi,

 

I have configured NetApp FPolicy on a SMB share. The FPolicy server I have developed get requests from NetApp. I am enabled all SMB filters (open, close, setattr, delete, delete_dir, rename, rename_dir).

 

I am using Data ONTAP 8.3.2. I modified the basic attributes of a file (changed the file to read-only). But I do not get any notification requests from NetApp.

 

Is there someway I can get notified when basic attributes of a file are modified?

 

Thanks for your help!

1 ACCEPTED SOLUTION

Jeff_Yao

hi

 

https://library.netapp.com/ecmdocs/ECMP1610207/html/GUID-7DC5D9E8-0377-4E51-B0AC-413832ECD1ED.html

 

 

List of supported file operation and filter combinations that FPolicy can monitor for SMB

When you configure your FPolicy event, you need to be aware that only certain combinations of file operations and filters are supported for monitoring SMB file access operations.

The list of supported file operation and filter combinations for FPolicy monitoring of SMB file access events is provided in the following table:

Supported file operations Supported filters
closemonitor-ads, offline-bit, close-with-modification, close-without-modification
createmonitor-ads, offline-bit
create_dirCurrently no filter is supported for this file operation.
deletemonitor-ads, offline-bit
delete_dirCurrently no filter is supported for this file operation.
getattroffline-bit
openmonitor-ads, offline-bit, open-with-delete-intent, open-with-write-intent
readmonitor-ads, offline-bit, first-read
writemonitor-ads, offline-bit, first-write, write-with-size-change
renamemonitor-ads, offline-bit
rename_dirCurrently no filter is supported for this file operation.
setattrmonitor-ads, offline-bit

View solution in original post

4 REPLIES 4

Jeff_Yao

hi

 

https://library.netapp.com/ecmdocs/ECMP1610207/html/GUID-7DC5D9E8-0377-4E51-B0AC-413832ECD1ED.html

 

 

List of supported file operation and filter combinations that FPolicy can monitor for SMB

When you configure your FPolicy event, you need to be aware that only certain combinations of file operations and filters are supported for monitoring SMB file access operations.

The list of supported file operation and filter combinations for FPolicy monitoring of SMB file access events is provided in the following table:

Supported file operations Supported filters
closemonitor-ads, offline-bit, close-with-modification, close-without-modification
createmonitor-ads, offline-bit
create_dirCurrently no filter is supported for this file operation.
deletemonitor-ads, offline-bit
delete_dirCurrently no filter is supported for this file operation.
getattroffline-bit
openmonitor-ads, offline-bit, open-with-delete-intent, open-with-write-intent
readmonitor-ads, offline-bit, first-read
writemonitor-ads, offline-bit, first-write, write-with-size-change
renamemonitor-ads, offline-bit
rename_dirCurrently no filter is supported for this file operation.
setattrmonitor-ads, offline-bit

View solution in original post

MohitD

Thanks for sharing the details yaoguang.

MohitD

Hi Jeff,

 

The List of supported file operation and filter combinations that you shared, what release of Ontap is that for? 

Jeff_Yao

Hi, MohitD

 

that's from 8.3 below guide

Clustered Data ONTAP® 8.3 File Access Management Guide for CIFS

https://library.netapp.com/ecmdocs/ECMP1610207/html/index.html

 

thanks

 

Jeff

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public