We are on ONTAP 9.7 on AFF300, currently we have a need to set a CIFS volume or shares as read only. is there a simple way to do so?
On EMC, we can simply set file system mount option as read only. after migrated to NetApp, we couldn't find same way.
We have growing shares, after certain size, we will run final backup, set it as read only, then create a new share on new volume.
Can you please share if you have experience on this?
See The Solution
Export policies and it rules are created at SVM level but can be applied at various levels; SVM, volume or qtree at mount points
Look for nfs export policies documentation.
I always do this type of experiments with the netapp simulator first.
View solution in original post
You can simple set the share permissions to "read" to everyone and file level permissions to"read only" to everyone or specifically to the group of users you want to have access on the share.
that can be an option.
AS SAN team, we are only managing the storage, we thought it is better to limit the volume as read only on storage instead of shares.
in case they can create new shares without noticing SAN team.
you can use export policies on cifs shares
thanks, good information.
is that possible to apply the export policy roles to volumes instead of SVM?
We have multiple volumes under same SVM but only some of them wanted to set read only.
You can also set the volume itself read only. Unless ONTAP has changed you should be able to still mount a CIFS share.
Live Chat, Watch Parties, and More!
Engage digitally throughout the sales process, from product discovery to conﬁguration, and handle all your post-purchase needs.