Table of ContentsView in Frames

Verifying that required CIFS server options are configured

You must verify that the required CIFS server options are enabled and configured according to requirements for nondisruptive operations for Hyper-V and SQL Server over SMB.

About this task

Steps

  1. Perform the following to verify that the required CIFS server options are enabled on the Storage Virtual Machine (SVM):
    1. Set the privilege level to advanced: set -privilege advanced
    2. Enter the following command: vserver cifs options show -vserver vserver_name
      The following options should be set to true:
      • -smb2-enabled
      • -smb3-enabled
      • -copy-offload-enabled
      • -shadowcopy-enabled (Hyper-V only)
  2. If any of the options are not set to true, perform the following:
    1. Set them to true by using the vserver cifs options modify command.
    2. Verify that the options are set to true by using the vserver cifs options show command.
  3. Return to the admin privilege level: set -privilege admin

Example

The following commands verify that the required options for the Hyper-V over SMB configuration are enabled on SVM vs1. In the example, ODX copy offload must be enabled to meet the option requirements:

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 show

                                           Vserver: vs1
                                 Default UNIX User: pcuser
                    Read Grants Exec for Mode Bits: disabled
    Windows Internet Name Service (WINS) Addresses: -
                 Enable/Disable all SMB2 Protocols: true
                  Enable/Disable the SMB3 Protocol: true
Maximum Simultaneous Operations per TCP Connection: 255
       Maximum Depth of Directories to Shadow Copy: 5
           Enable/Disable the Copy Offload Feature: false
                                Default UNIX Group: -
      Enable/Disable the Shadow Copy Feature (VSS): true
                Refer Clients to More Optimal LIFs: false
          Enable/Disable Local User Authentication: true
             Enable/Disable Local Users and Groups: true
              Enable/Disable Reparse Point Support: true
           Enable/Disable Export Policies for CIFS: false
Enable/Disable Enumeration of Trusted Domain and Search Capability: true
Size of File System Sector Reported to SMB Clients (bytes): 4096

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

cluster-1::*> vserver cifs options show -vserver vs1 -fields copy-offload-enabled
vserver  copy-offload-enabled
-------- --------------------
vs1      true

cluster1::*> set -privilege admin