Is it possible to remove, hide or set restrictive permissions for the .copy_offload folder?
Applies to
- ONTAP 9
Answer
Is it possible to remove, hide or set restrictive permissions for the .copy_offload folder?
This folder is used by Microsoft Offloaded Data Transfer (ODX) in both SAN and SMB environments.
As long as ODX is in use, it is not possible for the folder to be hidden or removed, per the special system file requirements, as outlined in the Use cases for ODX.
When using the ODX feature, there are ODX system files, which exist in every volume of the system.
You must not remove or modify these files unless technical support tells you to do so.
These files enable point-in-time representation of data used during the ODX transfer. The following system files are in the root level of each volume that contains LUNs or files to which data is offloaded:
.copy-offload
(directory).tokens
(file under.copy_offload
directory)
If the decision is made to disable ODX, remove the folder effectively by running the following command in diag
mode:
::> set diag
Warning: These diagnostic commands are for use by NetApp personnel only.
Do you want to continue? {y|n}: y
::*> copy-offload delete-tokens -path dir_path -node node_name
Additional Information
- Offloaded Data Transfer Overview
- For more information on disabling the feature, refer to What is the impact of disabling or enabling Microsoft ODX "Copy offload"?