Skip to main content

Enable or disable ODX

Contributors netapp-thomi netapp-aherbin

You can enable or disable ODX on storage virtual machines (SVMs). The default is to enable support for ODX copy offload if SMB 3.0 is also enabled.

Before you begin

SMB 3.0 must be enabled.

About this task

If you disable SMB 3.0, ONTAP also disables SMB ODX. If you reenable SMB 3.0, you must manually reenable SMB ODX.

Steps
  1. Set the privilege level to advanced: set -privilege advanced

  2. Perform one of the following actions:

    If you want ODX copy offload to be…​ Enter the command…​

    Enabled

    vserver cifs options modify -vserver vserver_name -copy-offload-enabled true

    Disabled

    vserver cifs options modify -vserver vserver_name -copy-offload-enabled false

  3. Return to the admin privilege level: set -privilege admin

Example

The following example enables ODX copy offload on SVM vs1:

cluster1::> set -privilege advanced
Warning: These advanced commands are potentially dangerous; use them
only when directed to do so by technical support personnel.
Do you wish to continue? (y or n): y

cluster1::*> vserver cifs options modify -vserver vs1 -copy-offload-enabled true

cluster1::*> set -privilege admin
Related information

Available SMB server options